Commit Graph

94 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 a5ee48818e Extend Subsonic XML renderer to allow explicit XML child tags
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2695>
2024-02-02 08:47:38 +00:00
Philipp Wolfer d227490f5b OpenSubsonic: report HTTP form POST extension as supported
Funkwhale already supports passing parameters as application/x-www-form-urlencoded

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 0fab0470c2 Subsonic: Actually implement getArtistInfo2 endpoint
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 22c255700e
style: format code using black v23 2023-03-28 19:49:24 +02: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
jo cff619679b
chore: format files using isort (pre-commit) 2022-11-23 21:55:37 +01:00
Georg Krause b377f8f883 chore: Remove unused imports 2022-11-08 07:34:49 +00:00
Georg Krause 127a10f3d9 refactor(auth): Move check for verificated mail address to user class 2022-11-08 07:34:49 +00:00
Marcos Peña 209e118882 Fix(subsonic): missing default order for search3 2022-07-19 15:16:00 +00:00
Marcos Peña c3207c82d5 Resolve "Adding track to playlist over Subsonic API will duplicate playlist" 2022-06-17 06:39:09 +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
Marcos Peña 34b5eb7830 Resolve "Subsonic API scrobble call not triggering scrobble plugin" 2021-09-25 11:19:57 +00:00
Alexandra Parker 79587b801e fix(subsonic): AttributeError when getting user profile 2021-09-05 13:56:34 +00:00
jovuit f661e3a078 Reviewed comments on source strings on Weblate and modified source strings accordingly if needed
Replaced "email" with "e-mail address" when needed
2021-06-17 15:55:12 +00:00
Fanyx 7bcb8d8c89 change struct to reflect subsonic api specs, fixes #1374 2021-03-28 19:21:01 +02:00
Agate e391415098 Upgraded dependencies 2020-07-18 10:29:22 +02:00
Agate 1921127689
Fix #1158: crash when loading recent albums via Subsonic 2020-06-11 18:06:00 +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 93f2c9f83c
Fix #1039: setting to enforce email signup verification 2020-04-01 14:34:56 +02:00
Eliot Berriot 23d3893f01 See #170: subsonic API for podcasts 2020-03-18 15:52:23 +01:00
Eliot Berriot 882e245a09
Fix #1036: Favor local uploads when playing a track with multiple uploads 2020-03-11 14:05:37 +01:00
Eliot Berriot f8675c6080
Fixed failing tests 2020-02-18 15:34:10 +01:00
Eliot Berriot 95497e76ac See #170: channels ui (listeners) 2020-02-05 15:06:07 +01:00
Eliot Berriot 93c371fe75
Fixed failing test due to ordered dicts in python 3.8 2020-02-04 11:49:58 +01:00
Eliot Berriot 9c22a72ed1
See #170: RSS feeds for channels 2020-01-31 09:11:39 +01:00
Eliot Berriot b22b9c83b0
See #170: now record downloads count on tracks/uploads 2020-01-20 13:59:12 +01:00
Eliot Berriot 9d73a77f7e
Use a dedicated scope for throttling subsonic to avoid intrusive rate-limiting 2020-01-06 09:55:58 +01:00
Eliot Berriot c84396e669 Attachments 2019-11-25 09:49:06 +01:00
Eliot Berriot 5b960ceab5
Merge branch 'master' into develop 2019-10-28 09:05:09 +01:00
Eliot Berriot 69795b5ca2 Resolve "Pagination of results in genres in Subsonic API does not work" 2019-10-28 08:58:32 +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 b1e8d4cabd
Fix #936: Support byYear filtering in Subsonic API (#936) 2019-10-15 11:38:21 +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 921317a217 Implemented missing getSongsByGenre subsonic endpoint 2019-09-19 21:09:18 +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 904a482698
Ensure we render tag text properly in Subsonic XML 2019-07-19 07:53:37 +02:00
Eliot Berriot 38ab05195b
Fix #867: Fixed remaining transcoding issue with Subsonic API 2019-07-03 11:38:06 +02:00
Eliot Berriot bfff79301d Fix #867: Added a SUBSONIC_DEFAULT_TRANSCODING_FORMAT env var to support clients that don't provide the format parameter 2019-06-28 09:59:57 +02:00
Eliot Berriot 86269c1b07
Can now serve audio content directly from S3 2019-05-09 11:43:35 +02:00