mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-13 21:56:11 +00:00
Remove skip deletion after playback
I think it must be a mistake on my part. Checking history, it looks like a copy paste during the refactor.
This commit is contained in:
parent
d3f2969e80
commit
26836fb536
3 changed files with 10 additions and 15 deletions
|
@ -286,7 +286,7 @@
|
||||||
<string id="30517">Network credentials</string>
|
<string id="30517">Network credentials</string>
|
||||||
<string id="30518">Enable Emby cinema mode</string>
|
<string id="30518">Enable Emby cinema mode</string>
|
||||||
<string id="30519">Ask to play trailers</string>
|
<string id="30519">Ask to play trailers</string>
|
||||||
<string id="30520">Skip Emby delete confirmation</string>
|
<string id="30520">Skip Emby delete confirmation for the context menu</string>
|
||||||
<string id="30521">Jump back on resume (in seconds)</string>
|
<string id="30521">Jump back on resume (in seconds)</string>
|
||||||
<string id="30522">Force transcode H265</string>
|
<string id="30522">Force transcode H265</string>
|
||||||
<string id="30523">Music metadata options (not compatible with direct stream)</string>
|
<string id="30523">Music metadata options (not compatible with direct stream)</string>
|
||||||
|
@ -300,9 +300,7 @@
|
||||||
<string id="30531">Enable new content notification</string>
|
<string id="30531">Enable new content notification</string>
|
||||||
<string id="30532">Duration of the video library pop up (in seconds)</string>
|
<string id="30532">Duration of the video library pop up (in seconds)</string>
|
||||||
<string id="30533">Duration of the music library pop up (in seconds)</string>
|
<string id="30533">Duration of the music library pop up (in seconds)</string>
|
||||||
<string id="30534">For the context menu</string>
|
<string id="30534">Server messages</string>
|
||||||
<string id="30535">After playback (Caution!)</string>
|
|
||||||
<string id="30536">Server messages</string>
|
|
||||||
|
|
||||||
<!-- service add-on -->
|
<!-- service add-on -->
|
||||||
<string id="33000">Welcome</string>
|
<string id="33000">Welcome</string>
|
||||||
|
|
|
@ -482,13 +482,12 @@ class Player(xbmc.Player):
|
||||||
offerDelete = False
|
offerDelete = False
|
||||||
|
|
||||||
if percentComplete >= markPlayedAt and offerDelete:
|
if percentComplete >= markPlayedAt and offerDelete:
|
||||||
if utils.settings('skipPlayback') != "true":
|
resp = xbmcgui.Dialog().yesno(
|
||||||
resp = xbmcgui.Dialog().yesno(
|
heading="Confirm delete",
|
||||||
heading="Confirm delete",
|
line1="Delete file on Emby Server?")
|
||||||
line1="Delete file on Emby Server?")
|
if not resp:
|
||||||
if not resp:
|
self.logMsg("User skipped deletion.", 1)
|
||||||
self.logMsg("User skipped deletion.", 1)
|
continue
|
||||||
continue
|
|
||||||
|
|
||||||
url = "{server}/emby/Items/%s?format=json" % itemid
|
url = "{server}/emby/Items/%s?format=json" % itemid
|
||||||
self.logMsg("Deleting request: %s" % itemid)
|
self.logMsg("Deleting request: %s" % itemid)
|
||||||
|
|
|
@ -62,11 +62,9 @@
|
||||||
<category label="30235"><!-- Extras -->
|
<category label="30235"><!-- Extras -->
|
||||||
<setting id="enableCoverArt" type="bool" label="30157" default="true" />
|
<setting id="enableCoverArt" type="bool" label="30157" default="true" />
|
||||||
<setting id="ignoreSpecialsNextEpisodes" type="bool" label="30527" default="false" />
|
<setting id="ignoreSpecialsNextEpisodes" type="bool" label="30527" default="false" />
|
||||||
|
<setting id="skipContextMenu" type="bool" label="30520" default="false" />
|
||||||
<setting id="additionalUsers" type="text" label="30528" default="" />
|
<setting id="additionalUsers" type="text" label="30528" default="" />
|
||||||
<setting type="lsep" label="30520" />
|
<setting type="lsep" label="30534" />
|
||||||
<setting id="skipContextMenu" type="bool" label="30534" default="false" />
|
|
||||||
<setting id="skipPlayback" type="bool" label="30535" default="false" />
|
|
||||||
<setting type="lsep" label="30536" />
|
|
||||||
<setting id="connectMsg" type="bool" label="30249" default="true" />
|
<setting id="connectMsg" type="bool" label="30249" default="true" />
|
||||||
<setting id="restartMsg" type="bool" label="30530" default="false" />
|
<setting id="restartMsg" type="bool" label="30530" default="false" />
|
||||||
<setting id="newContent" type="bool" label="30531" default="false" />
|
<setting id="newContent" type="bool" label="30531" default="false" />
|
||||||
|
|
Loading…
Reference in a new issue