forked from leftypol/leftypol
Updates to radio theme / extension in order to support channel selection dropdown and the various other new radio features. Uses both twig variables and JavaScript in attempt to failback correctly when javascript isn't loaded. Adding support for the Options css theme selector from radio page.
This commit is contained in:
parent
1f3effba04
commit
cfd036c7aa
2 changed files with 105 additions and 36 deletions
|
@ -19,30 +19,40 @@ $theme = array(
|
|||
'type' => 'text',
|
||||
'default' => 'radio.html'),
|
||||
|
||||
array('title' => 'HTTP Prefix',
|
||||
'name' => 'httpprefix',
|
||||
'type' => 'text',
|
||||
'default' => ''),
|
||||
|
||||
array('title' => 'Radio Status URL',
|
||||
'name' => 'radiostatus',
|
||||
'type' => 'text',
|
||||
'default' => '/radio_assets/status.xsl'),
|
||||
|
||||
array('title' => 'Radio MP3 Playlist',
|
||||
'name' => 'radiomp3playlist',
|
||||
array('title' => 'Radio Prefix',
|
||||
'name' => 'radioprefix',
|
||||
'type' => 'text',
|
||||
'default' => ''),
|
||||
|
||||
array('title' => 'Radio OGG Playlist',
|
||||
'name' => 'radiooggplaylist',
|
||||
'type' => 'text',
|
||||
'default' => ''),
|
||||
|
||||
array('title' => 'Radio MP3 Source',
|
||||
'name' => 'radiomp3source',
|
||||
array('title' => 'Filelist Prefix',
|
||||
'name' => 'filelistprefix',
|
||||
'type' => 'text',
|
||||
'default' => ''),
|
||||
|
||||
array('title' => 'Radio OGG Source',
|
||||
'name' => 'radiooggsource',
|
||||
array('title' => 'Channels',
|
||||
'name' => 'channels',
|
||||
'type' => 'text',
|
||||
'default' => ''),
|
||||
'default' => 'everything cyberia swing'),
|
||||
|
||||
array('title' => 'Default Channel',
|
||||
'name' => 'defaultchannel',
|
||||
'type' => 'text',
|
||||
'default' => 'everything'),
|
||||
|
||||
array('title' => 'formats',
|
||||
'name' => 'formats',
|
||||
'type' => 'text',
|
||||
'default' => 'mp3 ogg'),
|
||||
),
|
||||
'build_function' => 'radio_build');
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue