[RELEASE] Video Fanart Splitter Script - Movie and TV Show FanArt Seperation

  Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
skorianez Offline
Junior Member
Posts: 19
Joined: Dec 2009
Reputation: 0
Post: #41
How about on Linux system instead of copy, do a "symbolic link" to avoid double fanart files and will speed up a lot.
find quote
mole Offline
Junior Member
Posts: 3
Joined: Jan 2010
Reputation: 0
Post: #42
Has anybody managed to get this working on Live yet?
find quote
Schenk2302 Offline
Senior Member
Posts: 103
Joined: Feb 2009
Reputation: 4
Post: #43
Hi,

first thanks so much for this script. I have a problem with it anyway. It will run very short and is just doing a Movie folder with ca. ten .tbn.
Nothing more and no TV folder.

here's my log, maybe anyone could help.

thanks in advance

Schenk

Code:
22:28:12 T:3256 M:2832404480  NOTICE: -->Python Interpreter Initialized<--
22:28:12 T:3256 M:2832404480   DEBUG: XBPyThread::Process - The source file to load is special://home/scripts/Video Fanart Splitter/default.py
22:28:12 T:3256 M:2832396288   DEBUG: XBPyThread::Process - Setting the Python path to C:\Program Files (x86)\XBMC\scripts\Video Fanart Splitter;special://xbmc/system/python/python24.zlib;special://xbmc/system/python/DLLs;special://xbmc/system/python/Lib;special://xbmc/system/python/spyce
22:28:12 T:3256 M:2832396288   DEBUG: XBPyThread::Process - Entering source directory C:\Program Files (x86)\XBMC\scripts\Video Fanart Splitter
22:28:12 T:3256 M:2832949248   DEBUG: LoadLibraryExA called with flags:
                                             - LOAD_WITH_ALTERED_SEARCH_PATH
22:28:12 T:3256 M:2832945152   DEBUG: LoadLibraryA('_sqlite.pyd')
22:28:12 T:3256 M:2832945152   DEBUG: Win32DllLoader::Load(C:\Program Files (x86)\XBMC\scripts\Video Fanart Splitter\platform_libraries\win32\pysqlite2\_sqlite.pyd)
22:28:12 T:3256 M:2832912384   DEBUG: LoadLibraryA('python24.dll')
22:28:12 T:3256 M:2832912384   DEBUG: LoadLibrary('python24.dll') returning: 08467800
22:28:12 T:3256 M:2832912384   DEBUG: LoadLibraryA('MSVCR71.dll')
22:28:12 T:3256 M:2832912384   DEBUG: LoadLibrary('MSVCR71.dll') returning: 084639D0
22:28:12 T:3256 M:2832912384   DEBUG: LoadLibrary('_sqlite.pyd') returning: 03097DF0
22:28:12 T:3256 M:2789138432    INFO: -->Python script returned the following error<--
22:28:12 T:3256 M:2789138432   ERROR: Error Type: exceptions.IndexError
22:28:12 T:3256 M:2789138432   ERROR: Error Contents: list index out of range
22:28:12 T:3256 M:2789105664   ERROR: Traceback (most recent call last):
                                              File "C:\Program Files (x86)\XBMC\scripts\Video Fanart Splitter\default.py", line 52, in ?
                                                if os.path.isfile(xbmc.translatePath("special://home/userdata/Thumbnails/Video/Fanart/" + getCrc(row[0] + row[1]) + ".tbn")):
                                              File "C:\Program Files (x86)\XBMC\scripts\Video Fanart Splitter\default.py", line 24, in getCrc
                                                crc     = hex(g(filename.lower()))
                                              File "C:\Program Files (x86)\XBMC\scripts\Video Fanart Splitter\crcmod.py", line 403, in crcfun
                                                return fun(data, crc, table)
                                              File "C:\Program Files (x86)\XBMC\scripts\Video Fanart Splitter\_crcfunpy.py", line 67, in _crc32
                                                crc = table[ord(x) ^ (int(crc>>24) & 0xFF)] ^ ((crc << 8) & 0xFFFFFF00L)
                                            IndexError: list index out of range
22:28:12 T:3256 M:2789105664    INFO: -->End of Python script error report<--
find quote
wiggy Offline
Member
Posts: 90
Joined: Mar 2010
Reputation: 0
Post: #44
Great script!!
I have an install of xbmc to text on an xp computer, from the menu settings i can navigate to (%APPDATA%\XBMC\userdata\script_data\ on windows ) fine, but on my home set up I am using the Live install and i can only navigate to the Home Folder or the Movie folder I added to contain my films?
Is there a way to change the path it output to?

really hope someone can help!!

