--- a/src/mediaserver/cdplugins/tidal/tidalapi/models.py
+++ b/src/mediaserver/cdplugins/tidal/tidalapi/models.py
@@ -30,6 +30,7 @@
class Album(Model):
+ upnpclass = "object.container.album.musicAlbum"
artist = None
artists = []
num_tracks = -1
@@ -42,6 +43,7 @@
class Artist(Model):
+ upnpclass = "object.container.person.musicArtist"
role = None
@property
@@ -50,6 +52,7 @@
class Playlist(Model):
+ upnpclass = "object.container.album"
description = None
creator = None
type = None
@@ -65,6 +68,7 @@
class Track(Model):
+ upnpclass = "object.item.audioItem.musicTrack"
duration = -1
track_num = -1
disc_num = 1