Fix pictures

This commit is contained in:
angelblue05 2016-02-24 18:34:50 -06:00
parent f394dc39dc
commit 60a178165d

View file

@ -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