funkwhale/api/funkwhale_api/subsonic
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
..
__init__.py See #75: initial subsonic implementation that works with http://p.subfireplayer.net 2018-05-08 16:32:07 +02:00
authentication.py Fix #339: Subsonic API login is now case insensitive 2018-06-28 16:47:45 +02:00
dynamic_preferences_registry.py See #297: sorted imports 2018-06-10 10:55:16 +02:00
filters.py Blacked the code 2018-06-09 15:36:16 +02:00
negotiation.py See #297: sorted imports 2018-06-10 10:55:16 +02:00
renderers.py Blacked the code 2018-06-09 15:36:16 +02:00
serializers.py See #297: sorted imports 2018-06-10 10:55:16 +02:00
views.py subsonic: Catch ValueError when casting input parameters 2018-08-30 14:18:02 +02:00