• 1
  • 2
  • 3(current)
  • 4
  • 5
  • 14
[RELEASE] Video Fanart Splitter Script - Movie and TV Show FanArt Seperation
#31
I just downloaded the file in the first post and it seemed to come down just fine. He might of had a server issue when you tried to download the first time.
Reply
#32
Sorry for the late response, the link does seem to work on my system as well.
Reply
#33
I have a question. I can't seem to get this to run on a Linux install. I thought it would either go in the /home/xbmc/.xbmc/scripts or /usr/share/xbmc/scripts/

Either place I put it it doesn't run. I figured it would go in the /home/xbmc/.xbmc/scripts directory if anything due to permissions, but it doesn't. It does create a Folder called /home/xbmc/.xbmc/UserData/ folder Video Fanart Splitter, but after that it just stops.

Is there any permissions that needs to be setup prior to running?
Reply
#34
What sections would you go about changing it if you dont use the application data folder and just everything is in the program files?
Reply
#35
You can check your xbmc.log under .xbmc/temp for whatever errors are being raised.

I tried it on an ubuntu 9.10 vm with xbmc stable and it didn't work. The third party library I'm using for sqlite access, pysqlite, is now longer loading on linux. I will look into the solution and post a fix later.

kizer Wrote:I have a question. I can't seem to get this to run on a Linux install. I thought it would either go in the /home/xbmc/.xbmc/scripts or /usr/share/xbmc/scripts/

Either place I put it it doesn't run. I figured it would go in the /home/xbmc/.xbmc/scripts directory if anything due to permissions, but it doesn't. It does create a Folder called /home/xbmc/.xbmc/UserData/ folder Video Fanart Splitter, but after that it just stops.

Is there any permissions that needs to be setup prior to running?
Reply
#36
jonzz Wrote:What sections would you go about changing it if you dont use the application data folder and just everything is in the program files?

Every file description in default.py the ones that contain:

Code:
special://home/userdata/

would have to be changed to wherever you want to store the script, where the videos34.db file is, and where you want the output files to be stored.

I'll look into fixing this and creating a way for easier to use custom folder output in the future.
Reply
#37
skaymakca Wrote:You can check your xbmc.log under .xbmc/temp for whatever errors are being raised.

I tried it on an ubuntu 9.10 vm with xbmc stable and it didn't work. The third party library I'm using for sqlite access, pysqlite, is now longer loading on linux. I will look into the solution and post a fix later.

Thanks for the heads up on the error log. I keep forgetting it generates that. Ive been away from Linux way to long. Wink
I was trying this on a 9.04 build, but I'll take a look at the error log.
Reply
#38
I just checked the /xbmc/.xbmc/ and I don't even seem to be anything written to it. I'm running 9.11 but heck I don't know any more.
r24548
Reply
#39
I have the same problem as kizer on my Ubuntu 9.04 box with Transparency! skin. Here are error logs. Could you please help?

Quote:10:29:02 T:2862779280 M:1663107072 DEBUG: xbp_dlopen loading python lib /home/xbmc/.xbmc/scripts/Video Fanart Splitter/platform_libraries/Linux/pysqlite2/_sqlite.so. flags: 2
10:29:02 T:2862779280 M:1663107072 DEBUG: Loading: /home/xbmc/.xbmc/scripts/Video Fanart Splitter/platform_libraries/Linux/pysqlite2/_sqlite.so
10:29:02 T:2862779280 M:1663107072 DEBUG: RegisterExtensionLib, adding _sqlite.so (0xa0aa4fe8)
10:29:02 T:2862779280 M:1663107072 DEBUG: xbp_dlsym - load symbol init_sqlite
10:29:02 T:2862779280 M:1663107072 INFO: -->Python script returned the following error<--
10:29:02 T:2862779280 M:1663107072 ERROR: Error Type: exceptions.IndexError
10:29:02 T:2862779280 M:1663107072 ERROR: Error Contents: list index out of range
10:29:02 T:2862779280 M:1663107072 ERROR: Traceback (most recent call last):
File "/home/xbmc/.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 "/home/xbmc/.xbmc/scripts/Video Fanart Splitter/default.py", line 24, in getCrc
crc = hex(g(filename.lower()))
File "/home/xbmc/.xbmc/scripts/Video Fanart Splitter/crcmod.py", line 403, in crcfun
return fun(data, crc, table)
File "/home/xbmc/.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
10:29:02 T:2862779280 M:1663107072 INFO: -->End of Python script error report<--
Reply
#40
Good work on writing this script skaymakca Big Grin but I have the same problem as kyouhei and kizer here - hopefully you will come up with a solution soon!
Reply
#41
How about on Linux system instead of copy, do a "symbolic link" to avoid double fanart files and will speed up a lot.
Reply
#42
Has anybody managed to get this working on Live yet?
Reply
#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<--
Reply
#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)
Reply
#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
Reply
  • 1
  • 2
  • 3(current)
  • 4
  • 5
  • 14

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Video Fanart Splitter Script - Movie and TV Show FanArt Seperation2
This forum uses Lukasz Tkacz MyBB addons.