funkwhale/api/funkwhale_api/subsonic
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
..
__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 subsonic: Don't crash when serialising artist with no name 2018-08-30 14:18:17 +02:00
views.py subsonic: Catch ValueError when casting input parameters 2018-08-30 14:18:02 +02:00