add option to do second hacky artwork add on playback

This commit is contained in:
shaun 2015-03-28 12:56:29 +11:00
parent c40e01043d
commit 0481ea8abf
2 changed files with 16 additions and 15 deletions

View file

@ -136,6 +136,8 @@ class PlaybackUtils():
xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, listItem) xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, listItem)
else: else:
xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, listItem) xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, listItem)
if(addon.getSetting("addExtraPlaybackArt") == "true"):
utils.logMsg("PLAY", "Doing second xbmc.Player().play to add extra art")
xbmc.Player().play(playurl,listItem) xbmc.Player().play(playurl,listItem)
def setArt(self, list,name,path): def setArt(self, list,name,path):

View file

@ -11,32 +11,31 @@
<setting id="deviceName" type="text" label="30016" default="Kodi"/> <setting id="deviceName" type="text" label="30016" default="Kodi"/>
</category> </category>
<category label="Manual sync"> <!-- Manual sync options --> <!--
<category label="Manual sync">
<setting label="Run manual full sync now" type="action" action="RunScript(plugin.video.mbsync, fullsync)" /> <setting label="Run manual full sync now" type="action" action="RunScript(plugin.video.mbsync, fullsync)" />
<setting label="Run manual incremental sync now" type="action" action="RunScript(plugin.video.mbsync, incrementalsync)" /> <setting label="Run manual incremental sync now" type="action" action="RunScript(plugin.video.mbsync, incrementalsync)" />
<setting label="Reset entire local library" type="action" action="RunScript(plugin.video.mbsync, reset)" /> <setting label="Reset entire local library" type="action" action="RunScript(plugin.video.mbsync, reset)" />
</category> </category>
-->
<category label="Automatic sync"> <!-- Auto sync optionss --> <category label="Sync Options">
<setting id="syncThemeMusic" type="bool" label="30236" default="false" visible="true" enable="true" />
<setting id="syncExtraFanart" type="bool" label="30237" default="false" visible="true" enable="true" />
<setting id="syncMovieBoxSets" type="bool" label="30238" default="false" visible="true" enable="true" />
<setting id="enablePlayCountSync" type="bool" label="Enable watched/resume status sync" default="true" visible="true" enable="true" /> <setting id="enablePlayCountSync" type="bool" label="Enable watched/resume status sync" default="true" visible="true" enable="true" />
<!-- <setting id="syncSettingStartup" type="labelenum" label="Startup Sync:" values="Full Sync|Incremental Sync|None" default="Full Sync" />
<setting id="syncSettingBackground" type="labelenum" label="Scheduled Sync:" values="Full Sync|Incremental Sync|None" default="Incremental Sync" visible="true" enable="true" /> -->
<setting id="dbSyncIndication" type="labelenum" label="DB Sync Indication:" values="None|Notify OnChange|Notify OnFinish|BG Progress|Dialog Progress" default="None" /> <setting id="dbSyncIndication" type="labelenum" label="DB Sync Indication:" values="None|Notify OnChange|Notify OnFinish|BG Progress|Dialog Progress" default="None" />
<setting id="playCountSyncIndication" type="labelenum" label="Play Count Sync Indication:" values="None|Notify OnChange|Notify OnFinish|BG Progress|Dialog Progress" default="None" /> <setting id="playCountSyncIndication" type="labelenum" label="Play Count Sync Indication:" values="None|Notify OnChange|Notify OnFinish|BG Progress|Dialog Progress" default="None" />
</category> </category>
<category label="30235"> <!-- Extra Sync options --> <category label="Playback"> <!-- Extra Sync options -->
<setting id="syncThemeMusic" type="bool" label="30236" default="false" visible="true" enable="true" /> <setting id="addExtraPlaybackArt" type="bool" label="Add extra playback art" default="false" visible="true" enable="true" />
<setting id="syncExtraFanart" type="bool" label="30237" default="false" visible="true" enable="true" />
<setting id="syncMovieBoxSets" type="bool" label="30238" default="false" visible="true" enable="true" />
</category>
<category label="30022"> <!-- Advanced -->
<setting id="logLevel" type="enum" label="30004" values="None|Info|Debug" default="0" />
<setting id="smbusername" type="text" label="30007" default="" visible="true" enable="true" /> <setting id="smbusername" type="text" label="30007" default="" visible="true" enable="true" />
<setting id="smbpassword" type="text" label="30008" default="" option="hidden" visible="true" enable="true" /> <setting id="smbpassword" type="text" label="30008" default="" option="hidden" visible="true" enable="true" />
</category> </category>
<category label="30022">
<setting id="logLevel" type="enum" label="30004" values="None|Info|Debug" default="0" />
</category>
</settings> </settings>