mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Fix pictures
This commit is contained in:
parent
f394dc39dc
commit
60a178165d
1 changed files with 2 additions and 4 deletions
|
@ -480,8 +480,7 @@ class LibrarySync(threading.Thread):
|
||||||
utils.playlistXSP(mediatype, foldername, folderid, viewtype)
|
utils.playlistXSP(mediatype, foldername, folderid, viewtype)
|
||||||
playlists.append(foldername)
|
playlists.append(foldername)
|
||||||
# Add new video node
|
# Add new video node
|
||||||
if (foldername not in nodes and
|
if foldername not in nodes and mediatype != "musicvideos":
|
||||||
mediatype in ('movies', 'tvshows', 'musicvideos', 'homevideos')):
|
|
||||||
vnodes.viewNode(totalnodes, foldername, mediatype, viewtype, folderid)
|
vnodes.viewNode(totalnodes, foldername, mediatype, viewtype, folderid)
|
||||||
nodes.append(foldername)
|
nodes.append(foldername)
|
||||||
totalnodes += 1
|
totalnodes += 1
|
||||||
|
@ -499,8 +498,7 @@ class LibrarySync(threading.Thread):
|
||||||
utils.playlistXSP(mediatype, foldername, folderid, viewtype)
|
utils.playlistXSP(mediatype, foldername, folderid, viewtype)
|
||||||
playlists.append(foldername)
|
playlists.append(foldername)
|
||||||
# Create the video node if not already exists
|
# Create the video node if not already exists
|
||||||
if (foldername not in nodes and
|
if foldername not in nodes and mediatype != "musicvideos":
|
||||||
mediatype in ('movies', 'tvshows', 'musicvideos', 'homevideos')):
|
|
||||||
vnodes.viewNode(totalnodes, foldername, mediatype, viewtype, folderid)
|
vnodes.viewNode(totalnodes, foldername, mediatype, viewtype, folderid)
|
||||||
nodes.append(foldername)
|
nodes.append(foldername)
|
||||||
totalnodes += 1
|
totalnodes += 1
|
||||||
|
|
Loading…
Reference in a new issue