streamtuner-misc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

live356 plugin and login


From: Paul Barton
Subject: live356 plugin and login
Date: Thu, 18 Nov 2004 13:58:40 -0800
User-agent: KMail/1.5.1

I must be missing something obvious.

I really like streamtuner.  Clever concept.  Works wonderfully except...
live365 is nicer to listen to with the VIP (or whatever they call it) login.  
Seemed to be no problem.  I run stream tuner from inside a script with the 
STREAMTUNER_LIVE365_ variables set in the script.  First I just tried my user 
name and password.  Wrong.  streamtuner came up ok but not logged on.  No big 
surprise.  

I then explored the cookies associated with the live365 site and found 
sessionid.  That looked like the answer needed for _SESSION.  So I wrote a 
script to use curl to log on to live365 and get the cookies.  I set the 
_SESSION variable to the value of the cookie.  Something changed alright.  
streamtuner locks up tight after the splash progress bar fills up.  I have to 
use kill to get rid of it.  (No it isn't just loading slowly.  I let it go 
all night.)  All of my next experiments locked it up similarly.  

Looking at the source for the plugin led me to conclude that the 
STREAMTUNER_LIVE365_ strings are plugged into the URL for the desired 
station.  Getting stations through Mozilla produced URL's for the stations (I 
just tried the VIP only ones) that incorporate the User_ID string, the 
SaneID, and the session as the value of the sessionid cookie without the 
leading username%3A.  So I arranged to send that for _SESSION and the SaneID 
for _USER.  No dice.

After I gave up on trying to set a breakpoint in the plugin in gdb (I don't 
know how) I turned to the board for help.

If I'm missing something obvious, please let me in on it.  If there really is 
a problem, I'll be glad to work on a fix.  But it would really help me do 
that if you can tell me how to complie-link the live354.c plugin without 
recompiling the whole package and how I might get that package into a 
debugger.  I'm not asking for a programming tutorial.  I am basically 
familiar with both gcc and gdb and have used them for small projects with and 
without multiple threads.

Thanks for streamtuner
and thanks for any help you can give me with this
Paul Barton




reply via email to

[Prev in Thread] Current Thread [Next in Thread]