PDA

View Full Version : 6.5 and Live365 problem -- cannot connect



Paul Dorn
2006-09-23, 19:51
Just installed 6.5, and trying to use live365. I can browse the list of stations and pick a station. But when I try to play, I get "Connecting" on the box. The web browser displays the song title, so I'm obviously getting to Live365. Any suggestions? Thanks in advance.

andyg
2006-09-23, 20:13
Yes unfortunately that bug slipped through. However, it's already fixed and you can grab a newer 6.5 nightly or use SqueezeNetwork to listen to Live365.

http://www.slimdevices.com/downloads/nightly/latest/6.5/

nukeman
2006-09-23, 23:21
Hi Andy,

even with the latest build i`m not able to connect to Live365. I tried it directly with my SB 3 and with my credentials from the Slimserver Web Frontend. Just the message Login problem. Connecting from Squeezenetwork is working.

Any idea

Frank

Paul Dorn
2006-09-24, 05:36
I get the same error after uninstalling the old 3.5 and installing the nightly. From the trace (userid/password XXed out):

Async::HTTP: Body read
SimpleAsyncHTTP: status for http://www.live365.com/cgi-bin/api_login.cgi?password=XXX&org=live365&action=login&remember=Y&member_name=XXX is 200 OK
SimpleAsyncHTTP: Done
Setting prefs plugin_live365_sessionid equal to undefined
Writing out prefs in C:\Program Files\SlimServer\server\slimserver.pref
Setting prefs plugin_live365_memberstatus equal to undefined
Writing out prefs in C:\Program Files\SlimServer\server\slimserver.pref
Live365: login failure: PLUGIN_LIVE365_LOGIN_ERROR_LOGIN


thanks in advance

andyg
2006-09-24, 05:39
What happens if you go to that api_login.cgi URL in a browser? Maybe there is something wrong with the Live365 website or your account. I am able to use Live365 just fine.

2006-09-24 08:39:17.4261 SimpleAsyncHTTP: status for http://www.live365.com/cgi-bin/api_login.cgi?password=xxxxx&org=live365&action=login&remember=Y&member_name=xxxxx is 200 OK
2006-09-24 08:39:17.4263 SimpleAsyncHTTP: Done
2006-09-24 08:39:17.4639 Live365 logged in: xxxx:xxxx

mrboring
2006-09-24, 07:23
What happens if you go to that api_login.cgi URL in a browser? Maybe there is something wrong with the Live365 website or your account. I am able to use Live365 just fine.

2006-09-24 08:39:17.4261 SimpleAsyncHTTP: status for http://www.live365.com/cgi-bin/api_login.cgi?password=xxxxx&org=live365&action=login&remember=Y&member_name=xxxxx is 200 OK
2006-09-24 08:39:17.4263 SimpleAsyncHTTP: Done
2006-09-24 08:39:17.4639 Live365 logged in: xxxx:xxxx

Hi

I'm having the same problesm, can't log into live365. I've installed the nightly build and still can't log in. However, if I enter the URL with my login details I get some xml back indicating that I am connected.

Any ideas?

Is there any logging I can turn on the may assist?

Thanks.

mrboring.

Paul Dorn
2006-09-24, 07:59
I also get a success when I invoke the URL. Not sure if it matters, but my default browser is IE 7 beta 3.

Here is additional trace information:

Live365: logging in XXXXXXXX
SimpleAsyncHTTP: GETing http://www.live365.com/cgi-bin/api_login.cgi?password=YYYYYYYY&org=live365&action=login&remember=Y&member_name=XXXXXXXX
Async: Starting async DNS lookup for [www.live365.com] using server [68.94.156.1] [timeout 30]
Select: [IO::Socket::INET=GLOB(0x4d6fe5c)] Adding error -> Slim::Networking::Async::_dns_error
Select: [IO::Socket::INET=GLOB(0x4d6fe5c)] Adding read -> Slim::Networking::Async::_dns_read
[norm] set Slim::Networking::Async::_dns_error, in 29.9999058246613 sec
Live365: Loading http://www.live365.com/cgi-bin/api_login.cgi?password=YYYYYYYY&org=live365&action=login&remember=Y&member_name=XXXXXXXX
End request: keepAlive: [10] - waiting for next request for HTTP::Daemon::ClientConn=GLOB(0x4c5e3a8) on connection = Keep-Alive

select_time: 0.555032968521118
Select: [IO::Socket::INET=GLOB(0x4d6fe5c)] read, calling Slim::Networking::Async::_dns_read
[norm] Killed 1 timer(s) for IO::Socket::INET=GLOB(0x4d6fe5c) / Slim::Networking::Async::_dns_error
Select: [IO::Socket::INET=GLOB(0x4d6fe5c)] Removing error
Select: [IO::Socket::INET=GLOB(0x4d6fe5c)] Removing read
Async: Resolved www.live365.com to [216.235.95.145]
Async: Connecting to www.live365.com:80
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x477da ac)] Adding error -> Slim::Networking::Async::_connect_error
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x477da ac)] Adding write -> Slim::Networking::Async::_async_connect
[norm] set Slim::Networking::Async::_connect_error, in 29.9999089241028 sec
select_time: 0.410262107849121
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x477da ac)] write, calling Slim::Networking::Async::_async_connect
[norm] Killed 1 timer(s) for Slim::Networking::Async::Socket::HTTP=GLOB(0x477da ac) / Slim::Networking::Async::_connect_error
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x477da ac)] Removing error
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x477da ac)] Removing write
Async: connected, ready to write request
Async: Sending:
GET /cgi-bin/api_login.cgi?password=YYYYYYYY&org=live365&action=login&remember=Y&member_name=XXXXXXXX HTTP/1.1
Connection: close
Cache-Control: no-cache
Accept: */*
Accept-Encoding: gzip, deflate
Host: www.live365.com
User-Agent: iTunes/4.7.1 (Windows; N; Windows XP; 586; EN; cp1252) SlimServer/6.5.1/10007
Icy-Metadata: 1

Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x477da ac)] Adding error -> Slim::Networking::Async::_async_error
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x477da ac)] Adding read -> Slim::Networking::Async::_async_read
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x477da ac)] Wrote 332 bytes
[norm] set Slim::Networking::Async::_async_error, in 29.9997880458832 sec
select_time: 0.352508068084717
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x477da ac)] read, calling Slim::Networking::Async::_async_read
[norm] Killed 1 timer(s) for Slim::Networking::Async::Socket::HTTP=GLOB(0x477da ac) / Slim::Networking::Async::_async_error
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x477da ac)] Removing error
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x477da ac)] Removing read
Async::HTTP: Headers read. code: 200 status: OK
bless({
connection => "close",
"content-type" => "text/xml; charset=UTF-8",
date => "Sun, 24 Sep 2006 14:48:28 GMT",
server => "Apache",
"set-cookie" => [
"sessionid=XXXXXXXX%3A28I5YnjGN78qw; domain=.live365.com; path=/; expires=Fri, 23-Sep-2011 14:48:28 GMT",
"AppID=live365%3ABROWSER; domain=.live365.com; path=/; expires=Fri, 23-Sep-2011 14:48:28 GMT",
"SaneID=UNKNOWN; domain=.live365.com; path=/; expires=Fri, 23-Sep-2011 14:48:28 GMT",
"SaneID=64.252.178.78-1159109308341; path=/; expires=Sun, 24-Sep-11 07:48:28 GMT; domain=.live365.com",
],
"transfer-encoding" => "chunked",
}, "HTTP::Headers")
[norm] set Slim::Networking::Async::HTTP::_http_socket_error, in 29.9999370574951 sec
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x477da ac)] Adding error -> Slim::Networking::Async::HTTP::_http_socket_error
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x477da ac)] Adding read -> Slim::Networking::Async::HTTP::_http_read_body
select_time: 0.244065999984741
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x477da ac)] read, calling Slim::Networking::Async::HTTP::_http_read_body
[norm] Killed 1 timer(s) for Slim::Networking::Async::Socket::HTTP=GLOB(0x477da ac) / Slim::Networking::Async::HTTP::_http_socket_error
Async::HTTP: Read body: 432 bytes
[norm] set Slim::Networking::Async::HTTP::_http_read_timeout, in 29.9999392032623 sec
select_time: 0.23380708694458
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x477da ac)] read, calling Slim::Networking::Async::HTTP::_http_read_body
[norm] Killed 1 timer(s) for Slim::Networking::Async::Socket::HTTP=GLOB(0x477da ac) / Slim::Networking::Async::HTTP::_http_read_timeout
Async::HTTP: Read body: 110 bytes
[norm] set Slim::Networking::Async::HTTP::_http_read_timeout, in 29.9999349117279 sec
select_time: 0.225475072860718
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x477da ac)] read, calling Slim::Networking::Async::HTTP::_http_read_body
[norm] Killed 1 timer(s) for Slim::Networking::Async::Socket::HTTP=GLOB(0x477da ac) / Slim::Networking::Async::HTTP::_http_read_timeout
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x477da ac)] Removing error
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x477da ac)] Removing read
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x477da ac)] Removing write
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x477da ac)] removing writeNoBlock queue
Async::HTTP: Body read
SimpleAsyncHTTP: status for http://www.live365.com/cgi-bin/api_login.cgi?password=YYYYYYYY&org=live365&action=login&remember=Y&member_name=XXXXXXXX is 200 OK
SimpleAsyncHTTP: Done
Setting prefs plugin_live365_sessionid equal to undefined
Writing out prefs in C:\Program Files\SlimServer\server\slimserver.pref
Setting prefs plugin_live365_memberstatus equal to undefined
Writing out prefs in C:\Program Files\SlimServer\server\slimserver.pref
Live365: login failure: PLUGIN_LIVE365_LOGIN_ERROR_LOGIN
reading directory: C:\Program Files\SlimServer\server\HTML

pannetron
2006-09-25, 10:28
After upgrading to 6.5.0 I get the "Connecting..." message on any live365.com stream but no music. I downloaded the latest nightly and then started getting the login problem with live365. I've reverted back to 6.3.1 and all is well.

mschiff
2006-09-25, 11:56
I have the same problem. I was able to log into Live365 with my account from the browser and it played just fine, but it did not work from Slimserver. From the Squeezebox, it could connect, but did not log into my account either. Just logged in generically.

-- Martin

nukeman
2006-09-25, 23:58
Any news on that topic. I`m currently install new nightly builds since one week with no success.

Greetings from Germany

Frank

andyg
2006-09-26, 03:30
For Live365 to work you need at least revision 9955.

fred7
2006-09-26, 06:34
I'm running revision 10040 and I'm having the same problem with Live365 also. I haven't been able to log in since upgrading to 6.5 so I got the latest nightly. I can log in from the Live365 web site. Here is my debug information:

Logging in xxxxx
Live365: Loading http://www.live365.com/cgi-bin/api_login.cgi?password=xxxxx&org=live365&action=login&remember=Y&member_name=xxxxx
Live365 login failure: PLUGIN_LIVE365_LOGIN_ERROR_LOGIN

andyg
2006-09-26, 06:38
Right sorry, was thinking of a different Live365 problem in 6.5.0. I don't know what's wrong here, since it works fine with my account. From looking at the code I think this error can be caused by an XML parsing problem, I'll make a change to print some debug info if this happens.

andyg
2006-09-26, 06:55
svn up or try tonight's nightly. Run with --d_plugins and you should see more info about the login error.

woo
2006-09-26, 17:22
Logging in xxxxx
Live365: Loading http://www.live365.com/cgi-bin/api_login.cgi?password=xxxxx&org=live365&action=login&remember=Y&member_name=xxxxx
Live365 login failure: PLUGIN_LIVE365_LOGIN_ERROR_LOGIN

