mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Fix delete
Remove verification - option is only for deletion after playback.
This commit is contained in:
parent
9d82754882
commit
445469302f
1 changed files with 22 additions and 34 deletions
|
@ -148,18 +148,6 @@ class KodiMonitor(xbmc.Monitor):
|
||||||
self.logMsg("Item is invalid for emby deletion.", 1)
|
self.logMsg("Item is invalid for emby deletion.", 1)
|
||||||
else:
|
else:
|
||||||
# Send the delete action to the server.
|
# Send the delete action to the server.
|
||||||
offerDelete = False
|
|
||||||
|
|
||||||
if type == "episode" and utils.settings('deleteTV') == "true":
|
|
||||||
offerDelete = True
|
|
||||||
elif type == "movie" and utils.settings('deleteMovies') == "true":
|
|
||||||
offerDelete = True
|
|
||||||
|
|
||||||
if utils.settings('offerDelete') != "true":
|
|
||||||
# Delete could be disabled, even if the subsetting is enabled.
|
|
||||||
offerDelete = False
|
|
||||||
|
|
||||||
if offerDelete:
|
|
||||||
embyconn = utils.kodiSQL('emby')
|
embyconn = utils.kodiSQL('emby')
|
||||||
embycursor = embyconn.cursor()
|
embycursor = embyconn.cursor()
|
||||||
emby_db = embydb.Embydb_Functions(embycursor)
|
emby_db = embydb.Embydb_Functions(embycursor)
|
||||||
|
|
Loading…
Reference in a new issue