[RELEASE] filecleaner MOD with show selection

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
vikjon0 Offline
---
Posts: 2,429
Joined: Apr 2009
Reputation: 7
Location: Sweden
Post: #1
This is a mod of the xbmcfilecleaner service.
The purpose is to add functionality for show exceptions for TV Show deletion.
This release is for testing and development. Hopefully the functionality can be added to the original filecleaner at some point.

This is a test version and you have to be very careful and test before deploying on a production environment.
Please note that the original filecleaner is not released for Eden yet and I have only tested what I use myself.

Warning
If you don't set it up correctly or there is a bug it could potentially wipe you library.
I just use move tv shows to holding myself and it is working fine on my rig.

Warning2
Do not change the default to delete if you intend to use show exception.
It could cause a disaster if the settings db is lost or recreated.
(The setting is useful if you want to use the add-on like the original without exceptions, change it and it will work like the original)

I have just finished a first version of the GUI.
The GUI is used to select what shows should be deleted. The actual filecleaner is a service running in the background.

You can download the zip from here.
https://github.com/vikjon0/script.filecl.../downloads

The show exceptions are stored in a database in the add-on userdata.
(This post was last modified: 2012-05-27 20:40 by vikjon0.)
find quote
vikjon0 Offline
---
Posts: 2,429
Joined: Apr 2009
Reputation: 7
Location: Sweden
Post: #2
added a few safety measures including a password in the GUI.
Also made sure the settings db exists before the lists are read.

version 0.1.1 available as zip only
https://github.com/vikjon0/script.filecl.../downloads
find quote
vikjon0 Offline
---
Posts: 2,429
Joined: Apr 2009
Reputation: 7
Location: Sweden
Post: #3
I have realized that I need to change the GUI around a bit, the keep list in my library is just too long.
It would be better to have a separate "not set" list instead of added all non-delete (keep + not set) to the same list.

Any other requests?
find quote
ontrose Offline
Junior Member
Posts: 24
Joined: May 2010
Reputation: 0
Post: #4
Hey really like the mod!
We are 4 ppl at home who all are watching diffrent shows so this really helps.
Tho it seams not all shows are showing up in the gui?
And each time i start xbmc it says the script has failed, tho it moves the shows i have selected into holding

/Ontrose
find quote
vikjon0 Offline
---
Posts: 2,429
Joined: Apr 2009
Reputation: 7
Location: Sweden
Post: #5
Hm, I am looking at the query and they should all show up unless I am missing something.
Will look closer next time I work on it.

I do not get a script error on start up. Please post the log at pastebin.com.
find quote
ontrose Offline
Junior Member
Posts: 24
Joined: May 2010
Reputation: 0
Post: #6
OK just gotta figure how to do that then i get back to you =)
find quote
vikjon0 Offline
---
Posts: 2,429
Joined: Apr 2009
Reputation: 7
Location: Sweden
Post: #7
there is a log uploader add-on if you find it tricky to do manually
find quote
ontrose Offline
Junior Member
Posts: 24
Joined: May 2010
Reputation: 0
Post: #8
Ok so here's a log

http://xbmclogs.com/show.php?id=3472

Can't say i understand much of it but some things in it seams strange, like the error about spartacus. But check and if you need any other info just say so

/O
find quote
vikjon0 Offline
---
Posts: 2,429
Joined: Apr 2009
Reputation: 7
Location: Sweden
Post: #9
Looks like you are using the create folders in holding feature and it does not work correctly.
H:\Raderade TV Serier\Spartacus: Blood and Sand
Cannot be created, which is easy to understand as ":" is not allowed in a folder name.

I have never tested this functionality myself, for the moment it has to remain unsupported.
find quote
ontrose Offline
Junior Member
Posts: 24
Joined: May 2010
Reputation: 0
Post: #10
Ok, disabling that seams to fix that.

Tho still not all shows are showing up in the Keep/Delete section, The good wife, community and probably some more show can't be found. And Hell's Kitchen can't be added to the list due to ' in the name it seams.

But i'm happy it works for 90%!

/O

edit: http://xbmclogs.com/show.php?id=3473
(This post was last modified: 2012-06-11 08:45 by ontrose.)
find quote
Post Reply