fixed two typo's/bugs, updated readme,

This commit is contained in:
Wouter van Wijk 2013-01-01 22:44:05 +01:00
parent 00ddbb8138
commit ad030cd0b3
3 changed files with 5 additions and 10 deletions

View File

@ -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 <http://docs.mopidy.com/en/latest/installation/>`_.
`the installation docs <http://docs.mopidy.com/en/latest/installation/>`_ or `the settings docs <http://docs.mopidy.com/en/latest/settings/>`_.
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 <http://docs.mopidy.com/en/latest/settings/>`_ for instructions on the settings.
== 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.

View File

@ -259,12 +259,5 @@
<script src="js/functionsvars.js"></script>
<script src="js/ws.js"></script>
<script src="js/gui.js"></script>
</body>
</html>
script src="js/ws.js"></script>
<script src="js/gui.js"></script>
</body>
</html>
html>

View File

@ -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;