• 1
  • 147
  • 148
  • 149(current)
  • 150
  • 151
  • 157
[RELEASE] cdART Manager Script
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_cdart.db
12:34:04 T:4740 NOTICE: [cdART Manager] - Addon settings: C:\Users\UPUP\AppData\Roaming\Kodi\userdata\addon_data\script.cdartmanager\settings.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_cdart.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\database.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_cdart.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\database.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\fanarttv_scraper.py", line 371, in get_recognized
previous_datecode = retrieve_fanarttv_datecode()
File "C:\Users\UPUP\AppData\Roaming\Kodi\addons\script.cdartmanager\resources\lib\database.py", line 423, in retrieve_fanarttv_datecode
c.execute(query)
OperationalError: no such table: counts
-->End of Python script error report<--
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. = )
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
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. =)
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
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
(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.
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_cdart.db
18:20:40 T:1240  NOTICE: [cdART Manager] - Addon settings: C:\Users\Admin\AppData\Roaming\Kodi\userdata\addon_data\script.cdartmanager\settings.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<--
I have downloaded and installed the Helix version from https://github.com/stefansielaff/script....tree/Helix
Any way I can run the program in the background instead of it being on screen for long for hours? Many thanks
There is a way, but it's... complicated: http://forum.kodi.tv/showthread.php?tid=...pid1904723
(2015-07-20, 09:01)Fail$tyle420 Wrote:
(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.

This thread will tell you why your seeing what your seeing: http://forum.kodi.tv/showthread.php?tid=198149

I typed a long-winded reply to the OP, but accidentally closed the browser and don't feel like typing it all over again. Suffice to say the issues covered in the above thread are exacerbated when using the Universal Music Scrapers, and will GREATLY prolong library scan / update times if you have "Download Additional Info During Updates" turned on for music. The only thing you can do to make this issue slightly less painful depending on your musical tastes is to use the MusicBrainz Picard script "Feat. Artists Removed" - The one that moves all feat. artists to the comments section. However that won't improve the situation for true multi-artist albums. And/Or use the AudioDB scrapers until a fix/workaround becomes available.

Kodi also doesn't support the way MusicBrainz assigns Multi-Artist values for the "Album Artist" tag, which is why you see duplicates in the library. Does this mean tagging with MusicBrainz is not recommended? Depends on your point of view. If Kodi is your only concern with regards your music library, at this time it's not recommended. Just use the "override local tags with online information" setting instead and hope for the best. However if "general" tagging consistency is required for use with Kodi, and other software, then I'd still say go for it. There needs to be some movement from both parties to reach the promised land of full MusicBrainz support in Kodi, but I think this may be on the horizon given the discussions I have read.

The short story is that Kodi simply doesn't recognize 80% of the extended tags MusicBrainz writes to your music, but still attempts to parse them (with the Universal Album/Artist Scrapers) and will attempt to fetch information from the web for that artist/album which will incur a 30 second timeout and failure for EACH SONG in the album. The Universal scripts have been updated since this issue became known, but what (if anything) relating to this issue may have been fixed is unknown by me since I don't want to wait another 48 hours just for another library scan to complete at this point in time.

YMMV.
Image
[quote='martinconroy' pid='2061448' dateline='1437758693']
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?

edit: no logs on the forum please, use pastebin
(2015-07-20, 09:01)Fail$tyle420 Wrote: [quote='mictino' pid='2056257' dateline='1437284962']
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


i found the answer for your problem
the problem is in musicbrainz id tags you can remove it from musicbrainz picard or the easy way you can add all your music into mp3tag and select all you music go to view, extended tags look for musicbrainz id tag (about 6 tags) delete it all and save it. rescan the database of your music
i hope it will work for you as it worked for me
Ok, so the original cdART Manager no longer works, but the updated one from stef.an does (I'm on Kodi 15.1, and see his repository lists it as Helix+ compatible)?

Also, if I scrap all my music with MusicBrianz Picard. Then Run all the Music files through MediaElch (to grab all the Fanart, Album Art, Artist.nfo, Banners, etc), is there a point to still using cdART Manager? Does cdART Manager do something that MediaElch misses?
(2015-09-10, 07:54)Msamurai Wrote: i found the answer for your problem
the problem is in musicbrainz id tags you can remove it from musicbrainz picard or the easy way you can add all your music into mp3tag and select all you music go to view, extended tags look for musicbrainz id tag (about 6 tags) delete it all and save it. rescan the database of your music
i hope it will work for you as it worked for me

Well, that might work but I don't recommend it. Better is to make sure your musicbrainz id tags are consistent and none are missing. A code change (PR) was recently approved for Kodi Jarvis (16) that improves handling of music with musicbrainz id tags so you might find yourself left behind if you stripped out all your MBIDs.

scott s.
.
  • 1
  • 147
  • 148
  • 149(current)
  • 150
  • 151
  • 157

Logout Mark Read Team Forum Stats Members Help
[RELEASE] cdART Manager Script6