Merge pull request #101 from camilonova/add-grooveshark

Add grooveshark backend
This commit is contained in:
Nick Steel 2015-04-25 17:29:25 +01:00
commit eeb9b2f55b
2 changed files with 5 additions and 3 deletions

View File

@ -403,10 +403,11 @@
<form>
<div class="ui-grid-a pl-breakpoint">
<div class="ui-block-a" style="padding: 5px">
<p>Add an url of a stream that you want to listen to in the box below. You can add uri's for Spotify, SoundCloud, YouTube, Podcasts.
<p>Select a service and add an url of a stream that you want to listen.
<select id="selectstreamservice" data-native-menu="true">
<option value="">Internet Radio (mp3, m3u, asx, etc)</option>
<option value="yt">YouTube</option>
<option value="gs">Grooveshark</option>
<option value="">Spotify Uri</option>
<option value="sc">SoundCloud</option>
<option value="podcast">Podcast</option>
@ -418,8 +419,7 @@
Play
</button>
<p>Put in a name and hit the Save button to save the url (locally, in the browser not
on the server yet). <!-- To find stations, use the Browse function with extensions like Dirble or TuneIn, the right values will appear in these boxes automatically. Or use websites like <a href="http://www.listenlive.eu/" target="_blank">Listenlive</a> or <a
<p>Put in a name and hit the Save button to save the stream in your browser (not on the server yet). <!-- To find stations, use the Browse function with extensions like Dirble or TuneIn, the right values will appear in these boxes automatically. Or use websites like <a href="http://www.listenlive.eu/" target="_blank">Listenlive</a> or <a
href="http://www.dirble.com/" target="_blank">Dirble</a>.</p> -->
<input id="streamnameinput" placeholder="Name" class="span2" data-clear-btn="true"

View File

@ -91,6 +91,7 @@ var uriClassList = [
['podcast', 'fa-rss-square'],
['dirble', 'fa-microphone'],
['tunein', 'fa-headphones'],
['gs', 'fa-music'],
['soundcloud', 'fa-soundcloud'],
['sc', 'fa-soundcloud'],
['gmusic', 'fa-google'],
@ -106,6 +107,7 @@ var uriHumanList = [
['spotify', 'Spotify'],
['spotifytunigo', 'Spotify Browse'],
['local', 'Local Files'],
['grooveshark', 'Grooveshark'],
['podcast', 'Podcasts'],
['dirble', 'Dirble'],
['tunein', 'TuneIn'],