Commit Graph

34 Commits

Author SHA1 Message Date
Philipp Wolfer 136f24a917 Move Subsonic getArtistInfo2 serialization to serializer
Also fixed JSON serialization by not using lists for the single value fields.

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2695>
2024-02-02 08:47:38 +00:00
Philipp Wolfer bf8f1e41b9 OpenSubsonic: MBID for artist results, added mediaType field
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2695>
2024-02-02 08:47:38 +00:00
Philipp Wolfer e169e8edb1 Subsonic: Fixed casing of "bitRate" attribute
This follows the Subsonic / OpenSubsonic API spec

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2695>
2024-02-02 08:47:38 +00:00
Philipp Wolfer 81401075aa Add OpenSubsonic support
Fixes #2270

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2695>
2024-02-02 08:47:38 +00:00
jo 8d9946d35a refactor: upgrade code to >=python3.7 (pre-commit)
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2189>
2022-11-23 22:08:55 +00:00
Marcos Peña 274bdd1d3e refactor: Adds duration annotation to album's queryset
MR !1408
2021-11-26 07:35:12 +00:00
Marcos Peña d5d7de8590 Resolve "Subsonic API: expose more metadata in getAlbumList endpoint" (#623)
MR !1403
closes #623
2021-11-12 16:15:38 +00:00
Marcos 44ac313617 Adds support for artist's cover art in subsonic API (#1528) 2021-10-18 10:23:03 +02:00
Fanyx 7bcb8d8c89 change struct to reflect subsonic api specs, fixes #1374 2021-03-28 19:21:01 +02:00
Agate 7b81d94e91
Fix #1082: issue when displaying starred tracks on subsonic 2020-05-04 13:15:40 +02:00
Agate 81a6a197bd
Fix #1082: subsonic crash on stared track with no album 2020-04-24 09:32:02 +02:00
Agate 08ffc7adc5
Fixed subsonic issue 2020-04-21 13:59:33 +02:00
Eliot Berriot 23d3893f01 See #170: subsonic API for podcasts 2020-03-18 15:52:23 +01:00
Eliot Berriot c84396e669 Attachments 2019-11-25 09:49:06 +01:00
Eliot Berriot 0ecdd7c0fb
Fixed broken getUser subsonic endpoint 2019-10-25 12:07:25 +02:00
Eliot Berriot d1b1f11627
Added missing path attribute to subsonic payloads 2019-10-25 12:07:24 +02:00
Eliot Berriot b9eedbf89f
Ensure subsonic dates are formatted properly 2019-10-25 12:07:24 +02:00
Eliot Berriot 28a091335c
Fix #624: enforce consistentcy in getUser and getMusicFolders endpoint in Subsonic 2019-10-03 11:38:56 +02:00
Eliot Berriot 8b13c07625
Fixed #893: empty contentType causing client crash in some Subsonic payloads 2019-08-27 14:15:26 +02:00
Eliot Berriot 692e175a6c
See #432: genre listing/filtering in Subsonic 2019-07-19 08:21:36 +02:00
Eliot Berriot 5715773fa7
Fix #765: Include disc number in Subsonic responses 2019-03-20 17:13:40 +01:00
Eliot Berriot 439d4fd6b3
See #574: Implemented getUser view 2018-10-21 20:30:12 +02:00
Eliot Berriot e49a460203 Audio federation 2018-09-22 12:29:30 +00:00
Toke Høiland-Jørgensen 7d9220ed49 subsonic: Implement getSong API endpoint
The getSong API endpoint is used by, e.g., the subsonic plugin to mopidy.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2018-08-30 14:21:11 +02:00
Toke Høiland-Jørgensen 8193782f68 subsonic: Don't crash when serialising artist with no name
If the name of an artist is not set, the serialiser will crash. Instead,
just skip such an artist when serialising a list of artists.

Also add test for serialising an artist with an empty name.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2018-08-30 14:18:17 +02:00
Eliot Berriot 9bea804f14
See #297: sorted imports 2018-06-10 10:55:16 +02:00
Eliot Berriot 62ca3bd736
Blacked the code 2018-06-09 15:36:16 +02:00
Eliot Berriot 0f792bf75c
Fix #260: Implemented scrobble endpoint of subsonic API 2018-06-01 23:59:08 +02:00
Eliot Berriot 8d50743b3b
Fix #258: Implemented getCovertArt in Subsonic API to serve album covers 2018-06-01 08:42:05 +02:00
Eliot Berriot 3290a15c88
See #195: expose bitrate, size and duration in subsonic API 2018-05-15 22:46:01 +02:00
Eliot Berriot 67dc414c8a
See #75: music direcory and indexes endpoints 2018-05-09 20:32:17 +02:00
Eliot Berriot 1674ad919f
See #75: implemented subsonic playlist API endpoints 2018-05-08 23:06:47 +02:00
Eliot Berriot e31099ef33
See #75 more subsonic api endpoints (star, unstar, search...) 2018-05-08 21:22:52 +02:00
Eliot Berriot bbd273404a
See #75: initial subsonic implementation that works with http://p.subfireplayer.net 2018-05-08 16:32:07 +02:00