Change playlist type from 'picture' to 'photo'
This commit is contained in:
parent
80e2ad4908
commit
cbbb5b1ceb
2 changed files with 3 additions and 1 deletions
|
@ -53,6 +53,8 @@ class Playqueue(Thread):
|
||||||
else:
|
else:
|
||||||
# Currently, only video or audio playqueues available
|
# Currently, only video or audio playqueues available
|
||||||
playqueue.kodi_pl = PlayList(PLAYLIST_VIDEO)
|
playqueue.kodi_pl = PlayList(PLAYLIST_VIDEO)
|
||||||
|
# Overwrite 'picture' with 'photo'
|
||||||
|
playqueue.type = v.KODI_TYPE_PHOTO
|
||||||
self.playqueues.append(playqueue)
|
self.playqueues.append(playqueue)
|
||||||
# sort the list by their playlistid, just in case
|
# sort the list by their playlistid, just in case
|
||||||
self.playqueues = sorted(
|
self.playqueues = sorted(
|
||||||
|
|
|
@ -198,7 +198,7 @@ KODI_PLAYLIST_TYPE_FROM_PLEX_TYPE = {
|
||||||
PLEX_TYPE_ALBUM: KODI_TYPE_AUDIO,
|
PLEX_TYPE_ALBUM: KODI_TYPE_AUDIO,
|
||||||
PLEX_TYPE_SONG: KODI_TYPE_AUDIO,
|
PLEX_TYPE_SONG: KODI_TYPE_AUDIO,
|
||||||
PLEX_TYPE_AUDIO: KODI_TYPE_AUDIO,
|
PLEX_TYPE_AUDIO: KODI_TYPE_AUDIO,
|
||||||
PLEX_TYPE_PHOTO: 'picture'
|
PLEX_TYPE_PHOTO: KODI_TYPE_PHOTO
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue