diff --git a/index.html b/index.html index 2251f61..c28b9fc 100755 --- a/index.html +++ b/index.html @@ -35,7 +35,32 @@
- +
+
+ Cannot connect to the server...
Please wait.
+
+
+
+ Getting data from the server...
Please wait.
+
+
diff --git a/js/functionsvars.js b/js/functionsvars.js index ac7d1a0..40ce864 100755 --- a/js/functionsvars.js +++ b/js/functionsvars.js @@ -43,13 +43,10 @@ SEARCH_ALBUM_TABLE = '#albumresulttable'; SEARCH_ARTIST_TABLE = '#artistresulttable'; SEARCH_TRACK_TABLE = '#trackresulttable'; -WEB_SOCKET_SWF_LOCATION = "/static/WebSocketMain.swf"; -WEB_SOCKET_DEBUG = true; - -//process updated playlist to gui +//A hack to find the name of the first artist of a playlist. this is not yet returned by mopidy +//does not work wel with multiple artists of course function getArtist(pl) { for (var i = 0; i < pl.length; i++) { - var child = '