[RELEASE] cdART Manager Script

  Thread Rating:
  • 6 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
paddl82 Offline
Junior Member
Posts: 1
Joined: Jul 2015
Reputation: 0
Post: #2221
Hello guys,

i have a problem with this addon. The database will not be updated.
but i do not understand the logfile. What is the problem?

thanks for help

Code:
12:34:03 T:4740 NOTICE: Thread LanguageInvoker start, auto delete: false
12:34:03 T:4740 NOTICE: -->Python Interpreter Initialized<--
12:34:04 T:4740 NOTICE: [cdART Manager] - ############################################################
12:34:04 T:4740 NOTICE: [cdART Manager] - # cdART Manager #
12:34:04 T:4740 NOTICE: [cdART Manager] - # default.py module #
12:34:04 T:4740 NOTICE: [cdART Manager] - # script.cdartmanager #
12:34:04 T:4740 NOTICE: [cdART Manager] - # Giftie #
12:34:04 T:4740 NOTICE: [cdART Manager] - # 4.0.5 #
12:34:04 T:4740 NOTICE: [cdART Manager] - # Ppic, Reaven, Imaginos, redje, Jair, #
12:34:04 T:4740 NOTICE: [cdART Manager] - # Chaos_666, Magnatism, Kode, Martijn #
12:34:04 T:4740 NOTICE: [cdART Manager] - # Thanks for the help guys... #
12:34:04 T:4740 NOTICE: [cdART Manager] - # Frodo #
12:34:04 T:4740 NOTICE: [cdART Manager] - ############################################################
12:34:04 T:4740 NOTICE: [cdART Manager] - Looking for settings.xml
12:34:04 T:4740 NOTICE: [cdART Manager] - Addon Work Folder: C:\Users\UPUP\AppData\Roaming\Kodi\userdata\addon_data\script.cdartmanager\
12:34:04 T:4740 NOTICE: [cdART Manager] - Addon Database: C:\Users\UPUP\AppData\Roaming\Kodi\userdata\addon_data\script.cdartmanager\l_cda​rt.db
12:34:04 T:4740 NOTICE: [cdART Manager] - Addon settings: C:\Users\UPUP\AppData\Roaming\Kodi\userdata\addon_data\script.cdartmanager\setti​ngs.xml
12:34:04 T:4740 NOTICE: [cdART Manager] - Addon Work Folder Found, Checking For Database
12:34:04 T:4740 NOTICE: [cdART Manager] - Addon Db Found, Checking Database Version
12:34:04 T:4740 NOTICE: [cdART Manager] - Looking for database version: 3.0.3
12:34:04 T:4740 ERROR: Traceback (most recent call last):
12:34:04 T:4740 ERROR: File "C:\Users\UPUP\AppData\Roaming\Kodi\addons\script.cdartmanager\default.py", line 482, in <module>
12:34:04 T:4740 ERROR: c.execute(query)
12:34:04 T:4740 ERROR: OperationalError: no such table: counts
12:34:04 T:4740 NOTICE: [cdART Manager] - # Error: OperationalError
12:34:04 T:4740 NOTICE: [cdART Manager] - Trying To Delete Database
12:34:04 T:4740 ERROR: XFILE::CFile::Delete - Error deleting file C:\Users\UPUP\AppData\Roaming\Kodi\userdata\addon_data\script.cdartmanager\l_cda​rt.db
12:34:07 T:4740 NOTICE: [cdART Manager] - # Setting up Script
12:34:07 T:4740 NOTICE: [cdART Manager] - Addon Db found - Loading Counts
12:34:07 T:4740 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'sqlite3.OperationalError'>
Error Contents: no such table: counts
Traceback (most recent call last):
File "C:\Users\UPUP\AppData\Roaming\Kodi\addons\script.cdartmanager\resources\lib\gui.​py", line 71, in onInit
self.setup_all()
File "C:\Users\UPUP\AppData\Roaming\Kodi\addons\script.cdartmanager\resources\lib\gui.​py", line 1037, in setup_all
all_artist_count, local_album_count, local_artist_count, local_cdart_count = new_local_count()
File "C:\Users\UPUP\AppData\Roaming\Kodi\addons\script.cdartmanager\resources\lib\data​base.py", line 718, in new_local_count
c.execute(query)
OperationalError: no such table: counts
-->End of Python script error report<--
12:34:34 T:4740 NOTICE: [cdART Manager] - Populating Artist List
12:36:41 T:4740 NOTICE: Previous line repeats 2 times.
12:36:41 T:4740 NOTICE: [cdART Manager] - # Executing Built-in - UpdateLibrary(music)
12:36:41 T:1572 NOTICE: Thread MusicInfoScanner start, auto delete: false
12:36:41 T:3936 NOTICE: Thread MusicFileCounter start, auto delete: false
12:38:15 T:1572 NOTICE: My Music: Scanning for music info using worker thread, operation took 01:33
12:38:15 T:1792 NOTICE: Thread JobWorker start, auto delete: true
18:34:17 T:4740 NOTICE: Previous line repeats 13 times.
18:34:17 T:4740 ERROR: XFILE::CDirectory::Create - Error creating C:\
18:34:17 T:4740 ERROR: Previous line repeats 1 times.
18:34:17 T:4740 ERROR: XFILE::CFile::Delete - Error deleting file C:\Users\UPUP\AppData\Roaming\Kodi\userdata\addon_data\script.cdartmanager\l_cda​rt.db
18:34:38 T:4740 ERROR: Traceback (most recent call last):
18:34:38 T:4740 ERROR: File "C:\Users\UPUP\AppData\Roaming\Kodi\addons\script.cdartmanager\resources\lib\data​base.py", line 619, in get_local_artists_db
18:34:38 T:4740 ERROR: c.execute(query)
18:34:38 T:4740 ERROR: OperationalError: no such table: lalist
18:34:38 T:4740 NOTICE: [cdART Manager] - Checking for artist match with fanart.tv - Get Recognized artists
18:34:38 T:4740 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'sqlite3.OperationalError'>
Error Contents: no such table: counts
Traceback (most recent call last):
File "C:\Users\UPUP\AppData\Roaming\Kodi\addons\script.cdartmanager\resources\lib\gui.​py", line 1279, in onClick
self.all_artists_list, self.album_artists = get_recognized( all_artists, local_artists )
File "C:\Users\UPUP\AppData\Roaming\Kodi\addons\script.cdartmanager\resources\lib\fana​rttv_scraper.py", line 371, in get_recognized
previous_datecode = retrieve_fanarttv_datecode()
File "C:\Users\UPUP\AppData\Roaming\Kodi\addons\script.cdartmanager\resources\lib\data​base.py", line 423, in retrieve_fanarttv_datecode
c.execute(query)
OperationalError: no such table: counts
-->End of Python script error report<--
find quote
mictino Offline
Junior Member
Posts: 5
Joined: Jul 2015
Reputation: 0
Post: #2222
Hello everyone. First post.

