[Release] Artwork Organizer Script

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Raytestrak Offline
Donor
Posts: 227
Joined: Sep 2011
Reputation: 1
Post: #11
Can I make a feature request?

Is it possible to copy the fanart in a seperate folder for each media source?
I have TV Series and Anime, both in the TV Shows database. They are stored in different folders and I have smart playlists in my menu to both of them. I'd like to setup a multi image for both of them, but I don't want my fanart mixed.

So: Let's say I have a source (or share) TVSHOWS and a share ANIME. Is it possible to make the script in such a way that it copies it in a folder structure like

\userdata\addon_data\script.artworkorganizer\TVShowFanart\TVSHOWS and
\userdata\addon_data\script.artworkorganizer\TVShowFanart\ANIME

I think this would be really handy for a lot of people.

I also have two small questions. Does it run automatically? And is it possible for XBMC to use the fanart from the script.artworkorganizer folders (instead of having the double amount of files).
find quote
ronie Offline
Team-XBMC Member
Posts: 8,247
Joined: Jan 2009
Reputation: 108
Post: #12
olafvs Wrote:Correct me if I am wrong, but doesn't that only work for backgrounds for the main menu?

I'm looking for an option to load the backgrounds for every individual movie I select.

ok, misunderstood your question.

i think it should be possible, but i'm not interested in adding it.

if you're looking for speed improvements, enable dds compressin in advanced settings.xml (if you haven't already done so)
and look into if it's possible to have xbmc cache your fanart to your ssd drive.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
ronie Offline
Team-XBMC Member
Posts: 8,247
Joined: Jan 2009
Reputation: 108
Post: #13
Lady Baerbel Wrote:OK! i have paste the logfile. http://pastebin.com/imd6krQN

please have a look

Your Baerbel Big Grin

cheers, there's seems to be an issue with special characters in filenames.
i'll look into it :-)

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
ronie Offline
Team-XBMC Member
Posts: 8,247
Joined: Jan 2009
Reputation: 108
Post: #14
sidewalksuper Wrote:Ronie, it looks like the update to v1.0 kind of messed up my artwork parsing or something.
I'm not sure but before I didn't have the issue, so I guess I'll post it here first Smile

I'm getting this error in the main menu using MQ3 latest RC update.
[Image: pL5dX.png]

I think I've pinned it correctly to the following issue in the log (it doesn't happen all the time, but a couple times throughout the log):
10:26:39 T:17444 INFO: msg: Premature end of JPEG file

Full log: http://pastebin.com/ATvkG7Tc

no clue why this happens, the script does a simple copy and past job,
so why some of the images get screwed....

could you check these images:
C:\Users\[username]\AppData\Roaming\XBMC\userdata\addon_data\script.artworkorganizer\TVShowFanart\F​ringe.tbn
C:\Users\[username]\AppData\Roaming\XBMC\userdata\Thumbnails\6\67422807.tbn

let me know if one or both are corrupt.
rename them to .jpg in case you can't open them

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
ronie Offline
Team-XBMC Member
Posts: 8,247
Joined: Jan 2009
Reputation: 108
Post: #15
Raytestrak Wrote:Is it possible to copy the fanart in a seperate folder for each media source?
nope, the script fetches a list of all your movies from the video database and doesn't know about paths.


Raytestrak Wrote:I also have two small questions. Does it run automatically?
no. you could make it run automatically if you mod the skin you're using though.

Raytestrak Wrote:And is it possible for XBMC to use the fanart from the script.artworkorganizer folders (instead of having the double amount of files).

this can only be done by hacking the skin code.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
sidewalksuper Offline
Senior Member
Posts: 132
Joined: Nov 2010
Reputation: 1
Post: #16
Ronie, I checked the images but both are perfectly fine when loading them with a normal viewer.
I thought it was weird as well because I switched between the Movies and TV menu a bunch of times to check if I was getting the problem alot.
Sometimes a backdrop would work normally (like Fringe) and then next time it wouldn't... very weird!

Thanks for checking though, maybe it's something with that specific build of xbmc

I also tried resetting MQ3 to default, but it didn't work.
(This post was last modified: 2011-09-07 19:49 by sidewalksuper.)
find quote
Wanilton Offline
Fan
Posts: 655
Joined: Jun 2010
Reputation: 13
Location: Florianópolis - Brazil
Post: #17
sidewalksuper, look this post, the problem is on XBMC and cached use images, Ronie sugested open track for dev, but I don´t know how procede about this...but it´s not problem skin ans not problem script...the fanarts broken when go to cache, where XBMC look for show...

http://www.xbmcbrasil.net
XBMC Brazilian Community Forum
find quote
sidewalksuper Offline
Senior Member
Posts: 132
Joined: Nov 2010
Reputation: 1
Post: #18
Hey Wanilton! Thanks alot for your post man, glad I'm not the only one Smile (not glad about the bug obviously Wink)
Also good to know that I don't have to look further with issues with the skin or script.

Thanks alot!
find quote
ronie Offline
Team-XBMC Member
Posts: 8,247
Joined: Jan 2009
Reputation: 108
Post: #19
Lady Baerbel Wrote:OK! i have paste the logfile. http://pastebin.com/imd6krQN

please have a look

Your Baerbel Big Grin

could you test if this version fixes your issue:
script.artworkorganizer-0.1.1.zip

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Raytestrak Offline
Donor
Posts: 227
Joined: Sep 2011
Reputation: 1
Post: #20
ronie Wrote:nope, the script fetches a list of all your movies from the video database and doesn't know about paths.

Is it possible for a future release though? Differentiating between sources?
I don't know anything about python scripts, but I'm guessing you need to query the database anyway. Somewhere there's a translation between the xbmc fanart folder structure and your structure, the path to the media is in there somewhere.

XBMC for Windows on an Intel NUC (DC3217IYE). Onkyo SR-706. Canton Movie CD-1000. LG 42LM760S

If it ain't broke: break it, fix it, repeat
find quote
Post Reply