Posts: 2,368
Joined: Mar 2010
Reputation:
60
giftie
Skilled Python Coder
Posts: 2,368
For accessing the music database yes, but I use sqlite to build a local database in the script(so I still need the module). I also use the PIL module to allow resizing of cdARTs(from whatever the user has to 450px by 450px for uploading to XBMCSTUFF.com)
Posts: 41
Joined: Aug 2009
Reputation:
0
Sorry if I didn't get it although it may have been posted before.
When I start the script it keeps telling me that it is 'retrieving music database. please wait'. Nothing actually happens but I can't stop the script and have to shutdown XBMC via task manager. CPU usage is at a 100%. It initially worked but I must have clicked/activated something wrong. Reinstalling the script doesn't work and astonishingly using another XBMC instance now causes the same behaviour. Music database is set up properly and the cdarts found before work flawlessly. You mentioned in an earlier post that 'you should try query the db using the http api'. What does that mean in this case?
Thanks.
Posts: 2,368
Joined: Mar 2010
Reputation:
60
giftie
Skilled Python Coder
Posts: 2,368
Could you both post a copy of your xbmc.log(use pastebin) so I can track down why this is occasionally happening...
Without seeing your log, I do think that to fix the problem right now, you need to go to userdata\addon_data\script.cdartmanager and delete the 'l_cdart.db' file(it's the local cdart database that the script uses)
That should get you back up and going...
Please don't forget to post your xbmc.log file...
Posts: 2,368
Joined: Mar 2010
Reputation:
60
giftie
Skilled Python Coder
Posts: 2,368
Windows required a slightly different way of saving the missing.txt file. This is where the lockup was occurring...
New version(1.0.6) with fix and alittle error trapping should show up on the repo soon..
Posts: 41
Joined: Aug 2009
Reputation:
0
Works like a charm now.
Thanks.
Posts: 2,368
Joined: Mar 2010
Reputation:
60
giftie
Skilled Python Coder
Posts: 2,368
Just wanted to ask the question:
Is there anything features you(the users) would like to be part of the script?
Looking at improving it for you guys...
Thanks...