Shoutcast radio browser and player

Rocknroll

Staff member
Administrator
Messages
6,174
Thanks to arvy

Hi All,

Just finished my 0.2 version of a shoutcast plugin.

At least an image with 8728 version of sbox is required!!!

I only tested on NLB-8728, and official DGS image.

The lists and stations are all coming from the shoutcast server, so there is no control (yet) over its contents. When selected a large genre (like Pop) it can take a few seconds to receive all stations from the server.

The binary version is attached with this post, but prior to uploading unzip it on your pc and upload the shoutcast.tar.gz to your box (as explained in the readme below).

Please read the following from the README prior to installing:

Shoutcast plugin

This plugin makes it possible to listen to shoutcast radio stations on the CubeRevo

building:
===================
In a full svn check out from the cuberevo-plugins trunk do a make in the shoutcast-plugin directory

Installation:
===================
Copy the shoutcast.plugin to /var/plug-in

Requirements:
===================
a working libmxml.so.1.4 has to be in /var/lib including symlinks to libmxml.so.1 and libmxml.so
libmxml is not included in the source distribution. In the binary release, the lib is included.

From release 0.2 this plugin only works on R8728 and probably newer.

Installation:
===================
From the binary distribution:
Upload the shoutcast.tar.gz file to /tmp
telnet to the box and enter the following commands:

cd /
tar -zxvf /tmp/shoutcast.tar.gz

And the plugin is installed.

From the sources:
To be written.


Usage
===================
After loading you get a list of all genres that are available on the shoutcast server
The following keys can be pressed:
Up - up one entry
Down - down one entry
Left - down 10 entries
Right - up 10 entries
Ok - go into the genre

A list of stations will be shown. Keys are as with the genrelist.
After OK a list of streams from that radio station are shown
Pressing OK on a streams starts playing it.

The exit key will get you back one list, or stops the playing.

The order of the lists are determined by the shoutcastserver (based on popularity)
The number of genres as well, so there are quite a lot of them :)

Bugreports if other than the known bugs can be posted at denktenk.com forum.

Author Arvy,
Have fun with it.

Release 0.2
===================================================
First public binary release.

Fixed bugs:
===================
- Choppy sound is fixed by using a different api
- A lot of unsupported streams from version 0.1 are now supported
- Redirected streams should not occur if you select a non full stream.
This can be prevented by selecting a stream that is not full (in the browser you see two numbers
between () which mean (current no of listeners/max listeners) if the first number is smaller
than the second, the stream won't redirect.

Known bugs:
===================
- after playing a shoutcast stream you cannot use the built-in mp3 player anymore untill you reboot
- The end of lists aren't detected, so don't go past the end of the list as this will give a panic.
Especially when using the right button.


Release 0.1
===================================================
First upload to svn, not made public in binary form

Known bugs:
===================
- AAC playback is not supported
- Redirected streams are not supported
- Some stream sent misformed headers and are not supported in this release
- Sound is still jerky due to missing api in sbox
- Sometimes it is necessary to push exit more then once when playing a Stream
- Keys are not conform DGS key handling
 

Rocknroll

Staff member
Administrator
Messages
6,174
Shoutcast plugin v0.3

Release 0.3
===================================================
Changes:
- exit key is replaced by menu key, this is the same way as
DGS handles the keys. Further more to exit the plugin press
menu multiple times.
- Pg up an down now working like right and left

Added features:
- Volume up and down, however not being displayed.

Fixed bugs:
- responsivness of remote control, stopping a stream might take
up to 2 seconds, depending on the stream.
- closing of network connections to server after stop playing
 

marce

VIP
Messages
7,115
shoutcast.0.4 Release

Code:
Added features:
- bookmarking is now supported, press blue button to go into bookmark list
to go back to normal list press blue again (always returns to
genrelisting).
The functions of the keys are printed in the bottom of the plugin window.
A lot of thanks to Pacco for implementing this.

Changes:
- Swapped the pg up and down keys to make things logical.

Bug Fixes:
- Detection of unsupported stream (AAC and redirect) is fixed.

Known Issues:
- Sometimes after playing a stream during a long time (over an hour) the
plugin stop responding to the volume keys, and sometimes even to the
menu key.
- There are still some panics during browsin

Thx to Pacco
 

elgeneral

Well Known Member
Messages
7,811
Release 0.5
===================================================

Added features:
- Some things are configurable now, see the shoutcast.config file to
see how this works.
- Stopping the TV station can now be stopped at starting the plugin
or when really starting the stream. This can be controlled from the
config file.
- One can now choose to have a background picture, this can be
controlled from the config file. Both picture and on/off
- The current playing song is shown on the front display.
This data is coming from the server, so it may sometimes even
show some ads.
- A very simple screensaver is available, can be turned on or
off from the config file

Changes:

Bug Fixes:


 
Last edited:

elgeneral

Well Known Member
Messages
7,811
Release 0.5.1
===================================================
Bugfix release.
- startup delay most probably fixed due to disabling network logging
- after the songtitle has changed, the sound got choppy, this is fixed now.

This version might appear a bit sluggish when browsing through the lists
if this is too annoying, please turn off the background image.
 
Top