XBMC Community Forum
[RELEASE] cdART Manager Script - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] cdART Manager Script (/showthread.php?tid=77031)



- Kode - 2011-08-17 10:28

ghostelement Wrote:Ok, I see what you mean now. I wouldn't turn that on since I would be afraid of it creating empty folders and then when browsing music outside of xbmc, you would be confused about why there are no songs in the directory.

You could always set your music path outside your music directory.


- Quokka1979 - 2011-08-17 11:11

I did do that my self.
Setting up 3 dir.

1. Path to Music library: \XBMC\Music
2. CDArt backup folder:\XBMC\XBMC images\CD Art Backup
3. Unique CDArt folder: \XBMC\XBMC images\CD Art

1. My music is there
2. CDArt backup goes here
3. Nothing goes here, when auto download. all art goes here in the Artist folder.

What am I doing wrong, and how can I change a Logo manualy?

Thanks


- giftie - 2011-08-17 18:49

Kode Wrote:You could always set your music path outside your music directory.

Which is what I do.. Smile Just the cdart.png and folder.jpg images need to go into the artist/album path... Glad someone else figured that out.. Now I just need to figure out how to get N*E*R*D to work('*' wildcards really kill paths.. Smile )


- giftie - 2011-08-17 19:28

Quokka1979 Wrote:I did do that my self.
Setting up 3 dir.

1. Path to Music library: \XBMC\Music
2. CDArt backup folder:\XBMC\XBMC images\CD Art Backup
3. Unique CDArt folder: \XBMC\XBMC images\CD Art

1. My music is there
2. CDArt backup goes here
3. Nothing goes here, when auto download. all art goes here in the Artist folder.

What am I doing wrong, and how can I change a Logo manualy?

Thanks

To have the logo.png, fanart.jpg and extrafanart to be separate from the music library files you need to adjust the 'Path to Music Library' folder. This path is only used for those items. cdARTs and folder.jpgs need to go into the Artist/Album path, this can not be changed.


- giftie - 2011-08-17 19:28

I guess I need to break things down a bit, as it can be a bit confusing..

Settings:
Files & Folders

Path to music library

This path represents the path skins use to access the ClearLOGOs(logo.png) and extrafanart on an artist level. This path does not need to point directly to your music library if you don't want to clutter up your music with ClearLOGOs or extrafanart. You can set up an 'Artwork' path which both your skins and the script will point to.

cdART Backup Folder

This is the path where you would like your cdARTs to be copied to if you use the backup feature from the Advanced menu in the script.

Unique Local cdART folder

This is the path where you would like your unique cdARTs to be copied to if you use the 'Copy Unique Local cdARTs' option from the Advanced menu in the script. Also there is an option right after this for resizing of the cdARTs. This was for XBMCSTUFF.org since there was a size limit to 450x450. This probably will be removed before the scripts release to the Official Repo as this is not needed anymore.

Backup Saving Format

There are two choices here. Artist/Album.png or Artist - Album.png. This is used by the script to name the cdARTs when using one of the backup options from the Advanced menu. Since normally all the cdARTs are named cdart.png the script needs to rename them when storing them in the backup folder.


Custom Colours

This is where you get to select the colouring of the text labels you want displayed within the script.


Extra Settings

Overwrite Low-Res Existing cdARTs

If enabled, the script will look at the resolution of the local cdART and compare it to the one found on fanart.tv. If the local is smaller than 1000x1000 and the one on fanart.tv is 1000x1000 it will download from fanart.tv. This only is used for automatic download, as you can always overwrite when using the manual method. Also Cover Arts(folder.jpg) will always be overwritten as fanart.tv only has the resolution of 1000x1000 available.

Notify During Background Database Build

If enabled, the script will use the XBMC notification popup to show Artist & Album info while the background db is being built. This can be pretty noisy if you have skin sounds turned on.

Notify At End of Background Database Build

If enabled, the script will use the XBMC notification popup to show that the DB is finished being built(it is also displayed for 2 seconds)

Build Database in Background

Clicking on this will start the script building the Database in the Background. This allows you to continue on enjoying XBMC while the script does it's thing. To exit the settings, just click on the 'OK' button.


- Quokka1979 - 2011-08-17 22:29

giftie Wrote:To have the logo.png, fanart.jpg and extrafanart to be separate from the music library files you need to adjust the 'Path to Music Library' folder. This path is only used for those items. cdARTs and folder.jpgs need to go into the Artist/Album path, this can not be changed.

Thanks for letting me know.
So I started redoing my music lib.

Arist1/album1
Arist1/album2
Arist1/album3/cd1
Arist1/album3/cd1
Arist2/album1

But how do I do this for greatest hits & soundtracks?


- giftie - 2011-08-18 00:19

Greatest hits would still follow the same format:

Aerosmith/Greatest Hits/tracks...

for Compilation CDs:

Various Artists/Album/tracks...

Also, if you are using a tagging program to fix up ID3/APE tags, look in to something that uses MusicBrainz as a source(both the script and fanart.tv use MusicBrainz)


- thereddog - 2011-08-19 04:26

I just installed the addon and went into settings, but there is no place to add my music library. What am I overlooking? (Night skin)


- giftie - 2011-08-19 06:30

thereddog Wrote:I just installed the addon and went into settings, but there is no place to add my music library. What am I overlooking? (Night skin)

Which version are you using?


Script. - Tommy2012 - 2011-08-19 19:03

Hi Giftie

Hope u can assist please. I keep getting script failed. Is there a solution to making your script work for me? Your help will be much appreciated



18:54:39 T:2886095552 NOTICE: -----------------------------------------------------------------------
18:54:39 T:2886095552 NOTICE: Starting XBMC, Platform: Mac OS X (11.1.0 x86_64). Built on Aug 18 2011 (Git:20110818-ebbad80)
18:54:39 T:2886095552 NOTICE: special://xbmc/ is mapped to: /Volumes/XBMC/XBMC.app/Contents/Resources/XBMC
18:54:39 T:2886095552 NOTICE: special://xbmcbin/ is mapped to: /Volumes/XBMC/XBMC.app/Contents/Resources/XBMC:54:56 T:2960916480 DEBUG: Process - Entering source directory /Users/manuel/Library/Application Support/XBMC/addons/Giftie-script.cdartmanager-0f718ea
18:54:56 T:2960916480 DEBUG: Instantiating addon using automatically obtained id of "script.cdartmanager" dependent on version 2.0 of the xbmc.python api
18:54:56 T:2960916480 NOTICE: [script.cdartmanager] - ############################################################
18:54:56 T:2960916480 NOTICE: [script.cdartmanager] - # cdART Manager #
18:54:56 T:2960916480 NOTICE: [script.cdartmanager] - # default.py module #
18:54:56 T:2960916480 NOTICE: [script.cdartmanager] - # script.cdartmanager #
18:54:56 T:2960916480 NOTICE: [script.cdartmanager] - # Giftie #
18:54:56 T:2960916480 NOTICE: [script.cdartmanager] - # 1.5.0 #
18:54:56 T:2960916480 NOTICE: [script.cdartmanager] - # Ppic, Reaven, Imaginos, redje, Jair, #
18:54:56 T:2960916480 NOTICE: [script.cdartmanager] - # Chaos_666, Magnatism, Kode #
18:54:56 T:2960916480 NOTICE: [script.cdartmanager] - # Thanks for the help guys... #
18:54:56 T:2960916480 NOTICE: [script.cdartmanager] - ############################################################
18:54:56 T:2960916480 NOTICE: [script.cdartmanager] - Addon Work Folder: /Users/manuel/Library/Application Support/XBMC/userdata/addon_data/script.cdartmanager/
18:54:56 T:2960916480 NOTICE: [script.cdartmanager] - Addon Database: /Users/manuel/Library/Application Support/XBMC/userdata/addon_data/script.cdartmanager/l_cdart.db
18:54:56 T:2960916480 NOTICE: [script.cdartmanager] - Addon settings: /Users/manuel/Library/Application Support/XBMC/userdata/addon_data/script.cdartmanager/settings.xml
18:54:56 T:2960916480 NOTICE: [script.cdartmanager] - Looking for settings.xml
18:54:56 T:2960916480 NOTICE: [script.cdartmanager] - Addon Work Folder Found, Checking For Database
18:54:56 T:2960916480 NOTICE: [script.cdartmanager] - Addon Db not found, Must Be First Run
18:54:56 T:2960916480 INFO: -->Python script returned the following error<--
18:54:56 T:2960916480 ERROR: Error Type: <type 'exceptions.ImportError'>
18:54:56 T:2960916480 ERROR: Error Contents: No module named PIL
18:54:56 T:2960916480 ERROR: Traceback (most recent call last):
File "/Users/manuel/Library/Application Support/XBMC/addons/Giftie-script.cdartmanager-0f718ea/default.py", line 149, in <module>
import gui
File "/Users/manuel/Library/Application Support/XBMC/addons/Giftie-script.cdartmanager-0f718ea/resources/lib/gui.py", line 15, in <module>
from PIL import Image
ImportError: No module named PIL
18:54:56 T:2960916480 INFO: -->End of Python script error report<--
18:54:56 T:2960916480 INFO: Python script stopped
18:54:56 T:2960916480 DEBUG: Thread XBPyThread 2960916480 terminating
18:54:56 T:2886095552 DEBUG: waiting for python thread 2 to stop
18:54:56 T:2886095552 DEBUG: python thread 2 destructed
18:54:56 T:2886095552 DEBUG: ------ Window Init (DialogKaiToast.xml) ------