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

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] cdART Manager Script (/showthread.php?tid=77031)



- jasonlcox - 2011-09-01

unabatedshagie Wrote:I have updated to 1.5.1

When I run it it works fine up until it starts sorting then it stalls. I have left it running for over 30 minutes and it sticks at the first artist "Weird" Al Yankovic.

Any ideas?

Mine is doing the same thing. Here is the log:

http://dl.dropbox.com/u/23557570/xbmc.old.log


- giftie - 2011-09-01

Thanks jason... I found the error you ran into. I would like to see unabatedshagie's log to see if the same problem was causing his problem before I push the fix to the repo.

The problem is on line 297 in the database.py file, I had copied something from the Eden version to the Dharma version, and for got that Dharma's responce is slightly different than Eden's

For those who want to try to fix it themselves, change line 297 from: (dharma version only - eden version is correct)
Code:
if name == local["artist"]:

To

Code:
if name == local["label"]:

Sometimes copy and paste bites back...

jasonlcox Wrote:Mine is doing the same thing. Here is the log:

http://dl.dropbox.com/u/23557570/xbmc.old.log



- jasonlcox - 2011-09-01

Thanks giftie, quick work!

Which file do I need to open to change that line? Sorry, I really have no experience with Linux or scripting.


- giftie - 2011-09-01

jasonlcox Wrote:Thanks giftie, quick work!

Which file do I need to open to change that line? Sorry, I really have no experience with Linux or scripting.

Sorry, I guess that would be useful. It's the database.py file.


- unabatedshagie - 2011-09-01

It will be a couple more hours until I can get home to get a debug log file to confirm if this is the same problem I'm having. Undecided


- jasonlcox - 2011-09-01

It's working now, thanks again giftie.


- unabatedshagie - 2011-09-01

Here is the last few lines of my log file.

http://pastebin.com/es2vRw3D


- spong_miester - 2011-09-01

Having the same problem here mate, how do i get and post the log on here


- unabatedshagie - 2011-09-01

spong_miester Wrote:Having the same problem here mate, how do i get and post the log on here

Enable debugging in the settings. It saves the file to the %appdata%/xbmc folder.

Then run cdart manager and when it gets stuck close xbmc browse to the file (it's called xbmc.txt or xbmc.log) and copy and past the info into pastebin.com and paste the link on here.


- giftie - 2011-09-01

unabatedshagie Wrote:Here is the last few lines of my log file.

http://pastebin.com/es2vRw3D

The problem is the same as the one jasoncox had, which my changes should fix it. I'll do another peek at the code, I think that was the only one that was different, then I'll get it pulled to the repo.


- unabatedshagie - 2011-09-01

giftie Wrote:The problem is the same as the one jasoncox had, which my changes should fix it. I'll do another peek at the code, I think that was the only one that was different, then I'll get it pulled to the repo.

Yeah, I made the change myself and it seems to be working for me now. Thanks.


- PatOso - 2011-09-01

giftie say:

Quote:Thanks jason... I found the error you ran into. I would like to see unabatedshagie's log to see if the same problem was causing his problem before I push the fix to the repo.

The problem is on line 297 in the database.py file, I had copied something from the Eden version to the Dharma version, and for got that Dharma's responce is slightly different than Eden's

For those who want to try to fix it themselves, change line 297 from: (dharma version only - eden version is correct)

Code:
if name == local["artist"]:To


Code:
if name == local["label"]:Sometimes copy and paste bites back...

Had the same problem, and it now works fine.
Thanks giftie


- harryremon - 2011-09-02

giftie Wrote:What version of Aeon Nox are you using? Also, double check your music path and see if logo.png shows up in the artist level.

Sorry for not answering for too long
I'm using the latest version of Aeon Nox 1.6.0
and there is my music path example:
music path
|___________Artist1
| |______logo.png
|___________Artist2
|______logo.png
It's created by the addon....I didn't modify it I set the path to "C:\Files\Music" in both the addon and skin and just let it do the rest.


- unabatedshagie - 2011-09-02

Meant to ask, how can I set the path to my music if it's on a network drive. There doesn't seem to be an option to select a network share or is it because of the skin I'm using Aeon MQ2?


- giftie - 2011-09-03

unabatedshagie Wrote:Meant to ask, how can I set the path to my music if it's on a network drive. There doesn't seem to be an option to select a network share or is it because of the skin I'm using Aeon MQ2?

You'll first need to add the path in the file manager as a source. Then it should be available to the Script.