[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-08-07 jasonlcox Wrote:it looks like this: The slash direction is a Windows/Linux thing('/' - linux, '\' Windows) I was getting the exact error when I put the wrong path name in.. another command that can be tried: smbclient -L //SMEG - will list all the shares on your Windows Machine - jasonlcox - 2011-08-07 Here's what I get when I try that command: root@XBMCLive:~# smbclient -L //SMEG Enter root's password: Domain=[SMEG] OS=[Windows 7 Ultimate 7601 Service Pack 1] Server=[Windows 7 Ultimate 6.1] Sharename Type Comment --------- ---- ------- ADMIN$ Disk Remote Admin C$ Disk Default share Cinema Experience Disk Comedy Disk D$ Disk Default share Documentaries Disk Documentary Films Disk Downloaded Disk Downloads Disk Drama Disk E$ Disk Default share F$ Disk Default share H$ Disk Default share I$ Disk Default share IPC$ IPC Remote IPC J$ Disk Default share L$ Disk Default share M$ Disk Default share Movies Disk Movies 2 Disk Music for streaming Disk print$ Disk Printer Drivers Ripped Disk Sports Disk Temp Music Disk Users Disk Domain=[SMEG] OS=[Windows 7 Ultimate 7601 Service Pack 1] Server=[Windows 7 Ultimate 6.1] Server Comment --------- ------- Workgroup Master --------- ------- - giftie - 2011-08-07 jasonlcox Wrote:Here's what I get when I try that command: And 'smbclient //SMEG/Music for streaming -k' give the NT_STATUS_BAD_NETWORK_NAME error... What does 'smbclient -V' show? I found a lot of info on the Net that blames Windows Live Essentials 2011... - jasonlcox - 2011-08-07 Yeah, 'smbclient //SMEG/Music for streaming -k' still gives the same error. 'smbclient -V' gives this: root@XBMCLive:~# smbclient -V Version 3.4.7 - giftie - 2011-08-07 Could you post the output of the following: 'smbclient //SMEG/Music for streaming -k -d4' <- hopefully this will show why it is giving the error... - jasonlcox - 2011-08-07 Here it is: root@XBMCLive:~# smbclient //SMEG/Music for streaming -k -d4 lp_load_ex: refreshing parameters Initialising global parameters rlimit_max: rlimit_max (1024) below minimum Windows limit (16384) params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf" Processing section "[global]" doing parameter workgroup = WORKGROUP doing parameter server string = %h server (Samba, Ubuntu) doing parameter dns proxy = no doing parameter log file = /var/log/samba/log.%m doing parameter max log size = 1000 doing parameter syslog = 0 doing parameter panic action = /usr/share/samba/panic-action %d doing parameter encrypt passwords = true doing parameter passdb backend = tdbsam doing parameter obey pam restrictions = yes doing parameter unix password sync = yes doing parameter passwd program = /usr/bin/passwd %u doing parameter passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . doing parameter pam password change = yes doing parameter map to guest = bad user doing parameter usershare allow guests = yes pm_process() returned Yes added interface eth0 ip=2001:a0aa:f465:0:82ee:73ff:fe07:9a9f bcast=2001:a0aa:f465:0:ffff:ffff:ffff:ffff netmask=ffff:ffff:ffff:ffff:: added interface eth0 ip=fe80::82ee:73ff:fe07:9a9f%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff:: added interface eth0 ip=192.168.24.94 bcast=192.168.24.255 netmask=255.255.255.0 Client started (version 3.4.7). resolve_lmhosts: Attempting lmhosts lookup for name SMEG<0x20> startlmhosts: Can't open lmhosts file /etc/samba/lmhosts. Error was No such file or directory resolve_wins: Attempting wins lookup for name SMEG<0x20> resolve_wins: WINS server resolution selected and no WINS servers listed. resolve_hosts: Attempting host lookup for name SMEG<0x20> Connecting to 192.168.24.52 at port 445 session request ok Doing spnego session setup (blob length=58) got OID=1.3.6.1.4.1.311.2.2.30 got OID=1.3.6.1.4.1.311.2.2.10 got principal=<null> Got challenge flags: Got NTLMSSP neg_flags=0x628a8215 NTLMSSP_NEGOTIATE_UNICODE NTLMSSP_REQUEST_TARGET NTLMSSP_NEGOTIATE_SIGN NTLMSSP_NEGOTIATE_NTLM NTLMSSP_NEGOTIATE_ALWAYS_SIGN NTLMSSP_CHAL_ACCEPT_RESPONSE NTLMSSP_NEGOTIATE_NTLM2 NTLMSSP_CHAL_TARGET_INFO NTLMSSP_NEGOTIATE_VERSION NTLMSSP_NEGOTIATE_128 NTLMSSP_NEGOTIATE_KEY_EXCH NTLMSSP: Set final flags: Got NTLMSSP neg_flags=0x60088215 NTLMSSP_NEGOTIATE_UNICODE NTLMSSP_REQUEST_TARGET NTLMSSP_NEGOTIATE_SIGN NTLMSSP_NEGOTIATE_NTLM NTLMSSP_NEGOTIATE_ALWAYS_SIGN NTLMSSP_NEGOTIATE_NTLM2 NTLMSSP_NEGOTIATE_128 NTLMSSP_NEGOTIATE_KEY_EXCH NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x60088215 NTLMSSP_NEGOTIATE_UNICODE NTLMSSP_REQUEST_TARGET NTLMSSP_NEGOTIATE_SIGN NTLMSSP_NEGOTIATE_NTLM NTLMSSP_NEGOTIATE_ALWAYS_SIGN NTLMSSP_NEGOTIATE_NTLM2 NTLMSSP_NEGOTIATE_128 NTLMSSP_NEGOTIATE_KEY_EXCH Domain=[SMEG] OS=[Windows 7 Ultimate 7601 Service Pack 1] Server=[Windows 7 Ultimate 6.1] session setup ok tree connect failed: NT_STATUS_BAD_NETWORK_NAME root@XBMCLive:~# I also uninstalled Windows Live Essentials, but it doesn't seem to have helped. I have Windows Firewall turned on, and Microsoft Security Essentials running - could they be the problem? - giftie - 2011-08-07 I search the forums, remembering there was a lot of problems connecting to Windows 7 Shares, I found this message thread that might help out. I have Windows Firewall turned on, but I don't see Windows Security Essentials in my Programs list(control panel) so I probably don't have it installed... - jasonlcox - 2011-08-08 Success!!! Turning off Microsoft Security Essentials worked. giftie, sorry for wasting all your time these last couple of weeks, but I really appreciate your help. - giftie - 2011-08-09 jasonlcox Wrote:Success!!! Turning off Microsoft Security Essentials worked. giftie, sorry for wasting all your time these last couple of weeks, but I really appreciate your help. Glad you got it working... Don't worry about it.. I'm sure the problem will possibly pop up for some one else and now we have a lot of solutions.. - joelones - 2011-08-12 I seem to have cdART bail and quit "Automatic Download" scan mode when it hits a multi-disc album with the following structure: Alicia Keys/The Platinum Collection/CD 1 Alicia Keys/The Platinum Collection/CD 2 Alicia Keys/The Platinum Collection/CD 3 Here is a snippet of my log: Code: 19:01:44 T:2957225984 M: 17072128 NOTICE: [script.cdartmanager] - # Artist: 'Alicia Keys' Local ID: 9 Distant ID: 8ef1df30-ae4f-4dbd-9351-1a32b208a01e I notice that the Distant ID's are all blank afterwards. Does this have something do with the aforementioned directory structure? Any help would be appreciated. Using 1.4.5 on 10.1 dharma while scanning cdARTs. - giftie - 2011-08-12 joelones Wrote:I seem to have cdART bail and quit "Automatic Download" scan mode when it hits a multi-disc album with the following structure: Hard to tell with out a complete Debug log. The blank id's might mean there was a problem building the script's database. - joelones - 2011-08-12 giftie Wrote:Hard to tell with out a complete Debug log. The blank id's might mean there was a problem building the script's database. I don't know if this is more helpful. http://pastebin.com/HjLnjqc4 Taken from xbmc 10.1 on macosx 10.6.8. - giftie - 2011-08-12 joelones Wrote:I don't know if this is more helpful. Actually it is not, since it is not a debug log, nor is it complete. http://wiki.xbmc.org/index.php?title=HOW-TO_Submit_a_Proper_Bug_Report I also still have a feeling that the problem has originated when the script made its database. I would suggest the following steps.
Once this is finished I should have a better idea on what is happening on you system. - joelones - 2011-08-12 giftie Wrote:Actually it is not, since it is not a debug log, nor is it complete. http://wiki.xbmc.org/index.php?title=HOW-TO_Submit_a_Proper_Bug_Report You're right, previous log was useless. Here's the complete debug log after a Refresh Addon Database http://www.mediafire.com/?856644q2sh93c8i And after a Automatic Download http://www.mediafire.com/?iy4y4mcm8shem8o thanks. - giftie - 2011-08-13 joelones Wrote:You're right, previous log was useless. Thanks for the debug log... Showed me where the problem lies.. For some reason your IP is being 'blocked' by the MusicBrainz server(error 503) This normally only happens if the server is being hit faster then 1 query/sec(which the script is only doing. Just looked at the code, sometime it will be 2 query/sec but this is rare(normally) ) The log shows that it the script is querying about once per second as it supposed to right before the blocking happens.. Then it starts querying twice per second(looks for normal albums first then those including singles) This is due to the Error 503 given by MusicBrainz.. I'm surprised that it never recovers though.. When I first played around with accessing the MusicBrainz server I was Querying as fast as the script could(no delaying) and I would get an Error 503 then after a bit it would work again.. I have to look into this... This is why it seems to 'bail' on the Autodownload. After Alicia Keys - The Element of Freedom, it can not match Alicia Keys - The Platinum Collection(which does not exist on MusicBrainz) and can not match Amy Winehouse - Back To Black (Deluxe Edition) ( <- this one is only found on MusicBrainz as Back To Black) It seems to get blocked looking up Back To Black. I just checked the code and think I might have found the culprit, it might be happing because the script doesn't wait when looking up singles. I'll the delay in and have a copy available in about an hour... |