[RELEASE] cdART Manager Script

  Thread Rating:
  • 6 Votes - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Hooper818 Offline
Junior Member
Posts: 24
Joined: Jun 2010
Reputation: 0
Post: #41
giftie Wrote:Hooper818 - What version of XBMC are you using?

MacLeod_1980 - What version of XBMC are you using?

Hi giftie, im using camelot 9.11.
find quote
giftie Online
Skilled Python Coder
Posts: 2,039
Joined: Mar 2010
Reputation: 35
Post: #42
Sorry it only works with Dharma or svn releases.
find quote
mrto Offline
Junior Member
Posts: 26
Joined: Sep 2009
Reputation: 0
Post: #43
giftie Wrote:Mrto - from my understanding the script.module.pil and pysqlite need to be built before the main make.
ie: ./bootstrap
./configure
make -C lib/addons/script.module.pil
make -C lib/addons/script.module.pysqlite
make
make install...

I may be wrong, but I did this once and it appeared in my addons folder.
Thanks, its working now.
find quote
Nate Dogg III Offline
Junior Member
Posts: 18
Joined: Jul 2009
Reputation: 0
Post: #44
Getting 'script failed' for this, here's a bit of my debug log:

Code:
11:20:38 T:2528 M:1442004992  NOTICE: -->Python Interpreter Initialized<--
11:20:38 T:2528 M:1442000896  NOTICE: C:\Users\Nathan\AppData\Roaming\XBMC\addons\script.cdartmanager\resources
11:20:38 T:2528 M:1441996800  NOTICE: ############################################################
11:20:38 T:2528 M:1441996800  NOTICE: #    CDArt Manager Script                                  #
11:20:38 T:2528 M:1441996800  NOTICE: #    script.cdartmanager                                   #
11:20:38 T:2528 M:1441894400  NOTICE: #    Giftie                                                #
11:20:38 T:2528 M:1441894400  NOTICE: #    0.9.8                                                 #
11:20:38 T:2528 M:1441894400  NOTICE: ############################################################
11:20:42 T:2528 M:1440862208   ERROR: Error Type: exceptions.ImportError
11:20:42 T:2528 M:1440862208   ERROR: Error Contents: No module named pysqlite2
11:20:42 T:2528 M:1440796672   ERROR: Traceback (most recent call last):
                                              File "C:\Users\Nathan\AppData\Roaming\XBMC\addons\script.cdartmanager\default.py", line 31, in ?
                                                import gui
                                              File "C:\Users\Nathan\AppData\Roaming\XBMC\addons\script.cdartmanager\resources\lib\gu​i.py", line 25, in ?
                                                from pysqlite2 import dbapi2 as sqlite3
                                            ImportError: No module named pysqlite2

Any ideas? Downloaded through the addons repo, running from the scripts menu, rev31504 for win7.
find quote
Tomkun Offline
Fan
Posts: 491
Joined: Jul 2004
Reputation: 4
Location: Japan
Post: #45
Hello there.

I have to say, that I really love the CDart, but I have been less than disappointed by my own efforts at creating them.

I realised quite quickly that I was having trouble making everything line up, especially when I used scans from websites. Sometimes the perspective is wrong, there is a shadow or whatever.

So, I started cropping only the labels, and removing anything that had didn't have any design on it. At first I was very pleased with the results, but when I saw them in XBMC, they looked odd.The most glaring issue was that each CD had a different sized hole in the middle.

So, with the aid of Gimp, and a couple of plugins, I have found a way to rectify this issue.

First, I created a blank CD image 454x454 and tried my best to make it look shiny like a blank CD does.

Second, I placed the labels I had already created over it and merged the layers.

Finally, I resized back to 450x450. (The reason I made the image slighty larger in the first place is because most CDs have a border around the label).

Now, I am very pleased with the results, although I am sure someone can make a better background image than I.

I'd love to show you the results, but I can't figure out how to upload pics.
find quote
giftie Online
Skilled Python Coder
Posts: 2,039
Joined: Mar 2010
Reputation: 35
Post: #46
Download a install a new version of XBMC(above 31632 I think) it will have the missing files(script.module.pysqlite) that you need.


Nate Dogg III Wrote:Getting 'script failed' for this, here's a bit of my debug log:


Any ideas? Downloaded through the addons repo, running from the scripts menu, rev31504 for win7.
find quote
redje Offline
Member
Posts: 93
Joined: Jan 2009
Reputation: 0
Post: #47
Tomkun Wrote:Hello there.

I have to say, that I really love the CDart, but I have been less than disappointed by my own efforts at creating them.

I realised quite quickly that I was having trouble making everything line up, especially when I used scans from websites. Sometimes the perspective is wrong, there is a shadow or whatever.

So, I started cropping only the labels, and removing anything that had didn't have any design on it. At first I was very pleased with the results, but when I saw them in XBMC, they looked odd.The most glaring issue was that each CD had a different sized hole in the middle.

So, with the aid of Gimp, and a couple of plugins, I have found a way to rectify this issue.

First, I created a blank CD image 454x454 and tried my best to make it look shiny like a blank CD does.

Second, I placed the labels I had already created over it and merged the layers.

Finally, I resized back to 450x450. (The reason I made the image slighty larger in the first place is because most CDs have a border around the label).

Now, I am very pleased with the results, although I am sure someone can make a better background image than I.

I'd love to show you the results, but I can't figure out how to upload pics.

i've been thinking about the same thing. Just didn't have the time to look at it yet. In most skins, there's a default fallback image of a blank cd. Maybe you could use one of them?
find quote
z][ggy Offline
Senior Member
Posts: 208
Joined: May 2009
Reputation: 0
Post: #48
ok i'm lost installed this from *.zip in svn Dharma it's installed fine how does one set it up and run it to download cd-arts for my collection lol?
find quote
giftie Online
Skilled Python Coder
Posts: 2,039
Joined: Mar 2010
Reputation: 35
Post: #49
Just a couple of questions first...

What version of XBMC are you using? - needs to be above 32000
What Platform are you using? - Linux(32bit) Linux(64bit) OSX, Windows?

If you are using a Linux build(or Live build for that matter) you might be missing some 'builtin' modules, mainly script.module.pysqlite(I have copies of both the 2bit and 64bit versions if needed)

Since you have it installed, from the Settings->Addons->Enabled Addons->Program Add-ons, click on cdART Manager. Move over to Settings and select.

A breakdown of what you see:

cdART Backup Folder - this is a location that cdART Manager can copy cdART images to and from. There is the ability to copy single cdARTs or all your cdARTS from your music folders to this folder and then copy back to the music folders(not often needed) Using this backup feature, you are also able to place cdARTs that you create and quickly place them in the required folders - as long as they follow the naming conventions mentioned later.

Unique Local cdART Folder - This is the location that will store the cdARTs when you use the Copy Unique Local cdARTs option(under Advanced). This will put all your local cdARTs that don't happen to match any criteria on XBMCSTUFF.com - this makes it a little easier to upload them to XBMCSTUFF.com. There are a few limitations(though they might be fixed before the next release)

Backup Saving format - this is where you set your desired file naming convention. There are only two format: 1) Artist/Album.png 2) artist - album.png. These are use for the backup and the unique copy sequences. In the next release the script will be able to read back both and only save in the one you choose. ver. 0.9.8(the one on the repo) it will only copy back from the folders based on the format selected.

Once all this is complete the script should run. The first thing it will do is search you XBMC's MyMusic7.db(you music library) for Artist and Albums. Then it will search your music folders for cdARTs and make a list of what is already existing. You have a couple of options on how to get the cdARTs, Manual(Search Artists) or Automatic(Automatic Download) I would suggest if it is your first run, to do an Automatic Download, though it does take time(depending on your music library size) but it should be the easiest to get you cdART collection on its way. After that you can use the Search Artists feature and find the ones that Automatic Downloading missed(it happens sometimes...)


I hope this gets you going....
find quote
z][ggy Offline
Senior Member
Posts: 208
Joined: May 2009
Reputation: 0
Post: #50
i'm using the latest dharma svn so no worries there and vista 64

thanks so much i'll read through and follow your guide Smile
find quote
Post Reply