note im using aeon skin and the settings is under customise aeon (main menu backgrounds)
(This post was last modified: 2010-03-26 12:01 by wiggy.)
find quote
wiggy Offline
Member
Posts: 90
Joined: Mar 2010
Reputation: 0
Post: #45
Found my answer derr

"After launching this script you can define the new folders as the backdrops for your skin. In aeon this is set with the aeon.custommovies setting (for movies) in the guisettings.xml file."

Job done Smile
find quote
wiggy Offline
Member
Posts: 90
Joined: Mar 2010
Reputation: 0
Post: #46
Hi me again...im a total linux nobo, i know the file path i need to change but not sure how it would be formated for linux to understand?? example:


<setting type="string" name="Hitcher-aeon-f7b0c2d.custommovies">/home/david/.xbmc/userdata/script_data/Video Fanart Splitter/Movies/</setting>

This doesn't seem to be working??
find quote
wiggy Offline
Member
Posts: 90
Joined: Mar 2010
Reputation: 0
Post: #47
God these forums are slow!!
find quote
tomer953 Offline
Member
Posts: 84
Joined: Mar 2010
Reputation: 0
Post: #48
Code:
23:03:30 T:6928 M:221159424  NOTICE: -->Python Interpreter Initialized<--
23:03:30 T:6928 M:216928256   ERROR: Error Type: exceptions.IndexError
23:03:30 T:6928 M:216928256   ERROR: Error Contents: list index out of range
23:03:30 T:6928 M:216915968   ERROR: Traceback (most recent call last):
                                              File "C:\Documents and Settings\Tomer953\Application Data\XBMC\scripts\Video Fanart Splitter\default.py", line 52, in ?
                                                if os.path.isfile(xbmc.translatePath("special://home/userdata/Thumbnails/Video/Fanart/" + getCrc(row[0] + row[1]) + ".tbn")):
                                              File "C:\Documents and Settings\Tomer953\Application Data\XBMC\scripts\Video Fanart Splitter\default.py", line 24, in getCrc
                                                crc     = hex(g(filename.lower()))
                                              File "C:\Documents and Settings\Tomer953\Application Data\XBMC\scripts\Video Fanart Splitter\crcmod.py", line 403, in crcfun
                                                return fun(data, crc, table)
                                              File "C:\Documents and Settings\Tomer953\Application Data\XBMC\scripts\Video Fanart Splitter\_crcfunpy.py", line 67, in _crc32
                                                crc = table[ord(x) ^ (int(crc>>24) & 0xFF)] ^ ((crc << 8) & 0xFFFFFF00L)
                                            IndexError: list index out of range
23:07:47 T:9012 M:220958720  NOTICE: -->Python Interpreter Initialized<--
23:07:47 T:9012 M:217063424   ERROR: Error Type: exceptions.IndexError
23:07:47 T:9012 M:217063424   ERROR: Error Contents: list index out of range
23:07:47 T:9012 M:217083904   ERROR: Traceback (most recent call last):
                                              File "C:\Documents and Settings\Tomer953\Application Data\XBMC\scripts\Video Fanart Splitter\default.py", line 52, in ?
                                                if os.path.isfile(xbmc.translatePath("special://home/userdata/Thumbnails/Video/Fanart/" + getCrc(row[0] + row[1]) + ".tbn")):
                                              File "C:\Documents and Settings\Tomer953\Application Data\XBMC\scripts\Video Fanart Splitter\default.py", line 24, in getCrc
                                                crc     = hex(g(filename.lower()))
                                              File "C:\Documents and Settings\Tomer953\Application Data\XBMC\scripts\Video Fanart Splitter\crcmod.py", line 403, in crcfun
                                                return fun(data, crc, table)
                                              File "C:\Documents and Settings\Tomer953\Application Data\XBMC\scripts\Video Fanart Splitter\_crcfunpy.py", line 67, in _crc32
                                                crc = table[ord(x) ^ (int(crc>>24) & 0xFF)] ^ ((crc << 8) & 0xFFFFFF00L)
                                            IndexError: list index out of range

script failed.. any ideas?
find quote
wiggy Offline
Member
Posts: 90
Joined: Mar 2010
Reputation: 0
Post: #49
Fixed my problem with being unable to navagate to the folder Fanart splitter/Moview.

In the setting there is an option to show hidden paths, selected this and I can now successfully navigate to the mentioned folder! (Sorry I cant say where exactly in the settings it is as am at work but there are not too many options so you should be able to find it quite easy)

Hope this helps someone as It was driving me up the wall and fix was not so easy to find!
find quote
skaymakca Offline
Member
Posts: 53
Joined: Aug 2009
Reputation: 0
Post: #50
Sorry everyone, I haven't been on the boards in a while. Anyone still having problems?
find quote
Post Reply