spacer
spacer search

SwissCenter

Search
spacer
Main Menu
Home
Documentation + FAQ
Screenshots
Downloads
Forums
Bug Tracking
History
Login
Username

Password

Remember me
?
No account yet?

Locations of visitors to this page

 
Home arrow Forums

SwissCenter Forums  


Radio Live365 - 2010/02/01 15:24 Hi all,

What do you think of adding Radio Live365 added as third Internet Radio (next to Shoutcast and Live-Radio). I would be in favour of this ...

Some more info can be found here.

regards, Klaas

---------------------------------------------------------------------------
SwissCenter SVN 1370
Simese 2.5.10 / PHP 5.2.9-1 / MySQL 5.1.32 / Windows XP SP3
Apache 2.2.11 / PHP 5.2.10 / MySQL 5.1.34 / Linux Synology 2.6.15
Synology DS107+ (128), firmware: DSM 2.3-1118
Pinnacle SC200 / PCH A-110
  | | The administrator has disabled public write access.
Re: Radio Live365 - 2010/02/02 07:11 It looks possible so I've added a ticket for it. Players : Netgear EVA700 | Popcorn A-100 (091202) | Popcorn A-200 (100208)
Webserver : Simese v2.6.4 | Apache 2.2.14 | PHP v5.2.12 | MySQL v5.1.32
Server : Windows 7 Home Premium 64bit
Spec : Intel C2Q Q6600 - 4GB RAM - 3TB HDD
AV : Pioneer VSX-915 | Samsung LE40C650
  | | The administrator has disabled public write access.
Re: Radio Live365 - 2010/02/02 13:50 Hi Nigel,

great ... many thanks for the ticket (216)

regards, Klaas

---------------------------------------------------------------------------
SwissCenter SVN 1370
Simese 2.5.10 / PHP 5.2.9-1 / MySQL 5.1.32 / Windows XP SP3
Apache 2.2.11 / PHP 5.2.10 / MySQL 5.1.34 / Linux Synology 2.6.15
Synology DS107+ (128), firmware: DSM 2.3-1118
Pinnacle SC200 / PCH A-110
  | | The administrator has disabled public write access.
Re: Radio Live365 - 2010/02/02 13:55 Now ya'll are really going to need to separate those stations... Showcenters 1000g/250HD/Popcorn Hour A-100
Netgear HDX101 Powerline Adapters
Windows XP SP3 Simese 2.6.4 Beta SwissCenter latest SVN
NAS Server Intel PD 2.66Ghz/2GB Mem/1.5TB Storage
Hauppauge HVR 1600 GB-PVR
  | | The administrator has disabled public write access.
Re: Radio Live365 - 2010/02/02 14:12 Stu2j wrote:
Now ya'll are really going to need to separate those stations...
Yeah, even more work!!
Players : Netgear EVA700 | Popcorn A-100 (091202) | Popcorn A-200 (100208)
Webserver : Simese v2.6.4 | Apache 2.2.14 | PHP v5.2.12 | MySQL v5.1.32
Server : Windows 7 Home Premium 64bit
Spec : Intel C2Q Q6600 - 4GB RAM - 3TB HDD
AV : Pioneer VSX-915 | Samsung LE40C650
  | | The administrator has disabled public write access.
Re: Radio Live365 - 2010/02/10 19:53 I've added a preliminary version of Live365.

Been having trouble getting streams to play for anonymous users so may need to add some kind of authentication so users will have to register to use this.
Players : Netgear EVA700 | Popcorn A-100 (091202) | Popcorn A-200 (100208)
Webserver : Simese v2.6.4 | Apache 2.2.14 | PHP v5.2.12 | MySQL v5.1.32
Server : Windows 7 Home Premium 64bit
Spec : Intel C2Q Q6600 - 4GB RAM - 3TB HDD
AV : Pioneer VSX-915 | Samsung LE40C650
  | | The administrator has disabled public write access.
Re: Radio Live365 - 2010/02/10 20:41 many thanks for CS 1377, and looking forward to test. I'll be in Haiti until the end of next week; when back at home I post my comments.

