mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 18:26:15 +00:00
Fix library object types
This commit is contained in:
parent
82910c6b2d
commit
c6a701a4a3
1 changed files with 8 additions and 0 deletions
|
@ -679,6 +679,14 @@ class UserDataWorker(threading.Thread):
|
||||||
obj = Movies(self.args[0], jellyfindb, kodidb, self.args[1]).userdata(item)
|
obj = Movies(self.args[0], jellyfindb, kodidb, self.args[1]).userdata(item)
|
||||||
elif item['Type'] in ['Series', 'Season', 'Episode']:
|
elif item['Type'] in ['Series', 'Season', 'Episode']:
|
||||||
obj = TVShows(self.args[0], jellyfindb, kodidb, self.args[1]).userdata(item)
|
obj = TVShows(self.args[0], jellyfindb, kodidb, self.args[1]).userdata(item)
|
||||||
|
elif item['Type'] == 'MusicAlbum':
|
||||||
|
obj = Music(self.args[0], jellyfindb, kodidb, self.args[1]).album
|
||||||
|
elif item['Type'] == 'MusicArtist':
|
||||||
|
obj = Music(self.args[0], jellyfindb, kodidb, self.args[1]).artist
|
||||||
|
elif item['Type'] == 'AlbumArtist':
|
||||||
|
obj = Music(self.args[0], jellyfindb, kodidb, self.args[1]).albumartist
|
||||||
|
elif item['Type'] == 'Audio':
|
||||||
|
obj = Music(self.args[0], jellyfindb, kodidb, self.args[1]).song
|
||||||
|
|
||||||
try:
|
try:
|
||||||
obj(item)
|
obj(item)
|
||||||
|
|
Loading…
Reference in a new issue