[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
|
- giftie - 2011-06-24 solidsatras Wrote:Yesterday I had the urge to jump on the nightly-train and finally use my small music collection in XBMC. The actual problem appeared when a new artist was added to fanart.tv that caused the script to use code that was not used before(not a fault of fanart.tv, just missing something in the script.) The error showed up to me yesterday afternoon... Here is a link to the updated version --> http://www.mediafire.com/file/924372bzj282dkx/script.cdartmanager.1.3.6.zip - giftie - 2011-06-24 Kode Wrote:Looks like there is an error here: In case you wanted to know.... it where the script converts the HTML escape codes to python escape codes. - solidsatras - 2011-06-24 giftie Wrote:Here is a link to the updated version --> http://www.mediafire.com/file/924372bzj282dkx/script.cdartmanager.1.3.6.zip works perfect now...you are the best - solidsatras - 2011-06-25 One little question is left. Is there a reason why I can´t choose a Network Path(SMB in my case) for the "Path to the Music Library) ? At the moment "cdart & folder" are saved at my NAS. "logo & extrafanart" are saved local in above mentioned path. I reworked the german language file: http://pastebin.com/23u5qSjr Hope it´s understandable. - giftie - 2011-06-25 solidsatras Wrote:One little question is left. Is there a reason why I can´t You need to add your network path as a file source, Home Menu -> Settings Drop down/slide out menu -> File Manager -> Add Source -> Browse -> Add Network Location -> Browse - Find your share, and finish off the info and click ok. Thanks for the translation.. - Kode - 2011-06-26 giftie: I tried installing the newest cdart manager, whenever I try to start it it fails though, and the error log says: 23:20:00 T:2924477296 M:1884102656 NOTICE: [script.cdartmanager] - ############################################################ 23:20:00 T:2924477296 M:1884102656 NOTICE: [script.cdartmanager] - Addon Work Folder: /home/kode/.xbmc/userdata/addon_data/script.cdartmanager/ 23:20:00 T:2924477296 M:1884102656 NOTICE: [script.cdartmanager] - Addon Database: /home/kode/.xbmc/userdata/addon_data/script.cdartmanager/l_cdart.db 23:20:00 T:2924477296 M:1884102656 NOTICE: [script.cdartmanager] - Addon settings: /home/kode/.xbmc/userdata/addon_data/script.cdartmanager/settings.xml 23:20:00 T:2924477296 M:1884102656 NOTICE: [script.cdartmanager] - Looking for settings.xml 23:20:00 T:2924477296 M:1884102656 NOTICE: [script.cdartmanager] - Addon Work Folder Found, Checking For Database 23:20:00 T:2924477296 M:1884102656 NOTICE: [script.cdartmanager] - Addon Db Found, Checking Database Version 23:20:00 T:2924477296 M:1884102656 NOTICE: [script.cdartmanager] - Looking for database version: 1.3.2 23:20:00 T:2924477296 M:1884102656 NOTICE: [script.cdartmanager] - Database matched 23:20:00 T:2924477296 M:1884102656 INFO: -->Python script returned the following error<-- 23:20:00 T:2924477296 M:1884102656 ERROR: Error Type: <type 'exceptions.ImportError'> 23:20:00 T:2924477296 M:1884102656 ERROR: Error Contents: No module named PIL 23:20:00 T:2924477296 M:1884102656 ERROR: Traceback (most recent call last): File "/home/kode/.xbmc/addons/script.cdartmanager/default.py", line 135, in <module> import gui File "/home/kode/.xbmc/addons/script.cdartmanager/resources/lib/gui.py", line 25, in <module> from PIL import Image ImportError: No module named PIL 23:20:00 T:2924477296 M:1884102656 INFO: -->End of Python script error report<-- 23:20:00 T:2924477296 M:1884102656 INFO: Python script stopped 23:20:00 T:2924477296 M:1884102656 DEBUG: Thread Python Thread 2924477296 terminating Any ideas? - giftie - 2011-06-26 Kode Wrote:giftie: I tried installing the newest cdart manager, whenever I try to start it it fails though, and the error log says: Are compiling your own XBMC? if so, the script.module.pil does not seem to be being compiled... Since you are running Linux, and nightly, run 'sudo aptitude install python-imaging' from the command line, this will install it into Linux and the script.module.pil is not needed.. - Kode - 2011-06-26 No, it's just xbmc live that I updated to use nightlies - giftie - 2011-06-26 Kode Wrote:No, it's just xbmc live that I updated to use nightlies Still Linux.. If I remember correctly you need to access the command line by CTRL-ALT-F1, then log in(I think the default is xbmc for login and pass) then 'sudo aptitude install python-imaging' then CTRL-ALT-F7 to get back to XBMC.. - Kode - 2011-06-26 I'm logged in with ssh, that seemed to do it, thanks, there's no way I'd have worked that one out on my own, lol - giftie - 2011-06-26 Kode Wrote:I'm logged in with ssh, that seemed to do it, thanks, there's no way I'd have worked that one out on my own, lol lol.. I guess it is no longer part of the nightlies... I'll have a look to see whats up there... - SamHill - 2011-06-26 Any idea what this means. Code: 22:37:21 T:6712 M:712245248 - giftie - 2011-06-26 SamHill Wrote:Any idea what this means. You're trying to run the script on a Dharma version of XBMC.. This testing version is only for pre-Eden versions. I haven't released a testing version for Dharma yet, still trying to kill some Windows vs Python 2.4 bugs(they just don't get along well) I'll try to have the Dharma version out by tomorrow night... I know it will be missing one feature that the pre-Eden version has(testing for existing low resolution cdARTs and Cover Art due to the Windows vs Python 2.4). It is tough to work on two versions at the same time(the main reason I haven't put it on the Official repo yet - I want to make sure it is stable) - SamHill - 2011-06-26 giftie Wrote:You're trying to run the script on a Dharma version of XBMC.. This testing version is only for pre-Eden versions. I haven't released a testing version for Dharma yet, still trying to kill some Windows vs Python 2.4 bugs(they just don't get along well) I'll try to have the Dharma version out by tomorrow night... I know it will be missing one feature that the pre-Eden version has(testing for existing low resolution cdARTs and Cover Art due to the Windows vs Python 2.4). It is tough to work on two versions at the same time(the main reason I haven't put it on the Official repo yet - I want to make sure it is stable) No problems. I appreciate the work. I will sit tight, just wanted to make sure I wasn't doing something wrong. Thanks. - Kode - 2011-06-26 For some reason when I try to download a cdART for Trapt the script loses focus or something and doesn't download the cdART 13:01:39 T:2906647408 M:1898778624 DEBUG: [script.cdartmanager] - Score : 100 13:01:39 T:2906647408 M:1898778624 DEBUG: [script.cdartmanager] - Id : http://musicbrainz.org/artist/8876c0be-ccff-4d46-aa91-7f935a3b3b6b 13:01:39 T:2906647408 M:1898778624 DEBUG: [script.cdartmanager] - Name : u'Trapt' 13:01:39 T:2906647408 M:1898778624 DEBUG: [script.cdartmanager] - Sort Name : u'Trapt' 13:01:40 T:2906647408 M:1898790912 NOTICE: [script.cdartmanager] - # {'local_id': '49', 'musicbrainz_artistid': u'8876c0be-ccff-4d46-aa91-7f935a3b3b6b', 'name': 'Trapt', 'dis$ 13:01:40 T:2906647408 M:1898790912 DEBUG: [script.cdartmanager] - # Finding remote cdARTs 13:01:40 T:2906647408 M:1898790912 DEBUG: [script.cdartmanager] - Retrieving artwork for artist id: 8876c0be-ccff-4d46-aa91-7f935a3b3b6b 13:01:40 T:2906647408 M:1898790912 DEBUG: [script.cdartmanager] - Retrieving HTML Source 13:01:40 T:2906647408 M:1898790912 NOTICE: 8876c0be-ccff-4d46-aa91-7f935a3b3b6b.xml 13:01:41 T:2906647408 M:1898790912 DEBUG: [script.cdartmanager] - HTML Source: <?xml version="1.0"?> <music id="8876c0be-ccff-4d46-aa91-7f935a3b3b6b" name="Trapt"><backgrounds><background>http://fanart.tv/music/8876c0be-ccff-4d46-aa$ 13:01:41 T:2906647408 M:1898790912 DEBUG: [script.cdartmanager] - Found FanART 13:01:41 T:2906647408 M:1898790912 DEBUG: [script.cdartmanager] - Found ClearLOGOs 13:01:41 T:2906647408 M:1898790912 DEBUG: [script.cdartmanager] - cover: http://fanart.tv/music/8876c0be-ccff-4d46-aa91-7f935a3b3b6b/albumcover/trapt-4dd2fe4b7c5af.jpg 13:01:41 T:2906647408 M:1898790912 NOTICE: [script.cdartmanager] - # Populating Album List 13:01:41 T:2906647408 M:1898790912 DEBUG: [script.cdartmanager] - # Retrieving Local Albums Database 13:01:41 T:2906647408 M:1898790912 DEBUG: [script.cdartmanager] - # Finished Retrieving Local Albums Database 13:01:41 T:2906647408 M:1898790912 NOTICE: [script.cdartmanager] - # Building album list 13:01:41 T:6600512 M:1898790912 ERROR: Control 122 in window 13000 has been asked to focus, but it can't 13:01:42 T:6600512 M:1898790912 DEBUG: ------ Window Deinit (DialogBusy.xml) ------ |