regards, Klaas

---------------------------------------------------------------------------
SwissCenter SVN 1376
Simese 2.5.10 / PHP 5.2.9-1 / MySQL 5.1.32 / Windows XP SP3
Apache 2.2.11 / PHP 5.2.10 / MySQL 5.1.34 / Linux Synology 2.6.15
Synology DS107+ (128), firmware: DSM 2.3-1118
Pinnacle SC200 / PCH A-110
  | | The administrator has disabled public write access.
Re: Radio Live365 - 2010/02/14 00:30 Hi Nigel,

I tested the Live365 on my laptop (not back home yet to test it on my SC200/PCH), and I noticed - when playing through the combi SwissCenter/WimAmp - a lot of radio stations require (free) login credentials. When playing the same radio station on through the web these credentials are not necessary; not sure how it will work out when played through a SC200/PCH.

In case the credentials are required, could these be added to the SwissCenter config?

regards, Klaas

---------------------------------------------------------------------------
SwissCenter SVN 1378
Simese 2.5.10 / PHP 5.2.9-1 / MySQL 5.1.32 / Windows XP SP3
Apache 2.2.11 / PHP 5.2.10 / MySQL 5.1.34 / Linux Synology 2.6.15
Synology DS107+ (128), firmware: DSM 2.3-1118
Pinnacle SC200 / PCH A-110
  | | The administrator has disabled public write access.
Re: Radio Live365 - 2010/02/14 06:42 As the ticket says, authentication is a known issue which I'm working on. The protocol is not documented so it's alot of trial and error.

Ideally it should work like the MSP plugin for Live365, but to reverse engineer that I need to examine network traffic between the PCH and the router which is not possible.
Players : Netgear EVA700 | Popcorn A-100 (091202) | Popcorn A-200 (100208)
Webserver : Simese v2.6.4 | Apache 2.2.14 | PHP v5.2.12 | MySQL v5.1.32
Server : Windows 7 Home Premium 64bit
Spec : Intel C2Q Q6600 - 4GB RAM - 3TB HDD
AV : Pioneer VSX-915 | Samsung LE40C650
  | | The administrator has disabled public write access.
Re: Radio Live365 - 2010/02/14 07:59 Nigel wrote:As the ticket says, authentication is a known issue which I'm working on.
yep ... I see now, regards, Klaas
---------------------------------------------------------------------------
SwissCenter SVN 1378
Simese 2.5.10 / PHP 5.2.9-1 / MySQL 5.1.32 / Windows XP SP3
Apache 2.2.11 / PHP 5.2.10 / MySQL 5.1.34 / Linux Synology 2.6.15
Synology DS107+ (128), firmware: DSM 2.3-1118
Pinnacle SC200 / PCH A-110
  | | The administrator has disabled public write access.
Re: Radio Live365 - 2010/02/14 09:52 Hi Nigel,

It is possible to get track details, they can be derived from eg
Code:

  http://www.live365.com/mini/playlist.html?station=electricblues

I tried to open this one with PHP with commands
Code:

 stream_get_contents

and
Code:

 file_get_contents

but both of them doesn’t seem to work.

Could you let me know how to open this url?

Many thanks, regards, Klaas

---------------------------------------------------------------------------
SwissCenter SVN 1378
Simese 2.5.10 / PHP 5.2.9-1 / MySQL 5.1.32 / Windows XP SP3
Apache 2.2.11 / PHP 5.2.10 / MySQL 5.1.34 / Linux Synology 2.6.15
Synology DS107+ (128), firmware: DSM 2.3-1118
Pinnacle SC200 / PCH A-110
  | | The administrator has disabled public write access.
Re: Radio Live365 - 2010/02/14 16:28 Using file_get_contents() will work.

What we actually want is:
Code:

 $xml file_get_contents("http://www.live365.com/pls/front?handler=playlist&cmd=view&handle=electricblues&viewType=xml");


