Kodi Community Forum

Full Version: [RELEASE] Video Fanart Splitter Script - Movie and TV Show FanArt Seperation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
ronie Wrote:if you would be so kind to post a Debug Log of the script failing,
i'll have a look at it.

This is the debug log of the error.
Hopethat you can help me.

23:30:26 T:3904 M:2837143552 NOTICE: -->Python Interpreter Initialized<--
23:30:28 T:3904 M:2834751488 ERROR: Error Type: exceptions.AttributeError
23:30:28 T:3904 M:2834751488 ERROR: Error Contents: 'module' object has no attribute 'symlink'
23:30:28 T:3904 M:2834669568 ERROR: Traceback (most recent call last):
File "C:\Users\Frank\AppData\Roaming\XBMC\addons\script.video-fanart-splitter-0.2.6\default.py", line 84, in ?
os.symlink(xbmc.translatePath("special://profile/Thumbnails/Video/Fanart/" + each + ".tbn"), xbmc.translatePath(addon_work_folder + "/Movies/" + each + ".tbn"))
AttributeError: 'module' object has no attribute 'symlink'
frankie303 Wrote:AttributeError: 'module' object has no attribute 'symlink'

hmm...looks like that's the 'symlink' version of the script someone posted a while ago.
as far as i know that one will only work on linux.

you may have better luck with this one:
script.video-fanart-splitter-v2.0.5.zip
ronie Wrote:hmm...looks like that's the 'symlink' version of the script someone posted a while ago.
as far as i know that one will only work on linux.

you may have better luck with this one:
script.video-fanart-splitter-v2.0.5.zip


Thanks. No script failure! But the script only puts the movies fanart in the "Movies" folder and the "TV" folder is empty. I have fanart from 2 movies and 2 tv-shows in the "Video" folder.

Do you know how i can solve this?
frankie303 Wrote:Thanks. No script failure! But the script only puts the movies fanart in the "Movies" folder and the "TV" folder is empty. I have fanart from 2 movies and 2 tv-shows in the "Video" folder.

Do you know how i can solve this?

not really...
the script basically depends on two things:
- you need to set up a movie and tv show library
- xbmc must have cached all the fanart images
(browsing thru all items in both libraries might help here)
Hello Ronie, i using skin.aeonmq3, in today version xbmc 11 (eden), I use your script artworkorganizer 0.0.4, good job, Marcos set for use with movies, tv shows, music and music videos fanart for rotate in home, work fine first time, but appears problems latter, with images broken, i believe cause is cached images by xbmc, there are way to set path in addon for images stored in addon folder only...thanks again
Wanilton Wrote:Hello Ronie, i using skin.aeonmq3, in today version xbmc 11 (eden), I use your script artworkorganizer 0.0.4, good job, Marcos set for use with movies, tv shows, music and music videos fanart for rotate in home, work fine first time, but appears problems latter, with images broken, i believe cause is cached images by xbmc, there are way to set path in addon for images stored in addon folder only...thanks again

i'm not seeing any issues...

are there any errors in the logfile (enable debug logging first)?

or can you provide the exact steps to reproduce this problem?
Ronie, the images fanart in addon folder it´s ok , no problem, but xbmc use cached image, these images when transferred to the cache as often corrupt, and it is these images that become corrupted shown on the home, my intention with the post is first, whether there is a way to clear the cache without it breaking the functioning of XBMC because it is crazy trying to find that the number of broken images that are having problems.
On the other hand I think as a user that the images should always come to where it is stored by the script and not in the cache folder, I hope that makes more sense now.
The script works correctly, fanart are the perfect state in the directory created by the script, this problem is to occur over time, since XBMC is using the image that is in the cache, and some of these fanarts become corrupted displayed on the home my question is: There is on way to get only fanarts images in folder created by the script, ignoring the same image in cached folders?
look this image camelot fanart - in tv shows
Image

and how the same image is in TvShowFanart folder
Image
Wanilton Wrote:Ronie, the images fanart in addon folder it´s ok , no problem, but xbmc use cached image, these images when transferred to the cache as often corrupt

that shouldn't be happening of course.

you should create a ticket on trac so the devs can look into it.