when i upgraded to the non-beta of 6.5, i had this same problem. i reentered my password in the settings page and am able to connect now. it seems upgrading messed with my saved settings.

mrboring
2006-09-27, 10:28
Hi

I am still getting the login errors as above. If I copy and paste the URL from the debug text into a browser I can log in and get the following XML (X's replace private info):


<LIVE365_API_LOGIN_CGI xsi:schemaLocation="http://www.live365.com/api/api_login_cgi /xml/def/api/api_login_cgi.xsd">
<Code>0</Code>
<Reason>Success</Reason>
<Session_ID>XXXXXXXXX</Session_ID>
<Application_ID>live365:BROWSER</Application_ID>
<Device_ID>XXXXXXXXXXXX</Device_ID>
<Member_Status>VIP</Member_Status>
<Acl_station_count>0</Acl_station_count>
</LIVE365_API_LOGIN_CGI>

So the details login for the web site but not for Slimserver.

I also tried re-entering my Live365 login and password, and even another account, still no success.

Any ideas?

Thanks.

mrboring

andyg
2006-09-27, 10:31
Please try the latest 6.5 nightly with --d_plugins.

http://www.slimdevices.com/downloads/nightly/latest/6.5/

Paul Dorn
2006-09-27, 14:26
I down loaded the 10040 nightly version, turned on all debug variables, and reran. Here is the what I think is the relavent portion of the log. Nothing jumped out at me. Did I turn on the logging you requested? Thanks.

select_time: 0.131516218185425
Select: [IO::Socket::INET=GLOB(0x3d9bd48)] read, calling Slim::Networking::Async::_dns_read
[norm] Killed 1 timer(s) for IO::Socket::INET=GLOB(0x3d9bd48) / Slim::Networking::Async::_dns_error
Select: [IO::Socket::INET=GLOB(0x3d9bd48)] Removing error
Select: [IO::Socket::INET=GLOB(0x3d9bd48)] Removing read
Async: Resolved www.live365.com to [216.235.95.145]
Async: Connecting to www.live365.com:80
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x4d6db 90)] Adding error -> Slim::Networking::Async::_connect_error
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x4d6db 90)] Adding write -> Slim::Networking::Async::_async_connect
[norm] set Slim::Networking::Async::_connect_error, in 4.99991893768311 sec
[norm] firing Slim::Buttons::ScreenSaver::screenSaver 0.00150585174560547 late.
screenSaver idle display 228.544715166092(mode:INPUT.List)
[norm] set Slim::Buttons::ScreenSaver::screenSaver, in 0.998109102249146 sec
select_time: 0.99655818939209
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x4d6db 90)] write, calling Slim::Networking::Async::_async_connect
[norm] Killed 1 timer(s) for Slim::Networking::Async::Socket::HTTP=GLOB(0x4d6db 90) / Slim::Networking::Async::_connect_error
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x4d6db 90)] Removing error
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x4d6db 90)] Removing write
Async: connected, ready to write request
Async: Sending:
GET /cgi-bin/api_login.cgi?password=YYYYYYYY&org=live365&action=login&remember=Y&member_name=XXXXXXXX HTTP/1.1
Connection: close
Cache-Control: no-cache
Accept: */*
Accept-Encoding: gzip, deflate
Host: www.live365.com
User-Agent: iTunes/4.7.1 (Windows; N; Windows XP; 586; EN; cp1252) SlimServer/6.5.1/10040
Icy-Metadata: 1

Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x4d6db 90)] Adding error -> Slim::Networking::Async::_async_error
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x4d6db 90)] Adding read -> Slim::Networking::Async::_async_read
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x4d6db 90)] Wrote 332 bytes
[norm] set Slim::Networking::Async::_async_error, in 4.99977707862854 sec
select_time: 0.978202104568481
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x4d6db 90)] read, calling Slim::Networking::Async::_async_read
[norm] Killed 1 timer(s) for Slim::Networking::Async::Socket::HTTP=GLOB(0x4d6db 90) / Slim::Networking::Async::_async_error
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x4d6db 90)] Removing error
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x4d6db 90)] Removing read
Async::HTTP: Headers read. code: 200 status: OK
bless({
connection => "close",
"content-type" => "text/xml; charset=UTF-8",
date => "Wed, 27 Sep 2006 21:18:38 GMT",
server => "Apache",
"set-cookie" => [
"sessionid=XXXXXXXX%3A380FvSiwQWVis; domain=.live365.com; path=/; expires=Mon, 26-Sep-2011 21:18:38 GMT",
"AppID=live365%3ABROWSER; domain=.live365.com; path=/; expires=Mon, 26-Sep-2011 21:18:38 GMT",
"SaneID=UNKNOWN; domain=.live365.com; path=/; expires=Mon, 26-Sep-2011 21:18:38 GMT",
"SaneID=64.252.178.78-115939191879; path=/; expires=Wed, 27-Sep-11 14:18:38 GMT; domain=.live365.com",
],
"transfer-encoding" => "chunked",
}, "HTTP::Headers")
[norm] set Slim::Networking::Async::HTTP::_http_socket_error, in 4.99994802474976 sec
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x4d6db 90)] Adding error -> Slim::Networking::Async::HTTP::_http_socket_error
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x4d6db 90)] Adding read -> Slim::Networking::Async::HTTP::_http_read_body
select_time: 0.827205181121826
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x4d6db 90)] read, calling Slim::Networking::Async::HTTP::_http_read_body
[norm] Killed 1 timer(s) for Slim::Networking::Async::Socket::HTTP=GLOB(0x4d6db 90) / Slim::Networking::Async::HTTP::_http_socket_error
Async::HTTP: Read body: 433 bytes
[norm] set Slim::Networking::Async::HTTP::_http_read_timeout, in 4.99993300437927 sec
select_time: 0.821628093719482
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x4d6db 90)] read, calling Slim::Networking::Async::HTTP::_http_read_body
[norm] Killed 1 timer(s) for Slim::Networking::Async::Socket::HTTP=GLOB(0x4d6db 90) / Slim::Networking::Async::HTTP::_http_read_timeout
Async::HTTP: Read body: 109 bytes
[norm] set Slim::Networking::Async::HTTP::_http_read_timeout, in 4.9999361038208 sec
select_time: 0.81301212310791
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x4d6db 90)] read, calling Slim::Networking::Async::HTTP::_http_read_body
[norm] Killed 1 timer(s) for Slim::Networking::Async::Socket::HTTP=GLOB(0x4d6db 90) / Slim::Networking::Async::HTTP::_http_read_timeout
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x4d6db 90)] Removing error
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x4d6db 90)] Removing read
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x4d6db 90)] Removing write
Select: [Slim::Networking::Async::Socket::HTTP=GLOB(0x4d6db 90)] removing writeNoBlock queue
Async::HTTP: Body read
SimpleAsyncHTTP: status for http://www.live365.com/cgi-bin/api_login.cgi?password=YYYYYYYY&org=live365&action=login&remember=Y&member_name=XXXXXXXX is 200 OK
SimpleAsyncHTTP: Done
Setting prefs plugin_live365_sessionid equal to undefined
Writing out prefs in C:\Program Files\SlimServer\server\slimserver.pref
Setting prefs plugin_live365_memberstatus equal to undefined
Writing out prefs in C:\Program Files\SlimServer\server\slimserver.pref
Live365: login failure: PLUGIN_LIVE365_LOGIN_ERROR_LOGIN
reading directory: C:\Program Files\SlimServer\server\HTML

NY2006
2006-09-27, 15:34
"even with the latest build i`m not able to connect to Live365. I tried it directly with my SB 3 and with my credentials from the Slimserver Web Frontend. Just the message Login problem. Connecting from Squeezenetwork is working.

Any idea

Frank"

Andy,

Got Slimserver 6.51 working but like others getting login problme error for Live365 My Presets. Thanks.

andyg
2006-09-27, 17:46
I can't reproduce this problem at all... login only fails for me if I actually put in the wrong username or password. And, the code is exactly the same on SqueezeNetwork, so if it works there, it should work in SlimServer.

Paul Dorn
2006-09-27, 19:20
Andy, do you parse the returned XML or the cookies for the session information? It appears to be in both. Also, do you use the browser installed on the machine for the transfer, or a browser built into slimserver?
Finally, what piece of information couldn't you find?

andyg
2006-09-27, 19:26
The plugin uses the XML, it's retrieved directly by SlimServer. If you can load the api_login.cgi URL in your browser and see <Reason>Success</Reason> it should work fine.

Paul Dorn
2006-09-28, 03:43
I checked and do get success. Would it be possible for you to include in one of the nightly releases a change to write out the XML in debug mode? From the forums you can see that the problem is not unique to me.

thanks

andyg
2006-09-28, 04:00
OK I've added a dump of the parsed XML after login with --d_plugins. The only place I can see where you would get the error PLUGIN_LIVE365_LOGIN_ERROR_LOGIN is if there was an XML parsing error, and this should cause a debug line such as:
Live365API: XML parsing error on api_login.cgi: <error>

I'm not sure why you guys don't see this line.

Anyway, please try this. If you don't want to wait for the next nightly, you can edit Plugins/Live365/Live365API.pm and add this:

After:


my $resp = eval { XMLin($http->contentRef) };


Add:


$::d_plugins && msg("Live365API: Login XML: " . Data::Dump::dump($resp) . "\n");

fred7
2006-09-28, 05:00
I've tried adding the code to Live365API.pm and I get:

Logging in xxxxxx
Live365: Loading http://www.live365.com/cgi-bin/api_login.cgi?password=xxxxxxxx&org=live365&action=login&remember=Y&member_name=xxxxxx
Live365API: Login XML: undef
Live365 login failure: PLUGIN_LIVE365_LOGIN_ERROR_LOGIN
Prevent Standby plugin: client Bedroom in playmode stop
Prevent Standby plugin: client Living Room in playmode stop
Prevent Standby plugin: client Loft (Office) in playmode stop
Prevent Standby plugin: starting timer

andyg
2006-09-28, 05:39
Please check several lines down in that file. Do you have this $::d_plugins line of code? If not, please add it, and tell me what version of SlimServer you're running (check Server Settings).



if ($@) {
$::d_plugins && msg("Live365API: XML parsing error on api_login.cgi: $@\n");
&$callback($client, {'status' => 2, 'silent' => $silent}); # PLUGIN_LIVE365_LOGIN_ERROR_LOGIN
return;
}

fred7
2006-09-28, 05:47
Please check several lines down in that file. Do you have this $::d_plugins line of code? If not, please add it, and tell me what version of SlimServer you're running (check Server Settings).



if ($@) {
$::d_plugins && msg("Live365API: XML parsing error on api_login.cgi: $@\n");
&$callback($client, {'status' => 2, 'silent' => $silent}); # PLUGIN_LIVE365_LOGIN_ERROR_LOGIN
return;
}


I don't have that line. I am running 6.5.1 - 10040. I had to revert back from one of the nightlies because it caused SlimServer to stop working completely - it wouldn't start. I'll install the latest nightly, add the code and try again.

fred7
2006-09-28, 06:30
I'm seeing some weirdness on the install. The Live365API.pm file stayed the same after I installed the lastest nightly. So I figured that maybe the install saw that the file was newer since I modified and didn't overwrite it so I copied the old install back from a backup and intalled. It left that Live365API.pm file (from 9/26/2006) in place also. So I deleted the Live365API.pm file completely and re-installed again and for some reason it is installing Live365API.pm with a file date of 7/8/2006 at 1:28AM. That file does seem to be an older file instead of just an incorrect timestamp since it is missing the new code. Any ideas what is going on? Am I doing something wrong? Should I completely wipe out my installation and re-install? I am running on Windows XP in case that helps.

andyg
2006-09-28, 06:38
What does the SlimServer version say on the new install? Which file did you download? It's possible the nightly build is not working properly.

fred7
2006-09-28, 07:06
What does the SlimServer version say on the new install? Which file did you download? It's possible the nightly build is not working properly.

Sorry about that Andy, there was a problem with me and not the nightly. I have so many nightlies downloaded that I must have picked a very old one by mistake. I've since cleaned out everything and I'm starting from scratch. Anyway, this is what I get from debug now, which seems to contain some meningful information:

Logging in xxxxxx
Live365: Loading http://www.live365.com/cgi-bin/api_login.cgi?password=xxxxxxxx&org=live365&action=login&remember=Y&member_name=xxxxxx
Live365API: Login XML: undef
Live365API: XML parsing error on api_login.cgi:
not well-formed (invalid token) at line 1, column 6, byte 6 at /PerlApp/XML/Parser.pm line 187

Live365 login failure: PLUGIN_LIVE365_LOGIN_ERROR_LOGIN

andyg
2006-09-28, 07:10
OK, good. Can you change the Login XML debug line to this?



$::d_plugins && msg("Live365API: Login XML:\n" . $http->content . "\n");

NY2006
2006-09-28, 07:26
"OK, good. Can you change the Login XML debug line to this?


Code:
$::d_plugins && msg("Live365API: Login XML:\n" . $http->content . "\n");"


Andy,

Ok I found the thread over here...please help where I need to open the XML from ? I'm not sure where to find what I need to edit and change...thanks.

fred7
2006-09-28, 07:39
OK, good. Can you change the Login XML debug line to this?



$::d_plugins && msg("Live365API: Login XML:\n" . $http->content . "\n");


Okay, here's what I get (I always change my login info to xxxx of course):

Logging in xxxxxx
Live365: Loading http://www.live365.com/cgi-bin/api_login.cgi?password=xxxxxxxx&org=live365&action=login&remember=Y&member_name=xxxxxx
Live365API: Login XML:
<?xml version="1.0" encoding="UTF-8"?>
<LIVE365_API_LOGIN_CGI xmlns="http://www.live365.com/api/api_login_cgi"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.live365.com/api/api_login_cgi /xml/def/api/api_login_cgi.xsd"><Code>0</Code>
<Reason>Success</Reason>
<Session_ID>xxxxxx:26A4eFsRwRm4k</Session_ID>
<Application_ID>live365:BROWSER</Application_ID>
<Device_ID>UNKNOWN</Device_ID>
<Member_Status>PREFERRED</Member_Status>
<Acl_station_count>0</Acl_station_count>
</LIVE365_API_LOGIN_CGI>

Live365API: XML parsing error on api_login.cgi:
not well-formed (invalid token) at line 1, column 6, byte 6 at /PerlApp/XML/Parser.pm line 187

Live365 login failure: PLUGIN_LIVE365_LOGIN_ERROR_LOGIN

andyg
2006-09-28, 12:48
OK we've narrowed down this problem to an XML parsing problem that only occurs in the Windows exe version of SlimServer. It actually breaks all XML things such as SD Picks, Shoutcast, etc. Add yourself to bug 4250 for more info.