Then get the details from the first playlist entry.
Players : Netgear EVA700 | Popcorn A-100 (091202) | Popcorn A-200 (100208)
Webserver : Simese v2.6.4 | Apache 2.2.14 | PHP v5.2.12 | MySQL v5.1.32
Server : Windows 7 Home Premium 64bit
Spec : Intel C2Q Q6600 - 4GB RAM - 3TB HDD
AV : Pioneer VSX-915 | Samsung LE40C650
  | | The administrator has disabled public write access.
Re: Radio Live365 - 2010/02/14 17:54 many thanks, regards, Klaas
---------------------------------------------------------------------------
SwissCenter SVN 1378
Simese 2.5.10 / PHP 5.2.9-1 / MySQL 5.1.32 / Windows XP SP3
Apache 2.2.11 / PHP 5.2.10 / MySQL 5.1.34 / Linux Synology 2.6.15
Synology DS107+ (128), firmware: DSM 2.3-1118
Pinnacle SC200 / PCH A-110
  | | The administrator has disabled public write access.
Re: Radio Live365 - 2010/02/16 23:43 Hi Nigel,

Track details (including AlbumArt), previous track and track before that, can be derived from the url as follows:
Code:

 $broadcaster 'rockone';  $xml file_get_contents("http://www.live365.com/pls/front?handler=playlist&cmd=view&handle=".$broadcaster."&viewType=xml");  $xml str_replace('<Title>','</Title>',$xml);  $xml str_replace('<Artist>','</Artist>',$xml);  $xml str_replace('<Album>','</Album>',$xml);  $xml str_replace('<visualURL>''</visualURL>'$xml);  $xml str_replace('|img=''</visualURL>'$xml);  $title explode("</Title>"$xml);  $artist explode("</Artist>"$xml);  $album explode("</Album>"$xml);  $albumart explode("</visualURL>"$xml);  echo 'current track = '.$title[1];  echo '<br><br>';  echo 'current artist = '.$artist[1];  echo '<br><br>';  echo 'current album = '.$album[1];  echo '<br><br>';  echo 'previous track = '.$title[3].' - '.$artist[3];  echo '<br><br>';  echo 'before that = '.$artist[5].' - '.$title[5];  echo '<br><br>';  echo 'albumart = '.$albumart[2];

Although I'm sure that the code could be much easier, the script does work ...

regards, Klaas

---------------------------------------------------------------------------
SwissCenter SVN 1378
Simese 2.5.10 / PHP 5.2.9-1 / MySQL 5.1.32 / Windows XP SP3
Apache 2.2.11 / PHP 5.2.10 / MySQL 5.1.34 / Linux Synology 2.6.15
Synology DS107+ (128), firmware: DSM 2.3-1118
Pinnacle SC200 / PCH A-110
  | | The administrator has disabled public write access.
Re: Radio Live365 - 2010/02/20 08:13 Hi Nigel,

To get the track details we have to link $broadcaster from file '/etc/iradio/live365.php' with the station name (at least I suppose so) in order to get the script generic.

Could you give me a hint to do so?

many thanks in advance, regards, Klaas

---------------------------------------------------------------------------
SwissCenter SVN 1378
Simese 2.5.10 / PHP 5.2.9-1 / MySQL 5.1.32 / Windows XP SP3
Apache 2.2.11 / PHP 5.2.10 / MySQL 5.1.34 / Linux Synology 2.6.15
Synology DS107+ (128), firmware: DSM 2.3-1118
Pinnacle SC200 / PCH A-110
  | | The administrator has disabled public write access.
Re: Radio Live365 - 2010/02/21 08:15 klaasvaak wrote:
Hi Nigel,

To get the track details we have to link $broadcaster from file '/etc/iradio/live365.php' with the station name (at least I suppose so) in order to get the script generic.

Could you give me a hint to do so?

many thanks in advance, regards, Klaas

I've already done it, will be submitted soon.
Players : Netgear EVA700 | Popcorn A-100 (091202) | Popcorn A-200 (100208)
Webserver : Simese v2.6.4 | Apache 2.2.14 | PHP v5.2.12 | MySQL v5.1.32
Server : Windows 7 Home Premium 64bit
Spec : Intel C2Q Q6600 - 4GB RAM - 3TB HDD
AV : Pioneer VSX-915 | Samsung LE40C650
  | | The administrator has disabled public write access.
