[Release] Artwork Organizer Script

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ronie Offline
Team-XBMC Member
Posts: 8,254
Joined: Jan 2009
Reputation: 108
Post: #171
(2013-03-24 04:02)Reroshaggy Wrote:  Thanks. Any idea if there is an add-on I had missed that does what I was looking?

not sure...maybe one of these can do what you're looking for:

http://forum.xbmc.org/showthread.php?tid=158373

http://forum.xbmc.org/showthread.php?tid=158972

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
Reroshaggy Offline
Junior Member
Posts: 8
Joined: Mar 2013
Reputation: 0
Post: #172
Thanks i'll look into them. Texture cache looks like a maybe but the other I don't think so. Just trying to keep junk files cleaned as I just deleted 1000 or so extra images off my HDD.
find quote
cw-kid Offline
Fan
Posts: 560
Joined: Jun 2012
Reputation: 0
Post: #173
Hi

I was trying to follow the instructions here for Aeon MQ4 to setup rotating music artist fanart.

On his screen shot he has used the option in the Artwork Organizer add-on to select a Destination Directory:

[Image: artworkorganizer.jpg]

However when I try and select my media folder located at:

/home/xbmc/.xbmc/media

When I select Home Folder I then cannot see any of the sub folders in XBMC to select that media folder.

Not sure why this is?

Some more screen shots and description here: http://forum.xbmc.org/showthread.php?tid...pid1385284

Thanks

RESOLVED: Had to turn on an option in XBMC settings to see hidden system files !
(This post was last modified: 2013-04-02 17:50 by cw-kid.)
find quote
Algorithmic Offline
Junior Member
Posts: 11
Joined: Apr 2013
Reputation: 0
Post: #174
This isn't grabbing all the fan art that is downloaded, rather it is just getting the fan art I have set up under TV show information.

How can I make it grab ALL the fan art that has been downloaded? For example, one show has 30 fan art images, this only grabs the one that is set under artwork for the show.
find quote
ronie Offline
Team-XBMC Member
Posts: 8,254
Joined: Jan 2009
Reputation: 108
Post: #175
you can't. it only grabs the default fanart image which is stored in your video db.

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
strow9 Offline
Junior Member
Posts: 1
Joined: Apr 2013
Reputation: 0
Post: #176
Hi Ronie,

I recently switched from a WMC+media browser setup to XBMC, and the only thing I was missing about my previous setup was the now playing screen for music, which had a background made up of all my album art as I'm not a fan of intense visualizers. Just managed to accomplish a similar sort of thing through Aeon Nox with this script.

I just wanted to thank you for your work creating this--I've been blown away by how well the XBMC community manages this whole project, and with people like yourself donating time.

Also a troubleshooting tip for any other noobs out there (mentioned previously somewhere in these 18 pages, but took a while for me to find): if your destination directory isn't populating with artwork but the script appears to be running fine, try launching XBMC as an admin.

Cheers!
(This post was last modified: 2013-04-13 23:57 by strow9.)
find quote
Raytestrak Offline
Member+
Posts: 228
Joined: Sep 2011
Reputation: 1
Post: #177
I've found a minor bug. I organize my artwork into my skin directory so xbmc doesn't cache everything, but the _delete_directories subroutine fails when using special://skin/_fanart/. When using the full path, /storage/.xbmc/addons/skin.aeon.nox/_fanart/, it works just fine.

I thought it was me at first, since I've modified the default.py on order to organize my fanart into multiple folders based upon different network folders (tvshowfanart is split up into anime and tvshows for instance), but since it doesn't happen for other parts of artwork organizer, it had to be something else.

I'm also wondering why the _delete_directories enumerates files before deleting them. why not delete the main folder in one go since the next routine in the script is _create_directories?

Code:
def _delete_directories( self ):
        if xbmcvfs.exists( self.directory ):
            dirs, files = xbmcvfs.listdir( self.directory )
            for item in dirs:
                try:
                    shutil.rmtree( os.path.join(self.directory, item) )
                except:
                    pass

instead of

Code:
def _delete_directories( self ):
     try:
          shutil.rmtree( self.directory )
     except:
          pass

something like that, but working, since this doesn't work Tongue

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
Martijn Offline
Team-XBMC
Posts: 7,705
Joined: Jul 2011
Reputation: 114
Location: Dawn of time
Post: #178
You clearly don't take into account that that won't work on every platform
find quote
Raytestrak Offline
Member+
Posts: 228
Joined: Sep 2011
Reputation: 1
Post: #179
(2013-05-13 19:32)Martijn Wrote:  You clearly don't take into account that that won't work on every platform

Please explain. I changed all my hard paths to special:// in my guisettings.xml and add-on settings when I was on windows and had a portable install. This worked for just about everything, except for this obviously. Everything in this plugin works with special://, except for the delete part. If I could get this to work for this, it would be skin independent (xbmc does not cache files only if they are read from the current skin folder, if it loads images from an inactive skin folder, everything still gets cached).

Now I'm running OpenElec and don't need it anymore, but I was just wondering. I just hadn't noticed it before. Or are you talking about the script part?
I know jack about python, but again, just wondering.

I'm only trying to learn Martijn.

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
(This post was last modified: 2013-05-13 21:07 by Raytestrak.)
find quote
Post Reply