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
d17ceec1f0
See #297 : linting of various, uncommon errors
2018-06-10 12:06:46 +02:00
Eliot Berriot
9bea804f14
See #297 : sorted imports
2018-06-10 10:55:16 +02:00
Eliot Berriot
9427f8b56e
See #297 : removed unused imports
2018-06-10 10:39:47 +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
5ebaa884c1
Send proper activity when listening is created through subsonic API
2018-06-02 00:11:31 +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
6f79dd475d
Now return proper error payload on subsonic API
2018-05-12 10:52:58 +02:00
Eliot Berriot
7595936260
See #75 : added a preference do enable/disable the subsonic API on the instance level
2018-05-09 22:13:04 +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