2.3.4 beta to prod release

This commit is contained in:
Trevor Squillario 2012-11-27 20:53:54 -05:00
parent d0990ba861
commit c12537e061
7 changed files with 22 additions and 47 deletions

View file

@ -7,10 +7,11 @@ MiniSub is an HTML5 Web Player for the Subsonic streaming server.
Features
* HTML5 Audio with Flash fallback (provided by the SoundManager2 library)
* Flexible Layout (will scale to whatever size your browser window is)
* Keyboard shortcuts (back, forward, play/pause, skip to artist, volume control)
* Keyboard shortcuts (back, forward, play/pause, skip to artist)
* Playlist support (create new, add to existing, delete)
* Podcast support (includes description field on hover)
* Favorite/Starred support for Albums & Songs
* Shortcuts supported
* Chat support (when the chat window is open it will auto-update in the background)
* Now Playing support (see what others are streaming at the moment)
* Easy installation (Chrome App or manual install)

View file

@ -22,7 +22,6 @@
<script src="js/plugins/jquery.linkify-1.0-min.js" type="text/javascript"></script>
<script src="js/plugins/jquery.periodic.js" type="text/javascript"></script>
<script src="js/plugins/jquery.scrollTo-1.4.2-min.js" type="text/javascript"></script>
<script src="js/plugins/jquery.mousewheel.min.js" type="text/javascript"></script>
<script src="js/jplayer/jquery.jplayer.min.js" type="text/javascript"></script>
<script src="js/fancybox/jquery.fancybox.pack.js" type="text/javascript"></script>
<script src="js/libs/api.js" type="text/javascript"></script>
@ -45,7 +44,7 @@
<li><a href="#tabQueue" id="action_tabQueue" title="Play Queue"><img src="images/play_alt_gd_16x16.png" /></a></li>
<li><a href="#tabPlaylists" id="action_tabPlaylists" title="Playlists"><img src="images/list_gd_16x14.png" /></a></li>
<li><a href="#tabPodcasts" id="action_tabPodcasts" title="Podcasts"><img src="images/rss_16x16.png" /></a></li>
<li><a href="#tabVideos" id="action_tabVideos" title="Videos"><img src="images/movie_gd_16x16.png" /></a></li>
<!--<li><a href="#tabVideos" id="action_tabVideos" title="Videos"><img src="images/movie_gd_16x16.png" /></a></li>-->
<li><a href="#tabPreferences" id="action_tabPreferences" class="last" title="Preferences"><img src="images/cog_16x16.png" /></a></li>
</ul>
<div id="toploading"></div>
@ -93,7 +92,7 @@
</div>
<div id="BottomContainer"><ul id="BottomIndex"></ul></div>
</div>
<div id="BreadCrumbContainer"><div id="BreadCrumb"><img src="images/home_gl_12x12.png" /><div id="BreadCrumbs" class="floatleft"></div></div></div>
<div id="BreadCrumbContainer"><div id="BreadCrumb"><a href="#" id="BreadHome"><img src="images/home_gl_12x12.png" /></a><div id="BreadCrumbs" class="floatleft"></div></div></div>
<table id="AlbumContainer" class="simplelist songlist noselect" cellspacing="1">
<thead></thead>
<tbody></tbody>
@ -296,7 +295,7 @@
<span class="changes">- </span>
</li>
-->
<li class="log"><span class="version">11/26/2012 - 2.3.2</span>
<li class="log"><span class="version">11/27/2012 - 2.3.4</span>
<span class="changes">- Basic Breadcrumb navigation implemented</span>
</li>
<li class="log"><span class="version">11/1/2012 - 2.3.1</span>
@ -436,7 +435,7 @@
<h3 class="title">Thanks</h3>
<ul class="preferences">
<li>Icons - <a href="http://somerandomdude.com/work/iconic" target="_blank">http://somerandomdude.com/work/iconic</a></li>
<li>Audio Library - <a href="http://www.schillmania.com/projects/soundmanager2" target="_blank">http://www.schillmania.com/projects/soundmanager2</a></li>
<li>Audio Library - <a href="http://jplayer.org" target="_blank">http://jplayer.org</a></li>
</ul>
</div>
</div>

View file

@ -9,7 +9,7 @@ var password;
var passwordenc;
var server;
var smwidth;
var currentVersion = '2.3.2';
var currentVersion = '2.3.4';
function getCookie(value) {
if ($.cookie(value)) {

View file

@ -1,12 +0,0 @@
/*! Copyright (c) 2011 Brandon Aaron (http://brandonaaron.net)
* Licensed under the MIT License (LICENSE.txt).
*
* Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
* Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
* Thanks to: Seamus Leahy for adding deltaX and deltaY
*
* Version: 3.0.6
*
* Requires: 1.2.2+
*/
(function(a){function d(b){var c=b||window.event,d=[].slice.call(arguments,1),e=0,f=!0,g=0,h=0;return b=a.event.fix(c),b.type="mousewheel",c.wheelDelta&&(e=c.wheelDelta/120),c.detail&&(e=-c.detail/3),h=e,c.axis!==undefined&&c.axis===c.HORIZONTAL_AXIS&&(h=0,g=-1*e),c.wheelDeltaY!==undefined&&(h=c.wheelDeltaY/120),c.wheelDeltaX!==undefined&&(g=-1*c.wheelDeltaX/120),d.unshift(b,e,g,h),(a.event.dispatch||a.event.handle).apply(this,d)}var b=["DOMMouseScroll","mousewheel"];if(a.event.fixHooks)for(var c=b.length;c;)a.event.fixHooks[b[--c]]=a.event.mouseHooks;a.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=b.length;a;)this.addEventListener(b[--a],d,!1);else this.onmousewheel=d},teardown:function(){if(this.removeEventListener)for(var a=b.length;a;)this.removeEventListener(b[--a],d,!1);else this.onmousewheel=null}},a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery)

View file

@ -144,7 +144,7 @@
playPauseSong();
return false;
} else if (unicode == 36 && $('#tabLibrary').is(':visible')) {
$('#Artists').stop().scrollTo('#auto', 400);
$('#Artists').stop().scrollTo('#MusicFolders', 400);
}
}
});
@ -177,6 +177,10 @@
$(this).addClass('selected');
getAlbumListBy($(this).attr("id"));
});
$('#BreadHome').live('click', function () {
$('#Artists').stop().scrollTo('#MusicFolders', 400);
return false;
});
$('#BreadCrumbs a').live('click', function () {
var artistid = $(this).attr('artistid');
var albumid = $(this).attr('albumid');
@ -528,30 +532,6 @@
loadTabContent('#tabQueue');
}
});
$('#songdetails').bind('mousewheel', function (event, delta, deltaX, deltaY) {
var dir = delta > 0 ? 'Up' : 'Down';
var vel = Math.abs(delta);
var v = getCookie('Volume') ? parseFloat(getCookie('Volume')) : 1;
if (deltaY > 0) {
var newVolume = v + .2;
if (newVolume <= 1) {
$("#playdesk").jPlayer({
volume: newVolume
});
setCookie('Volume', newVolume);
}
} else {
var newVolume = v - .2;
if (newVolume > 0) {
$("#playdesk").jPlayer({
volume: newVolume
});
setCookie('Volume', newVolume);
}
}
if (debug) { console.log(dir + ' velocity: ' + vel + ' x: ' + deltaX + ' y: ' + deltaY); }
return false;
});
$('#songdetails').mouseover(function () {
$(this).addClass('hover');
@ -965,6 +945,8 @@
$('#ScrollTitle').live('click', function () {
if ($('#ScrollTitle').is(':checked')) {
setCookie('ScrollTitle', '1');
} else {
setCookie('ScrollTitle', null);
}
});
$('#Debug').live('click', function () {

View file

@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "MiniSub",
"description": "MiniSub - HTML5 Mini Player for Subsonic",
"version": "2.3.2",
"version": "2.3.4",
"app": {
"launch": {
"local_path": "index.html"

View file

@ -397,16 +397,21 @@ ul.mainlist li.item a.add:hover
padding: 2px 0px 2px 0;
float: left;
}
#BreadCrumb a
#BreadCrumbs a
{
margin: 0 2px 0 6px;
text-decoration: none;
color: #829FC0;
}
#BreadCrumb a:hover
#BreadCrumbs a:hover
{
text-decoration: underline;
}
#BreadHome a
{
padding: 0;
margin: 0;
}
#AlbumContainer
{