Eliot Berriot
14392ebb0c
Updated rest framework to 3.9
2019-01-11 14:10:02 +01:00
Eliot Berriot
5d4066d697
Removed duplicated susbsonic tests
...
We were testing both xml and json rendering for every view but this takes a very long time, so we only do json for most views now.
2018-12-19 15:12:19 +01:00
Eliot Berriot
22de4a98c5
Fix #616 : Fixed inconsistencies in subsonic error responses
2018-11-18 23:17:31 +01:00
Eliot Berriot
bcd22eb38c
See #272 : linting and changelog
2018-10-26 16:09:00 +02:00
Eliot Berriot
daf2e4b863
See #272 : subsonic support for transcoding
2018-10-26 16:09:00 +02:00
Eliot Berriot
aaaa2479dc
Missing changelog and getLicense endpoint for #581
2018-10-21 20:45:24 +02:00
Eliot Berriot
77973ba6f9
See #574 : linting
2018-10-21 20:33:41 +02:00
Eliot Berriot
ccd600ecca
See #574 : Implemented getRandomSongs endpoint
2018-10-21 20:30:16 +02:00
Eliot Berriot
439d4fd6b3
See #574 : Implemented getUser view
2018-10-21 20:30:12 +02:00
Eliot Berriot
d3e411fa97
See #574 : Implemented getAvatar view
2018-10-21 20:30:08 +02:00
Eliot Berriot
941f2f6677
Fix #573 : Added "type: funkwhale" and "funkwhale-version" in Subsonic responses
2018-10-21 17:43:22 +02:00
Eliot Berriot
47aa209df2
See !368 : ensure we filter playable entities in subsonic API
2018-10-01 21:16:11 +02:00
Eliot Berriot
e49a460203
Audio federation
2018-09-22 12:29:30 +00:00
Eliot Berriot
2ea21994ee
Resolve "Per-user libraries" (use !368 instead)
2018-09-06 18:35:02 +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
Toke Høiland-Jørgensen
2f46d83834
subsonic: Catch ValueError when casting input parameters
...
A failed cast to int will raise ValueError, which is not currently caught
by the error checking code, leading to a crash. Fix this so a proper error
message can be returned.
Also add test for getting artist with non-numeric ID.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2018-08-30 14:18:02 +02:00
Eliot Berriot
281bef48bf
Fix #339 : Subsonic API login is now case insensitive
2018-06-28 16:47:45 +02:00
Eliot Berriot
031784556f
Fixed #295 : broken pagination in Subsonic API
2018-06-10 13:34:15 +02:00
Eliot Berriot
77c0b2b1a2
See #297 : added black as a local dependency, more verbose check in CI
2018-06-10 12:13:02 +02:00
Eliot Berriot
d17ceec1f0
See #297 : linting of various, uncommon errors
2018-06-10 12:06:46 +02:00
Eliot Berriot
799386c2b6
See #297 : removed a lot of unused variables
2018-06-10 11:27:38 +02:00
Eliot Berriot
9bea804f14
See #297 : sorted imports
2018-06-10 10:55:16 +02:00
Eliot Berriot
639882bd34
See #297 : removed unused variables
2018-06-09 17:41:59 +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
fc48e16e65
Fix #218 : Ensure inactive users cannot get auth tokens
2018-05-21 18:45:39 +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
24cb1d9519
See #75 : user can now manage the Subsonic API token from their settings page
2018-05-09 22:18:33 +02:00
Eliot Berriot
67dc414c8a
See #75 : music direcory and indexes endpoints
2018-05-09 20:32:17 +02:00
Eliot Berriot
7c85d1ca81
See #75 : can now add multiple tracks to a playlist on creation and update
2018-05-09 20:31:47 +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