Release - XBMC File Cleaner

  Thread Rating:
  • 3 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
music_lover Offline
Junior Member
Posts: 38
Joined: Aug 2014
Reputation: 0
Location: SE MASS
Post: #151
Quote:Any video that satisfies both these conditions (watched, and watched in the last x days) will indeed be cleaned up eventually, should you have enabled those filters.

So this is the opposite of what I want. I want to keep videos I set the watched setting on; and clean videos I skip after a few seconds/minutes(not watched setting). Can you add a checkbox to reverse the setting?

What I need is a "preview mode", where I watch and decide whether to keep it in the library or not. After a minute or so, I know whether i want it or not.
find quote
schumi2004 Offline
Posting Freak
Posts: 1,430
Joined: Aug 2011
Reputation: 14
Post: #152
Is this addon capable of cleaning my HDD based on certain criteria, for example no video files available and then delete dir from HDD?
find quote
greenri Offline
Junior Member
Posts: 3
Joined: Oct 2014
Reputation: 0
Post: #153
(2014-10-15 23:23)Anthirian Wrote:  
(2014-10-14 17:33)music_lover Wrote:  So, to create this scenario by the AO settings, I would set:

Expire After = 1 day? - how exactly does expire_after work with last played?

by_date_played = {"field": "lastplayed", "operator": "notinthelast", "value": "%d" % get_setting(expire_after)}

so, for however amount of expiry days I set, eventually every video I don't play all the way through (according to the playcount min setting) will get whacked?
expire_after uses a value that will be used with SQL to retrieve videos from the library. It takes an integer value, and combined with the last_played time, including seconds, that is stored in the library, this means it is actually quite accurate. All videos that are marked as played after the number of days you enter here will indeed be cleaned up. However music videos, as stated, do not have resume points, meaning they will first have to be watched past the percentage you can specify in advancedsettings.xml before they even get marked watched. Any video that satisfies both these conditions (watched, and watched in the last x days) will indeed be cleaned up eventually, should you have enabled those filters.

(2014-10-14 22:46)greenri Wrote:  Hi,

I am running the add-on on on a Raspberry Pi (running XBian) and whenever I run the add-on it states "no cleaning required" but I have everything ticked in the config and there are plenty of files that need to be deleted. I have attached a cut down version of the log (just for when it runs) and I'm not sure it is running correctly? Any help would be appreciated, thanks in advance! Smile

http://pastebin.com/bP02X3x6
Unfortunately this clipped log does not show the addon is even starting at all. Please upload the full log instead.

I've removed all the Cec errors that spam my logs so i could fit the full log on pastebin, here is the full log. Thank you Smile

http://pastebin.com/kiSPS2d8
find quote
Post Reply