Wanilton Wrote:There is on way to get only fanarts images in folder created by the script, ignoring the same image in cached folders?
nope, this is all handled by xbmc, the script has no control over it.
Code:
16:43:04 T:3876 M:3191767040  NOTICE: -----------------------------------------------------------------------
16:43:04 T:3876 M:3191754752  NOTICE: Starting XBMC, Platform: Windows 7, 64-bit (WoW) Service Pack 1 build 7601. Built on Mar  8 2011 (Git:e9e9099, compiler 1500)
16:43:04 T:3876 M:3191754752  NOTICE: AMD Athlon(tm) II X2 210e Processor
16:43:04 T:3876 M:3191754752  NOTICE: Desktop Resolution: 1920x1080 32Bit at 60Hz
16:43:04 T:3876 M:3191754752  NOTICE: Running with restricted rights
16:43:04 T:3876 M:3191754752  NOTICE: special://xbmc/ is mapped to: C:\Program Files (x86)\XBMC
16:43:04 T:3876 M:3191754752  NOTICE: special://xbmcbin/ is mapped to: C:\Program Files (x86)\XBMC
16:43:04 T:3876 M:3191754752  NOTICE: special://masterprofile/ is mapped to: C:\Users\jpiccolo\AppData\Roaming\XBMC\userdata
16:43:04 T:3876 M:3191754752  NOTICE: special://home/ is mapped to: C:\Users\jpiccolo\AppData\Roaming\XBMC
16:43:04 T:3876 M:3191754752  NOTICE: special://temp/ is mapped to: C:\Users\jpiccolo\AppData\Roaming\XBMC\cache
16:43:04 T:3876 M:3191754752  NOTICE: The executable running is: C:\Program Files (x86)\XBMC\XBMC.exe
16:43:04 T:3876 M:3191754752  NOTICE: Log File is located: C:\Users\jpiccolo\AppData\Roaming\XBMC\xbmc.log
16:43:04 T:3876 M:3191754752  NOTICE: -----------------------------------------------------------------------
16:43:04 T:3876 M:3191734272  NOTICE: Setup SDL
16:43:04 T:3876 M:3191468032  NOTICE: Found screen: Generic PnP Monitor on NVIDIA GeForce GT 430, adapter 0.
..i removed a bunch of the same lines..
16:43:04 T:3876 M:3191296000  NOTICE: load settings...
16:43:04 T:3876 M:3191123968  NOTICE: special://profile/ is mapped to: special://masterprofile/
16:43:04 T:3876 M:3191123968  NOTICE: loading special://masterprofile/guisettings.xml
16:43:04 T:3876 M:3190738944  NOTICE: Getting hardware information now...
16:43:04 T:3876 M:3190738944  NOTICE: Checking resolution 11
16:43:04 T:3876 M:3190726656  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
16:43:04 T:3876 M:3190714368  NOTICE: Loaded playercorefactory configuration
16:43:04 T:3876 M:3190714368  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
16:43:04 T:3876 M:3190714368  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
16:43:04 T:3876 M:3190714368  NOTICE: No advancedsettings.xml to load (special://masterprofile/advancedsettings.xml)
16:43:04 T:3876 M:3190644736  NOTICE: Default DVD Player: dvdplayer
16:43:04 T:3876 M:3190644736  NOTICE: Default Video Player: dvdplayer
16:43:04 T:3876 M:3190644736  NOTICE: Default Audio Player: paplayer
16:43:04 T:3876 M:3190771712  NOTICE: Loading media sources from special://masterprofile/sources.xml
16:43:04 T:3876 M:3174961152  NOTICE: initializing playlistplayer
16:43:04 T:3876 M:3174961152  NOTICE: DONE initializing playlistplayer
16:43:05 T:3876 M:3141373952  NOTICE: CApplication::UpdateLibraries - Starting video library startup scan
16:43:05 T:3876 M:3141545984  NOTICE: initialize done
16:43:05 T:3876 M:3141545984  NOTICE: Running the application...
16:43:05 T:1592 M:3141021696  NOTICE: VideoInfoScanner: Starting scan ..
16:43:05 T:3876 M:3140210688  NOTICE: Webserver: Starting...
16:43:05 T:3876 M:3139592192  NOTICE: WebServer: Started the webserver
16:43:05 T:3876 M:3139592192  NOTICE: starting upnp renderer
16:43:05 T:3876 M:3138658304  NOTICE: ES: Starting event server
16:43:05 T:3852 M:3135787008  NOTICE: -->Python Interpreter Initialized<--
16:43:05 T:3732 M:3135209472  NOTICE: -->Python Interpreter Initialized<--
16:43:05 T:3848 M:3134365696  NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
16:43:05 T:3848 M:3134365696  NOTICE: UDP: Listening on port 9777
16:43:06 T:3880 M:3134722048  NOTICE: -->Python Interpreter Initialized<--
16:43:07 T:3732 M:3130957824  NOTICE: ### TV-Show Next-Aired starting ...
16:43:07 T:3732 M:3130957824  NOTICE: ### author: Ppic, Frost
16:43:07 T:3732 M:3130957824  NOTICE: ### URL: http://code.google.com/p/passion-xbmc/
16:43:07 T:3732 M:3130957824  NOTICE: ### credits: Team Passion-XBMC, http://passion-xbmc.org/
16:43:07 T:3732 M:3130957824  NOTICE: ### date: 17-10-2010
16:43:07 T:3732 M:3130957824  NOTICE: ### version: 2.1.2
16:43:07 T:3732 M:3133181952  NOTICE: {'silent': 'True'}
16:43:07 T:3732 M:3134095360  NOTICE: ###db less than 24, fetch local data...
16:43:07 T:3732 M:3131121664  NOTICE: ### Load list: C:\Users\jpiccolo\AppData\Roaming\XBMC\userdata\addon_data\script.tv.show.next.aired\next_aired.db
16:43:08 T:3732 M:3132964864  NOTICE: ###data available
16:43:08 T:3732 M:3132874752  NOTICE: ### next list: 50 shows ### [{'Status': 'New Series', 'ep_img':
16:43:08 T:3732 M:3132870656  NOTICE: 2011-08-26
16:43:08 T:3732 M:3132870656  NOTICE: ################
16:43:08 T:3732 M:3132977152  NOTICE: ###Haven
16:43:08 T:3732 M:3132977152  NOTICE: TODAY
16:43:08 T:3732 M:3132977152  NOTICE: ###02x07^The Tides That Bind^Aug/26/2011
16:43:08 T:3732 M:3132977152  NOTICE: ###2011-08-26T22:00:00-4:00
16:43:08 T:3732 M:3132977152  NOTICE: 2011-08-26
16:43:08 T:3732 M:3129348096  NOTICE: ################
16:43:08 T:3732 M:3129348096  NOTICE: ###White Collar
16:43:08 T:3732 M:3128356864  NOTICE: ###03x11^Season 3, Episode 11^Jan/2012
16:43:08 T:3732 M:3128356864  NOTICE: ###no rfc
16:43:08 T:3732 M:3128356864  NOTICE: ###today show: 1 - 'Haven'
16:43:10 T:3880 M:3119951872  NOTICE: {'unplayed': 'True', 'albums': 'False', 'limit': '8', 'totals': 'True'}
16:43:49 T:2140 M:3104808960  NOTICE: -->Python Interpreter Initialized<--
16:43:49 T:2140 M:3098824704  NOTICE: {'unplayed': 'True', 'albums': 'False', 'limit': '8', 'totals': 'True'}
16:43:51 T:3964 M:3098918912 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn
16:43:52 T:3604 M:3123712000  NOTICE: -->Python Interpreter Initialized<--
16:43:55 T:3604 M:3115855872   ERROR: Error Type: exceptions.IndexError
16:43:55 T:3604 M:3115855872   ERROR: Error Contents: list index out of range
16:43:55 T:3604 M:3115782144   ERROR: Traceback (most recent call last):
                                              File "C:\Users\jpiccolo\AppData\Roaming\XBMC\addons\script.video-fanart-splitter\default.py", line 75, in ?
                                                each = getCrc(cur_raw.split("</field><field>")[0][7:] + cur_raw.split("</field><field>")[1][:-8])
                                            IndexError: list index out of range

any help here?
tgpfarm Wrote:any help here?

please use pastebin for logs and also enable debug logging.

do you have any movies in your library?
I just wanted to say a big thank you for this script! This is something I've been looking to do since the very first time I installed xbmc.
for pre-eden / nightly build users:
the artwork organizer script is now available in the addon repo.
Just figured out an easy way to have a username/password on HTTP with this script people might be interested in.

In settings just change the hostname to...

<username>:<password>@<hostname/IP>

Works perfectly for my setup at least.

[EDIT] I should probably say that it's not the most secure way of doing things as your password is visible in plaintext to anyone who has access to your remote and TV that wants to look at the settings, but for me it's not a problem.
Is there a way to let the script work automatically once a week?
Now when you've added new movies the backdrops won't be shown on the mainscreen in MQ2 untill I ran this script manually.

It would be easier if it runs automatically once a week orso.
I'm a complete xbmc newbie
I installed the fanart splitter 0.2.0 on xbmc 10.1

How do I run this script? It's enabled and I change settings etc. It doesn't create folders.

What am I missing? And yes you can use your outside voice when laughing Smile
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14