2011-05-23, 19:02
This is a mod of the xbmcfilecleaner service.
The purpose is to add functionality for show exceptions for TV Show deletion.
EDIT: I have release a new version (0.1.0) with a GUI for show selection.
I have also created a new thread in the proper sub section.
http://forum.xbmc.org/showthread.php?tid=132527
I am working on the GUI. For the moment the exceptions have to be added in the db.
You can also use it exactly as the orginal by changing default to delete.
I have now re-applied my mod to the WIP eden version of the xbmcfilecleaner.
It is an early version, be very careful!
If you want to test my version you need to set up the shows manually in e.g. sqliteman.
Or change default to delete and it will work as the original addon (all shows monitored).
However, it is not recommended to do that AND apply exception as it is very risky.
Do not use more than one version of the filecleaner at once!
Example:
Configure a show to be auto deleted:
-----------------------------
attach '/home/vikjon0/.xbmc/userdata/Database/MyVideos34.db' as xbmc
attach '/home/vikjon0/.xbmc/userdata/addon_data/script.filecleaner/addon.db' as addon
--Add shows to monitor (0=do not delete;1=delete;2=default)
insert into tvshowsettings
select idShow,c00,1 from tvshow
where c00 like '%Blue%'
-----------------------------------
Add all shows except glee and game of thrones
insert into tvshowsettings
select idShow,c00 ,1 from tvshow
where not (c00 like '%Game%' or c00 like '%Glee%' )
and idShow not in (select idShow from tvshowsettings)
The purpose is to add functionality for show exceptions for TV Show deletion.
EDIT: I have release a new version (0.1.0) with a GUI for show selection.
I have also created a new thread in the proper sub section.
http://forum.xbmc.org/showthread.php?tid=132527
I am working on the GUI. For the moment the exceptions have to be added in the db.
You can also use it exactly as the orginal by changing default to delete.
I have now re-applied my mod to the WIP eden version of the xbmcfilecleaner.
It is an early version, be very careful!
If you want to test my version you need to set up the shows manually in e.g. sqliteman.
Or change default to delete and it will work as the original addon (all shows monitored).
However, it is not recommended to do that AND apply exception as it is very risky.
Do not use more than one version of the filecleaner at once!
Example:
Configure a show to be auto deleted:
-----------------------------
attach '/home/vikjon0/.xbmc/userdata/Database/MyVideos34.db' as xbmc
attach '/home/vikjon0/.xbmc/userdata/addon_data/script.filecleaner/addon.db' as addon
--Add shows to monitor (0=do not delete;1=delete;2=default)
insert into tvshowsettings
select idShow,c00,1 from tvshow
where c00 like '%Blue%'
-----------------------------------
Add all shows except glee and game of thrones
insert into tvshowsettings
select idShow,c00 ,1 from tvshow
where not (c00 like '%Game%' or c00 like '%Glee%' )
and idShow not in (select idShow from tvshowsettings)