mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 12:16:12 +00:00
Fix typo
This commit is contained in:
parent
60a178165d
commit
dc7473bfae
1 changed files with 10 additions and 9 deletions
|
@ -493,15 +493,16 @@ class LibrarySync(threading.Thread):
|
||||||
current_tagid, tagid, item[0], current_viewtype[:-1])
|
current_tagid, tagid, item[0], current_viewtype[:-1])
|
||||||
else:
|
else:
|
||||||
# Validate the playlist exists or recreate it
|
# Validate the playlist exists or recreate it
|
||||||
if (foldername not in playlists and
|
if mediatype != "music":
|
||||||
mediatype in ('movies', 'tvshows', 'musicvideos')):
|
if (foldername not in playlists and
|
||||||
utils.playlistXSP(mediatype, foldername, folderid, viewtype)
|
mediatype in ('movies', 'tvshows', 'musicvideos')):
|
||||||
playlists.append(foldername)
|
utils.playlistXSP(mediatype, foldername, folderid, viewtype)
|
||||||
# Create the video node if not already exists
|
playlists.append(foldername)
|
||||||
if foldername not in nodes and mediatype != "musicvideos":
|
# Create the video node if not already exists
|
||||||
vnodes.viewNode(totalnodes, foldername, mediatype, viewtype, folderid)
|
if foldername not in nodes and mediatype != "musicvideos":
|
||||||
nodes.append(foldername)
|
vnodes.viewNode(totalnodes, foldername, mediatype, viewtype, folderid)
|
||||||
totalnodes += 1
|
nodes.append(foldername)
|
||||||
|
totalnodes += 1
|
||||||
else:
|
else:
|
||||||
# Add video nodes listings
|
# Add video nodes listings
|
||||||
vnodes.singleNode(totalnodes, "Favorite movies", "movies", "favourites")
|
vnodes.singleNode(totalnodes, "Favorite movies", "movies", "favourites")
|
||||||
|
|
Loading…
Reference in a new issue