Posts: 173
Joined: Jan 2012
Reputation:
12
Aha, that clarifies it a bit. Apparently moving a video via the XMBC Virtual File System (xbmcvfs) module does not play nice with shared libraries, whereas deleting works fine. I noticed from your log file that the deletes seem to be queued until the cleanup routine finishes, and the delete SQL command is executed afterwards. The way I move videos is by means of simply renaming them, but with the same filename and a different folder path. This seems to give problems. I will look into it once I have a bit more time to spare.
Posts: 173
Joined: Jan 2012
Reputation:
12
Ah yes I see. Nevertheless, there is no output from the file cleaner, meaning I have no clue what goes wrong. Maybe you could try enabling it, saving the settings and then shutting down. Afterwards, please start XBMC (the addon will now start with XBMC) and give it a minute or so before you shut it down again. I would like to see the log of that last full run of XBMC if I am to fix the bug you're suffering from.
Posts: 70
Joined: May 2010
Reputation:
0
2013-05-22, 05:29
(This post was last modified: 2013-05-22, 05:36 by brotbuexe.)
05:12:03 T:6760 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeEncodeError'>
Error Contents: 'ascii' codec can't encode character u'\u2019' in position 112: ordinal not in range(128)
Traceback (most recent call last):
File "D:\XBMC\portable_data\addons\script.filecleaner\default.py", line 640, in <module>
run = Cleaner()
File "D:\XBMC\portable_data\addons\script.filecleaner\default.py", line 94, in __init__
self.cleanup()
File "D:\XBMC\portable_data\addons\script.filecleaner\default.py", line 157, in cleanup
if self.delete_file(abs_path):
File "D:\XBMC\portable_data\addons\script.filecleaner\default.py", line 484, in delete_file
self.debug("Deleting file at %s" % location)
File "D:\XBMC\portable_data\addons\script.filecleaner\default.py", line 638, in debug
xbmc.log(__title__ + ": " + line)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 112: ordinal not in range(128)
-->End of Python script error report<--
On Windows.
File was: New Girl - 2x25 - Elaine’s Big Day - 720p WEB-DL.mkv
Posts: 8
Joined: May 2013
Reputation:
0
I tried to be on the safe side and wanted to have the deleted episodes moved to a temp folder for reviewing first.
I have a small SSD in a W8 system where XBMC is installed.
I also have a large HDD for all the data.
I couldn't change the location of the temp folder from the SSD to the HDD.....I could only choose folders in the "special folder": where XBMC is installed.
This way I run out of SSD space very quick.
Is there a way to change this?
Posts: 19
Joined: Sep 2010
Reputation:
0
Just an idea for those that don't want some tv shows deleted. I came up with a solution that i'm testing (yes i know its a hack job but it seems to work)
Make a new folder on the same drive as your tv for example called "Keep TV" and put this as your temporary holding folder rather than deleting it and tell XBMC to scan it to the library
You will have to manually go to that drive via a file manager to delete shows you don't want to keep, but its quicker than going round and deleting episodes manually.
Next time the video library is cleaned it will delete them from the library.
I hope everyone can follow my gibberish (its 2am here now) and that this can help someone.
Posts: 173
Joined: Jan 2012
Reputation:
12
I can see what you mean, but I think it will still require a lot of manual intervention if you only wish to keep one or two tv shows from being deleted.
Still, I appreciate you sharing your ideas until I figure out the best way to implement such a feature.
Posts: 173
Joined: Jan 2012
Reputation:
12
Thank you for the error report. It appears you have the same issue as brotbuexe above. This has been fixed and once your addon updates itself, there should be no more errors like this.
Posts: 19
Joined: Sep 2010
Reputation:
0
Are we just waiting for a push to the xbmc repo? Or do I need to intervene myself?
Posts: 173
Joined: Jan 2012
Reputation:
12
Yes, don't worry. I have just submitted a request to the XBMC repo for an update. It should be pulled later today, or at least sometime tomorrow. Your addon should update itself automatically once it detects the newer version.
Posts: 19
Joined: Sep 2010
Reputation:
0
ok thanks for your help and keep up the good work!