Just got introduced to Kodi about 2 months ago, and I'm loving it, building on my set up every day. I just finished using Artwork downloader, and I loved it, so I decided to give cdArt Manager a try. I have a few questions about the addon, and I think this is the right place to post? so here goes.


1. Is their an easy way to do a 'quick scan' or a specified scan if I were to add more music to my library? Currently, my initial scan is going on 5 hours, and I would hate to have to 'refresh addon database' again everytime I get a new album.

2. What skin do you think utilizes this best with Artist Slideshow?

3. (Kind of off topic, but I think relevant.) Does anyone have any experience with this modded version of Confluence to run Artist Slideshow? Most people are using Aeon MQ6 or something, and I really prefer confluence, and would still like to take advantage of, and see the cool new spinning CD I just downloaded from cdArt Manager.

4. Do albums composing of various artists (movie soundtracks, compilations, etc) give this thing a hard time? And if so, what is the proper formatting? I'd like to not have the artist pop up in my library if they're just on a soundtrack. (This also kind of ties into my first question, if their is an easy way to go back and change/update this relatively quickly.)

5, Any helpful hints and tips you would send my way?

Thank you all, I appreciate it very much. I'm very excited to have this scan finish. = )
find quote
stef.an Offline
Junior Member
Posts: 23
Joined: Jan 2015
Reputation: 10
Location: Germany
Post: #2223
Hello mictino, welcome to the forums - while I'm pretty new posting here here myself Smile

First of all: you have installed the addon from my github, and it's showing progress while scanning, right?
If you installed the version from the repo it will usually take forever wihtout any result. Read the last few pages for details.

