diff --git a/data/interfaces/default/album.html b/data/interfaces/default/album.html index 7dde799d..6af0459d 100644 --- a/data/interfaces/default/album.html +++ b/data/interfaces/default/album.html @@ -1,5 +1,5 @@ <%inherit file="base.html" /> -<%! +<%! from headphones import db, helpers myDB = db.DBConnection() %> @@ -16,7 +16,32 @@ %else: Retry Download Try New Version - %endif + %endif + Choose Alternate Release + « Back to ${album['ArtistName']} @@ -82,7 +107,7 @@ trackduration = 'n/a' if not track['Format']: - format = 'Unknown' + format = '' else: format = track['Format'] %> @@ -143,9 +168,14 @@ getInfo(elem,id,'album'); } - $(document).ready(function() { - getAlbumInfo(); - getAlbumArt(); + function initThisPage() { + $('#album_chooser').click(function() { + $('#dialog').dialog(); + return false; + }); + $('#refresh_artist').click(function() { + $('#dialog').dialog("close"); + }); initActions(); setTimeout(function(){ initFancybox(); @@ -155,8 +185,15 @@ "aaSorting": [], "bFilter": false, "bInfo": false, - "bPaginate": false - }); + "bPaginate": false, + "bDestroy": true + }); + }; + + $(document).ready(function() { + getAlbumInfo(); + getAlbumArt(); + initThisPage(); }); diff --git a/data/interfaces/default/artist.html b/data/interfaces/default/artist.html index 1e00b281..b0d8af05 100644 --- a/data/interfaces/default/artist.html +++ b/data/interfaces/default/artist.html @@ -182,7 +182,6 @@ showMsg("Getting artist information",true); %endif getArtistArt(); - getArtistBio(); getAlbumArt(); $('#album_table').dataTable({ "bDestroy": true, @@ -220,6 +219,7 @@ $(document).ready(function() { initActions(); initThisPage(); + getArtistBio(); }); diff --git a/data/interfaces/default/config.html b/data/interfaces/default/config.html index 216e4eb6..3dfa2420 100644 --- a/data/interfaces/default/config.html +++ b/data/interfaces/default/config.html @@ -342,10 +342,15 @@ m<%inherit file="base.html"/>
- + e.g. /Users/name/Music/iTunes or /Volumes/share/music
+
+ + + Set this if you have a separate directory for lossless music +
@@ -379,8 +384,14 @@ m<%inherit file="base.html"/>
+
-
+
+
+
+ +
+ <% if config['encoder'] == 'lame': lameselect = 'selected="selected"' diff --git a/data/interfaces/default/js/script.js b/data/interfaces/default/js/script.js index b1ac046d..e021074b 100644 --- a/data/interfaces/default/js/script.js +++ b/data/interfaces/default/js/script.js @@ -144,6 +144,7 @@ function initConfigCheckbox(elem) { function initActions() { $("#subhead_menu #menu_link_refresh").button({ icons: { primary: "ui-icon-refresh" } }); $("#subhead_menu #menu_link_edit").button({ icons: { primary: "ui-icon-pencil" } }); + $("#subhead_menu .menu_link_edit").button({ icons: { primary: "ui-icon-pencil" } }); $("#subhead_menu #menu_link_delete" ).button({ icons: { primary: "ui-icon-trash" } }); $("#subhead_menu #menu_link_pauze").button({ icons: { primary: "ui-icon-pause"} }); $("#subhead_menu #menu_link_resume").button({ icons: { primary: "ui-icon-play"} }); @@ -256,7 +257,7 @@ function doAjaxCall(url,elem,reload,form) { var dataError = $(elem).data('error'); if (typeof dataError === "undefined") { // Standard Message when variable is not set - var dataError = "There was a error"; + var dataError = "There was an error"; } // Get Success & Error message from inline data, else use standard message var succesMsg = $("
" + dataSucces + "
"); diff --git a/data/interfaces/default/manage.html b/data/interfaces/default/manage.html index ed62e445..19cc9ac4 100644 --- a/data/interfaces/default/manage.html +++ b/data/interfaces/default/manage.html @@ -6,10 +6,21 @@ <%def name="headerIncludes()">
- Manage Albums - Manage Artists + Manage Albums + + Manage Artists %if not headphones.ADD_ARTISTS: - Manage New Artists + Manage New Artists %endif
@@ -95,6 +106,10 @@ <%def name="javascriptIncludes()">