Re: Radio Live365 - 2010/02/21 15:04 GREAT .... ....

looking forward to it, regards, Klaas

---------------------------------------------------------------------------
SwissCenter SVN 1378
Simese 2.5.10 / PHP 5.2.9-1 / MySQL 5.1.32 / Windows XP SP3
Apache 2.2.11 / PHP 5.2.10 / MySQL 5.1.34 / Linux Synology 2.6.15
Synology DS107+ (128), firmware: DSM 2.3-1118
Pinnacle SC200 / PCH A-110
  | | The administrator has disabled public write access.
Re: Radio Live365 - 2010/03/05 11:38 Hi Nigel,

Any news already on this one? Klaas

---------------------------------------------------------------------------
SwissCenter SVN 1388
Simese 2.5.10 / PHP 5.2.9-1 / MySQL 5.1.32 / Windows XP SP3
Apache 2.2.11 / PHP 5.2.10 / MySQL 5.1.34 / Linux Synology 2.6.15
Synology DS107+ (128), firmware: DSM 2.3-1118
Pinnacle SC200 / PCH A-110
  | | The administrator has disabled public write access.
Re: Radio Live365 - 2010/03/05 11:46 No, got sidetracked. I could easily add this as a hack but would prefer a more generic solution which is taking a bit of time. Players : Netgear EVA700 | Popcorn A-100 (091202) | Popcorn A-200 (100208)
Webserver : Simese v2.6.4 | Apache 2.2.14 | PHP v5.2.12 | MySQL v5.1.32
Server : Windows 7 Home Premium 64bit
Spec : Intel C2Q Q6600 - 4GB RAM - 3TB HDD
AV : Pioneer VSX-915 | Samsung LE40C650
  | | The administrator has disabled public write access.
Re: Radio Live365 - 2010/03/05 15:35 yep, I agree with you that a generic method is preferable.

cheers, Klaas

---------------------------------------------------------------------------
SwissCenter SVN 1388
Simese 2.5.10 / PHP 5.2.9-1 / MySQL 5.1.32 / Windows XP SP3
Apache 2.2.11 / PHP 5.2.10 / MySQL 5.1.34 / Linux Synology 2.6.15
Synology DS107+ (128), firmware: DSM 2.3-1118
Pinnacle SC200 / PCH A-110
  | | The administrator has disabled public write access.
Re: Radio Live365 - 2010/03/19 16:31 Hi Nigel,

Live365 has a specific search method to find stations that play a certain artist ("Find Stations That Play"). Is it feasible to have this search method in SwissCenter for these radio stations as well. Would be a nice addition ... Klaas

---------------------------------------------------------------------------
SwissCenter SVN 1390
Simese 2.5.10 / PHP 5.2.9-1 / MySQL 5.1.32 / Windows XP SP3
Apache 2.2.11 / PHP 5.2.10 / MySQL 5.1.34 / Linux Synology 2.6.15
Synology DS107+ (128), firmware: DSM 2.3-1118
Pinnacle SC200 / PCH A-110
  | | The administrator has disabled public write access.
Re: Radio Live365 - 2010/04/23 12:20 Hi Nigel,

Could you give an update on the finalization of Radio Live365, or is it too early?

cheers, Klaas

---------------------------------------------------------------------------
SwissCenter SVN 1405
Simese 2.5.10 / PHP 5.2.9-1 / MySQL 5.1.32 / Windows XP SP3
Apache 2.2.11 / PHP 5.2.10 / MySQL 5.1.34 / Linux Synology 2.6.15
Synology DS107+ (128), firmware: DSM 2.3-1118
Pinnacle SC200 / PCH A-110
  | | The administrator has disabled public write access.
Re: Radio Live365 - 2010/04/23 14:21 I've recently moved house and don't yet have my internet connection fully restored, intermittent and very slow at the moment. Also got plenty of other things to do around the house so very little development happening. Players : Netgear EVA700 | Popcorn A-100 (091202) | Popcorn A-200 (100208)
Webserver : Simese v2.6.4 | Apache 2.2.14 | PHP v5.2.12 | MySQL v5.1.32
Server : Windows 7 Home Premium 64bit
Spec : Intel C2Q Q6600 - 4GB RAM - 3TB HDD
AV : Pioneer VSX-915 | Samsung LE40C650
  | | The administrator has disabled public write access.
