[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) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
|
- jasonlcox - 2011-07-18 Everything working fine I think, nice job giftie and very much appreciated! I still have to manually create "extrafanart" folders, I guess you haven't found a way around that yet? Or should that also be fixed now? - solidsatras - 2011-07-18 @jasonlcox giftie Wrote:The main fix in these is now the script has the ability to make directories on samba shares. btt: will try the new eden version tomorrow and report. - giftie - 2011-07-18 jasonlcox Wrote:Everything working fine I think, nice job giftie and very much appreciated! It should create them now... Have you checked your settings? I had to add user/pass for samba shares, if it is protected, otherwise it tries to log-in as Guest. It worked with my paths too(smb://user:pass@Tower/Music/ where my path had the username and password as part of the path) I am unable to test on 10.1 Live which I think you are on.. Could you post a copy of your debug log when trying to Autodownload Fanart/ClearLOGOs? Thanks.. - jasonlcox - 2011-07-19 Yeah, I'm using a Live 10.1 system. The smb share on my Win7 system isn't password protected. Here's the log for an attempted fanart auto download: http://pastebin.com/LZc0CF4W Would you like me to do one for logos as well? - solidsatras - 2011-07-19 as promised my report on v.1.4.0: -smb-directory creation works on my end (today´s windows nightly) a few little glitches: - after the fanart search the settings window popped up, i think it shouldn´t - the fanart for AC/DC was stored in the folder: AC\DC\extrafanart , the correct one would be: \ACDC\extrafanart . Since the bands name on fanart.tv is AC/DC ...maybe that´s the problem. not sure if it can be avoided within cdART. Here is a debug log. - giftie - 2011-07-20 solidsatras Wrote:as promised my report on v.1.4.0:That's good... Quote:a few little glitches:Gotta love glitches.... Quote:- after the fanart search the settings window popped up, i think it shouldn´tYou're right, it shouldn't. Just tested on my and it does not do this.. I gotta keep an eye on this... Quote:- the fanart for AC/DC was stored in the folder: AC\DC\extrafanart , the correct one would be: \ACDC\extrafanart . Since the bands name on fanart.tvWith extrafanart and ClearLOGOS, the skins take the Music Path that you set in settings, then adds the Artist Name(I actually do the exact same thing). for example: //Tower/Music/ + AC/DC becomes //Tower/Music/AC/DC which is has the final directory for AC/DC as DC. Need more AC/DC fanart to be sure, but I think it works(Just tested with Transparency!, had to download an Fanart off of htbackdrops.com - shame on me.... ) I know it can make a mess of your music folder(you can have your music path set so it is just Fanarts and ClearLOGOs.) cdARTs and Cover Arts are not affected this way as the path to the 'Album' is determined by the XBMC's Music Database, so if your folder is /Tower/Music/ACDC/Back In Black your cdARTs and Cover arts make it to this folder, but ClearLOGOs and extrafanarts end up /Tower/Music/AC/DC/ I also through the FanArt in to that 'new' folder AC/DC instead of ACDC. I also have it this way because I don't think any skins have the ability to remove the '/' from the Artist name.(I can easily.. but then it won't work on the skin) Quote:Here is a debug log. Thanks for the log... I just looked over your log, Did you have a problem building cdART's database? I ask this because I noticed that you have artists that don't have a MusicBrainz ID(Distant ID) where they should(I know I have the same artists.) - giftie - 2011-07-20 jasonlcox Wrote:Yeah, I'm using a Live 10.1 system. The smb share on my Win7 system isn't password protected. Thanks for the debug log.. Found the error.. If it still does not create the folders, try turning on the option for "Protected Share" and put "guest" in as a username(nothing for the password) I hope it works with out doing this though(just means another small fix if it works after putting the 'guest' username) Here's a link to the fixed version: http://www.mediafire.com/file/ab8pj3dbtmyaftr/script.cdartmanager.dharma.1.4.1.zip Thanks again. - giftie - 2011-07-20 Small update for Dharma Users, I forgot to carry changes over from the pre-Eden Version. http://www.mediafire.com/file/ab8pj3dbtmyaftr/script.cdartmanager.dharma.1.4.1.zip No updates for pre-Eden as the error was not present in the code... Edit.... Thanks to a very recent commit by spiff, a new pre-Eden version is available(if you build your own or not, make sure it contains commit: https://github.com/xbmc/xbmc/commit/6bc1b32f046cd050a4b3b544c9d09b69f43ee844): http://www.mediafire.com/file/cojr26exxccafew/script.cdartmanager.1.4.1.zip - Martijn - 2011-07-20 Hey Giftie, I send you a pull request for Pre-Eden Dutch language update. Also one for cinema experience - solidsatras - 2011-07-20 giftie Wrote:I just looked over your log, Did you have a problem building cdART's database?It looks like I have... tested v.1.4.1: smb-folder creation still works I think there is something wrong with building the database on my end. Since it´s a very big log, i will try to help a little: This error keeps showing up: Code: 14:55:49 T:3696 M:2632806400 ERROR: [script.cdartmanager] - Error: HTTP Error 503: (Service unavailable) some unicode related problems with the albums: "The Beatles/Sgt. Pepper’S Lonely Hearts Club Band (1967)" Code: 14:58:43 T:3696 M:2639327232 ERROR: File "C:\Users\HTPC\AppData\Roaming\XBMC\addons\script.cdartmanager\resources\lib\database.py", line 146, in retrieve_album_details_full "P!Nk/Greatest Hits... So Far!!! (2010)" Code: 14:59:27 T:3696 M:2639962112 ERROR: Traceback (most recent call last): "Rammstein/Liebe Ist Für Alle Da (2009)" Code: 14:59:47 T:2696 M:2639998976 ERROR: Traceback (most recent call last): The database building hangs at 100%. As I can see in the debug log the building for 137 albums only took about 5 Minutes. I waited over an hour before I interfered...but I couldn´t close the window, so ALT+F4 it was... debug log - building database debug log - automatic search In the end it could all be some user error...since i tried building the database several times(to start fresh I deleted the folder: /userdata/addon_data/script.cdartmanager) 2 out of 6 times building the database seems to have worked. Here is a log of a "good" build: debug and a log for automatic search with this "good" database: debug I really hope I don´t confuse you and sorry for the mediafire dumps...pastebins size limit is too low - giftie - 2011-07-21 solidsatras Wrote:It looks like I have... From the 'database hang debug log' I can see some how you cause it to run the building of the database twice, which seems to be causeing most of the creation errors(the 503's and the error about building the counts "ERROR: OperationalError: table counts already exists") The other errors are really more warnings that I use for debuging, I need to keep the database format Unicode, but a lot of items use a different language codec(often latin-1 though I have seen some odd ones) The Script tries once to decode it, if an error happens(the 8-bit bytestring one or "ascii" one), then it tries to encoding it. Usually it passes on the first try, so no error.(I've seen iTunes has often created this issue) I guess I need to put in extra code to stop database building if it already is. Though I'm not sure how you got it to run twice, well maybe, did you select 'Build Database' from settings, then run the script? - solidsatras - 2011-07-21 giftie Wrote:To activate this, in settings(after you set up all the settings) under extra settings, click on 'Build Database' then click on OK. I honestly don´t know how...but obviously i´m doing it wrong When I enter the program, the settings window shows up. I select my directory´s, hit build database and OK. The database building process starts... - jasonlcox - 2011-07-21 Giftie, it still isn't making the extrafanart folders for me (with, or without the "protected share" option turned on). Here is a log (using "protected samba share" option, with "guest" as user): http://pastebin.com/WWuK1zQT Would you like me to make another log without the "protected share" option? - giftie - 2011-07-22 solidsatras Wrote:I honestly don´t know how...but obviously i´m doing it wrong I see what is going on... I have the settings showing up if it finds an unrecoverable error in the database(it tries it's best to recover, or delete if it needs to) But it also will start to build the database once the settings are closed. With you selecting 'Build Database' from the settings, then closing the settings two instances of the Building the Database start. One in the background(I guess I should re-label that to 'Build Database in Background') and one in the main script. So if you were to delete your l_cdart.db and l_cdart.db.journal, then restart the script. I'll add some logic to stop this from happening in the next version... - m4x1m - 2011-07-23 Code: 15:54:07 T:2720119664 M:3962204160 ERROR: Error Type: <type 'exceptions.ImportError'> Latest xbmc-pvr and script.cdartmanager 1.4.1 Maybe I missed something? |