removed old info for webradio and better browsing support

This commit is contained in:
woutervanwijk 2014-02-27 18:45:18 +01:00
parent 5e3580deed
commit cd0d3df056
3 changed files with 7 additions and 6 deletions

View File

@ -313,9 +313,7 @@
<ul id="radiostationstable" class="table"></ul>
<p>Add an url of a radio station stream that you want to listen to. The last 25 stations are saved locally (not
on the server yet).
You cannot use container files like M3U, ASPX or PLS (yet), you have to add the real stream
(open the container file in a text-editor to find streams).
To find stations, use e.g. <a href="http://www.listenlive.eu/" target="_blank">Listenlive</a> or <a
To find stations, use the Browse function with Dirble, or use e.g. <a href="http://www.listenlive.eu/" target="_blank">Listenlive</a> or <a
href="http://www.dirble.com/" target="_blank">Dirble</a>.</p>
<form>

View File

@ -81,7 +81,8 @@ function playTrack(addtoqueue) {
return false;
}
//normal mopidy.tracklist.add(tracks);
//normal
// mopidy.tracklist.add(tracks);
//test mopidy.tracklist.add(null, 0, playlisturi);

View File

@ -98,13 +98,15 @@ function processBrowseDir(resultArr) {
// console.log(rooturi);
if (rooturi.indexOf(':') == -1 ) {
child += '<li><a href="#" onclick="return getBrowseDir();"><h1 class="trackname">..</h1></a></li>';
/* if (rooturi.indexOf(':') == -1 ) {
rooturi = '';
child += '<li><a href="#" onclick="return getBrowseDir();"><h1 class="trackname">..</h1></a></li>';
} else {
child += '<li><a href="#" onclick="return getBrowseDir(this.id);" id="' + rooturi + '"><h1 class="trackname">..</h1></a></li>';
}
*/
// console.log('new:' + rooturi);
for (var i = 0; i < resultArr.length; i++) {