diff --git a/README b/README index 86e7816..1dc5b12 100644 --- a/README +++ b/README @@ -8,12 +8,13 @@ External Subsonic Music Player 8/25/2011 .006 flexible layout, added buttons to player 9/17/2011 .007 display tweaks for tablet, chat feature added 9/17/2011 .008 pause/play button tweak -9/30/2011 .009 now playing support, added back button to track list +9/30/2011 .009 now playing support, added back button to track list, other tweaks +10/1/2011 .010 fix for subdirectory custom installs +10/2/2011 .011 added play button from album list TO DO: (In no particular order...) - Jukebox Control - Download Links -- What Other Are Listening To support - Ratings - Chrome App??? - Add notification when trial license has expired \ No newline at end of file diff --git a/images/play_gl_6x8.png b/images/play_gl_6x8.png new file mode 100644 index 0000000..f88955d Binary files /dev/null and b/images/play_gl_6x8.png differ diff --git a/index.html b/index.html index 03aa47f..22d8824 100644 --- a/index.html +++ b/index.html @@ -121,6 +121,13 @@ } lastChecked = this; }); + // Albums + $('li.album a.play').live('click', function (e) { + var albumid = $(this).parent().parent().attr('childid'); + var artistid = $(this).parent().parent().attr('parentid'); + getAlbums(albumid, artistid, true); + return false; + }); // Play Track - Global Click Event $('ul.songlist li.song').live('dblclick', function (e) { @@ -292,13 +299,21 @@ $.cookie('username', null); $.cookie('password', null); }); + $('#SaveSubDirectory').live('click', function () { + var subdirectory = $('#SubDirectory').val(); + if (subdirectory != "") { + $.cookie('subdirectory', subdirectory, { expires: 365 }); + location.reload(true); + } + return false; + }); $('#StyleSwitcher').live('change', function () { var style = $(this).val(); $('link').attr('href', style); $.cookie('css', style, { expires: 365, path: '/' }); location.reload(true); }); - }); // End document.ready + }); // End document.ready $(window).load(function () { // Set Default Height @@ -369,7 +384,7 @@
- + Playlist + + Playlist All None @@ -416,6 +431,7 @@ $(document).ready(function () { $('#Username').val($.cookie('username')); $('#Password').val($.cookie('password')); + $('#SubDirectory').val($.cookie('subdirectory')); });
@@ -428,6 +444,13 @@ Reset
+
+
+ *For custom installations
+
+ Save +
+