You don't have to do a "refresh" if you get a new album. "Advanced->Modify Addon Database->Update Database" scans for changes and new files while "Refresh Database" does a full rebuild.
Even "Update" will take a little time on its first run because all downloaded artwork is also detected as a change but after that it will speed up.

I also use Aeon MQ (5 for Helix), it uses all possible artwork and i personally like the look.

For question 5 (also regarding the end of q4) I have this tip:
on every update the script makes a backup of the database. You'll find them in the script's data directory (usually userdata/addon_data/script.cdartmanager) and they are named l_cdard.db-Time-Of-The-Update.bak. So if anything goes wrong you can overwrite the current l_cdart.db with a backup known to work. And keep a copy of l_cdart.db after your initial scan in a safe place Smile
find quote
mictino Offline
Junior Member
Posts: 5
Joined: Jul 2015
Reputation: 0
Post: #2224
Hey Stef.an, and thanks for the warm welcome. = D

Man, I wish I would have seen this yesterday. I ran the cdArt Manager from the repo yesterday... took me 7 hours, and it didn't even work. Refused to launch any downloads. So sad...

But, it inspired me to download Musicbrainz Picard, and I'm going to organize the shit out of my music library.

I just found where you posted your version.

Would you mind going into more detail about the 'script's data directory'? I cannot seem to find this on my machine... I'm running Kodi on ubuntu. I'm going to organize/rename all my music, install your version of cdArt Manager, and give it a go tonight. I'll let you know how the progress goes.


And thanks again buddy. =)
find quote
gibxxi Offline
Fan
Posts: 486
Joined: Oct 2011
Reputation: 6
Post: #2225
micinto, look for a userdata -> addon_data folder. There should be one folder for every addon installed that uses a custom configuration. As far as I remember, it should be named exactly the same as the addon's own folder.

Bear in mind MusicBrainz isn't currently compatible with the way Kodi handles multiple artist assignments per album/track. Check THIS thread for details. Also, if you want your library to be processed quicker post-MusicBrainz tagging, avoid the Universal Scrapers and use AudioDB or whichever custom scraper you prefer (other than Universal). The requests Universal Artist Scraper/Album Scraper makes to various websites for the additional information updates will extend the scanning duration by a considerable amount by virtue of the fact that Kodi doesn't support a lot of MusicBrainz extended tags either.

[Image: all-thin-banner.jpg]
DT: Intel Core-i7 - 4770K / Nvidia GTX-770 | HTPC: Intel Core-i5 - 4670K / Nvidia GTX-750 Ti
TV: Sony KDL-40EX524 | AVR: Onkyo TX-NR515 | SPK: 2x Pioneer CS-7070 / 3x Tannoy F1 Custom
find quote
mictino Offline
Junior Member
Posts: 5
Joined: Jul 2015
Reputation: 0
Post: #2226
Hey everyone, so an update.

I have some good news, and bad news. There is always something = )

Good news is, using MusicBrainz Picard, I went through and organized my entire library, and I gotta say, it looks great. So I went to add it to my library, no problem there. Opened up cdArt Manager (stef.ans modded one for helix), and it is working great! I have yet to try artist slideshow, but it is working well.

One minor problem, I am getting dupes in my library view, even though their are none in my library. I have 3 "Kid Cudi", all spelled exactly the same, and I don't seem to know why. I've heard its the tags? I used musicbrainz for it all, so I thought they would be okay. Also, I used the AudioDB scraper when adding as a source, and enabled the option to have the scraper override/update song information.

Can anybody point me in the right direction here? My OCD is killing me... hahaha.

Thanks again everyone, I am making progress! =D
find quote
Fail$tyle420 Offline
Senior Member
Posts: 235
Joined: Jul 2014
Reputation: 1
Post: #2227
(2015-07-19 07:49)mictino Wrote:  Hey everyone, so an update.

I have some good news, and bad news. There is always something = )

Good news is, using MusicBrainz Picard, I went through and organized my entire library, and I gotta say, it looks great. So I went to add it to my library, no problem there. Opened up cdArt Manager (stef.ans modded one for helix), and it is working great! I have yet to try artist slideshow, but it is working well.

