mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
commit
0b3319a01a
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)
|
||||
elif item['Type'] in ['Series', 'Season', 'Episode']:
|
||||
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:
|
||||
obj(item)
|
||||
|
|
Loading…
Reference in a new issue