diff --git a/README.rst b/README.rst index 9928de2..7612aed 100644 --- a/README.rst +++ b/README.rst @@ -7,7 +7,9 @@ Mopidy is a music server which can play music from `Spotify This is a responsive html/js/css client for Mopidy. Responsive, so it works on desktop and mobile browsers. +== Installation == To install Mopidy, check out -`the installation docs `_. +`the installation docs `_ or `the settings docs `_. -Drop the web folder from this client in the mopidy/frontends/ws folder and change the settings.py (of Mopidy) to make it work. work. See `Settings `_ for instructions on the settings. \ No newline at end of file +== Quick install == +Drop the files from this client in a folder on your Mopidy-system. Then change the settings.py (in the root directory of the Mopidy code) to make it work. Add a line ''mopidy.frontends.http.HttpFrontend'' to the FRONTENDS section, and set the ''HTTP_SERVER_STATIC_DIR'' to point to the folder with the files from the web client. \ No newline at end of file diff --git a/index.html b/index.html index e5d8acd..2251f61 100755 --- a/index.html +++ b/index.html @@ -259,12 +259,5 @@ - -script src="js/ws.js"> - - - - -html> diff --git a/js/gui.js b/js/gui.js index 3e9df8f..b2acd8c 100755 --- a/js/gui.js +++ b/js/gui.js @@ -66,7 +66,7 @@ function resizeSonginfo () { $("#infoartist").html(artistshtml); - if( (artiststext.length > 68) || ( data["name"].length > 90)) { + if( (artiststext.length > 90) || ( songname.length > 60)) { $("#infoartist").html(artiststext); //bug in truncate? var spanwidth = $("#infoartist").width() - 1;