One minor problem, I am getting dupes in my library view, even though their are none in my library. I have 3 "Kid Cudi", all spelled exactly the same, and I don't seem to know why. I've heard its the tags? I used musicbrainz for it all, so I thought they would be okay. Also, I used the AudioDB scraper when adding as a source, and enabled the option to have the scraper override/update song information.

Can anybody point me in the right direction here? My OCD is killing me... hahaha.

Thanks again everyone, I am making progress! =D

In picard settings, set it to clear previous tags before writing, there may be a tag that is not being displayed.
find quote
martinconroy Offline
Member
Posts: 59
Joined: Dec 2011
Reputation: 0
Post: #2228
Sorry if I'm being stupid, but have tried clearing old installs and downloading from Helix branch of GitHub and installing, but still getting this error when I run... any ideas?

Code:
18:20:40 T:1240  NOTICE: [cdART Manager] - ############################################################
18:20:40 T:1240  NOTICE: [cdART Manager] - #    cdART Manager                                         #
18:20:40 T:1240  NOTICE: [cdART Manager] - #        default.py module                                 #
18:20:40 T:1240  NOTICE: [cdART Manager] - #    script.cdartmanager                                   #
18:20:40 T:1240  NOTICE: [cdART Manager] - #    Giftie                                                #
18:20:40 T:1240  NOTICE: [cdART Manager] - #    4.0.5                                                 #
18:20:40 T:1240  NOTICE: [cdART Manager] - #    Ppic, Reaven, Imaginos, redje, Jair,                  #
18:20:40 T:1240  NOTICE: [cdART Manager] - #    Chaos_666, Magnatism, Kode, Martijn                   #
18:20:40 T:1240  NOTICE: [cdART Manager] - #    Thanks for the help guys...                           #
18:20:40 T:1240  NOTICE: [cdART Manager] - #    Helix                                                 #
18:20:40 T:1240  NOTICE: [cdART Manager] - ############################################################
18:20:40 T:1240  NOTICE: [cdART Manager] - Looking for settings.xml
18:20:40 T:1240  NOTICE: [cdART Manager] - Addon Work Folder: C:\Users\Admin\AppData\Roaming\Kodi\userdata\addon_data\script.cdartmanager\
18:20:40 T:1240  NOTICE: [cdART Manager] - Addon Database: C:\Users\Admin\AppData\Roaming\Kodi\userdata\addon_data\script.cdartmanager\l_cd​art.db
18:20:40 T:1240  NOTICE: [cdART Manager] - Addon settings: C:\Users\Admin\AppData\Roaming\Kodi\userdata\addon_data\script.cdartmanager\sett​ings.xml
18:20:40 T:1240  NOTICE: [cdART Manager] - Addon Work Folder Found, Checking For Database
18:20:40 T:1240  NOTICE: [cdART Manager] - Addon Db not found, Must Be First Run
18:20:41 T:1240   ERROR: EXCEPTION: XML File for Window is missing
18:20:41 T:1240  NOTICE: [cdART Manager] - Error in script occured
18:20:41 T:1240   ERROR: Traceback (most recent call last):
18:20:41 T:1240   ERROR:   File "C:\Users\Admin\AppData\Roaming\Kodi\addons\script.cdartmanager-Helix\default.py", line 536, in <module>
18:20:41 T:1240   ERROR:     ui = gui.GUI( "script-cdartmanager.xml" , __addon__.getAddonInfo('path'), "Default")
18:20:41 T:1240   ERROR: RuntimeError: XML File for Window is missing
18:20:41 T:1240   ERROR: EXCEPTION: Dialog not created.
18:20:41 T:1240  NOTICE: Unexpected error:
18:20:41 T:1240  NOTICE: <type 'exceptions.RuntimeError'>
18:20:41 T:1240   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.RuntimeError'>
                                            Error Contents: Dialog not created.
                                            Traceback (most recent call last):
                                              File "C:\Users\Admin\AppData\Roaming\Kodi\addons\script.cdartmanager-Helix\default.py", line 544, in <module>
                                                dialog_msg( "close" )
                                              File "C:\Users\Admin\AppData\Roaming\Kodi\addons\script.cdartmanager-Helix\resources\lib\utils.py", line 316, in dialog_msg
                                                dialog.close()
                                            RuntimeError: Dialog not created.
                                            -->End of Python script error report<--
find quote
Post Reply