Re: Radio Live365 - 2010/04/23 14:32 understandeble ... good luck with your new home, cheers, Klaas
---------------------------------------------------------------------------
SwissCenter SVN 1405
Simese 2.5.10 / PHP 5.2.9-1 / MySQL 5.1.32 / Windows XP SP3
Apache 2.2.11 / PHP 5.2.10 / MySQL 5.1.34 / Linux Synology 2.6.15
Synology DS107+ (128), firmware: DSM 2.3-1118
Pinnacle SC200 / PCH A-110
  | | The administrator has disabled public write access.
Re: Radio Live365 - 2010/05/12 07:42 Hi Nigel,

Not sure when you’ll be able to finalize the ‘Live365’-feature, but maybe you can help me out already on a (probably for you) small issue. I would like to get the track details for these stations with the following script to be plugged into file ‘/base/image_screens.php’:
Code:

 $xml file_get_contents("http://www.live365.com/pls/front?handler=playlist&cmd=view&handle=".$broadcaster."&viewType=xml");  $xml str_replace('<Title>','</Title>',$xml);  $xml str_replace('<Artist>','</Artist>',$xml);  $xml str_replace('<Album>','</Album>',$xml);  $xml str_replace('<visualURL>''</visualURL>'$xml);  $xml str_replace('|img=''</visualURL>'$xml);  $title explode("</Title>"$xml);  $artist explode("</Artist>"$xml);  $album explode("</Album>"$xml);  $albumart explode("</visualURL>"$xml);

Could you explain me how to get the value of $broadcaster from file ‘/ext/iradio/live365.php’?

Many thanks in advance, cheers, Klaas

---------------------------------------------------------------------------
SwissCenter SVN 1405
Simese 2.5.10 / PHP 5.2.9-1 / MySQL 5.1.32 / Windows XP SP3
Apache 2.2.13 / PHP 5.2.12 / MySQL 5.1.34 / Linux Synology 2.6.15
Synology DS107+ (128), firmware: DSM 2.3-1157
Pinnacle SC200 / PCH A-110
  | | The administrator has disabled public write access.
Re: Radio Live365 - 2010/05/13 13:29 I made a workaround by making use of the DB. From file ‘/ext/iradio/live365.php’ I plug in the DB the name of the station and associated broadcaster by in a new table
Code:

 db_insert_row("365_broadcaster", array("title" => $title,                                         "broadcaster" => $broadcaster));  db_sqlcommand("ALTER IGNORE TABLE 365_broadcaster ADD UNIQUE INDEX(title)");

while I retrieve the data again in file ‘/base/image_screens.php’ when needed:
Code:

 $query_broadcaster "select broadcaster from 365_broadcaster where title = '$station_name'";  $live365_broadcaster db_value($query_broadcaster);

I must admit it’s not very elegant, but it works; all comments to improve are welcomed.

Now, the next challenge: for most stations a login is needed. I entered my credentials (hardcoded) in line 43 of file ‘/ext/iradio/live365.php’, but it’s not that simple unfortunately. Do I need to encrypt the password? Or am I missing something else?

Again, all tips are highly appreciated …

cheers, Klaas

---------------------------------------------------------------------------
SwissCenter SVN 1405
Simese 2.5.10 / PHP 5.2.9-1 / MySQL 5.1.32 / Windows XP SP3
Apache 2.2.13 / PHP 5.2.12 / MySQL 5.1.34 / Linux Synology 2.6.15
Synology DS107+ (128), firmware: DSM 2.3-1157
Pinnacle SC200 / PCH A-110
  | | The administrator has disabled public write access.
spacer
 

Screenshots

www.flickr.com
This is a Flickr badge showing public photos from swisscenter. Make your own badge here.


 

Mambo is Free Software released under the GNU/GPL License.
spacer