MiniSub - Subsonic HTML5 Web App (Archive)

Jamstash is an HTML5 Mini Player for the Subsonic streaming server

Moderator: moderators

Re: Subsonic HTML5 MiniPlayer

Postby tsquillario » Fri Jan 06, 2012 12:37 am

cnliberal wrote:I just re-downloaded, deleted contents of old minisub directory, and pushed new minisub files to the correct directory. File dates match with today. I then restarted the subsonic process. I logged into the normal subsonic webapp. Then I browsed to the minisub directory. Minisub opened correctly. I added several albums to the current playlist. I still don't see where to save that to a playlist. Should I try to delete and re-add the minisub files back? Thanks!


On the Current Playlist tab, you should see + Playlist, All, None buttons now.

I had an issue after I upgraded Subsonic where the numbered folder under the jetty folder changed. Ensure the MiniSub file are in the right directory.
Jamstash Developer
Chrome App - https://chrome.google.com/webstore/detail/jccdpflnecheidefpofmlblgebobbloc
Beta Site - http://beta.jamstash.com
GitHub Project - https://github.com/tsquillario/Jamstash
User avatar
tsquillario
 
Posts: 206
Joined: Thu Jun 30, 2011 5:10 pm
Location: State College, PA

Re: Subsonic HTML5 MiniPlayer

Postby cnliberal » Fri Jan 06, 2012 3:22 pm

I have verified that I have the latest version of minisub. I have completely removed the old minisub directory and re-downloaded the tar.gz from the link in the first post. This is a new install of Subsonic, so there's only one webapp directory under '2585'. Path is:

/var/sunsonic/jetty/2585/webapp/minisub

I see the + Playlist, All, None buttons but they're under the 'Music Library' tab, not the current playlist tab. Thanks for your assistance!
cnliberal
 
Posts: 66
Joined: Fri Nov 19, 2010 12:52 am
Location: Castle Rock, CO, USA

Re: Subsonic HTML5 MiniPlayer

Postby itchy » Sun Jan 08, 2012 10:25 pm

Hey dude. First off, I really like this interface. Second. I attached the play/pause next previous media key-board bindings to your bindings (simple "or" conditions). I wasn't sure if you would like the key codes to incorporate them. Not sure but why, but the play pause didn't respond to '179' but required '0179' to work. Just as a matter of completeness for those interested, Volume-down and Volume-up are 174 and 175, respectively.
Code: Select all
            // Keyboard shortcuts
            $(document).keydown(function (e) {

                var source = e.target.id;
                if (source != 'Search' && source != 'ChatMsg') {
                    var unicode = e.charCode ? e.charCode : e.keyCode;
                    // right arrow
                    if (unicode >= 65 && unicode <= 90) {
                        var key = findKeyForCode(unicode);
                        var el = '#index_' + key.toUpperCase();
                        $('#Artists').stop().scrollTo(el);
                    } else if (unicode == 39 || unicode == 176) {
                        var next = $('ul.songlist li.playing').next();
                        if (!next.length) next = $('ul.songlist li').first();
                        changeTrack(next);
                        // back arrow
                    } else if (unicode == 37 || unicode == 177) {
                        var prev = $('ul.songlist li.playing').prev();
                        if (!prev.length) prev = $('ul.songlist li').last();
                        changeTrack(prev);
                        // spacebar
                    } else if (unicode == 32 || unicode == 0179) {
                        playPauseSong();
                    }
                }
            });
itchy
 
Posts: 2
Joined: Sun Jan 08, 2012 10:21 pm

Re: Subsonic HTML5 MiniPlayer

Postby cnliberal » Mon Jan 09, 2012 2:05 pm

tsquillario wrote:
cnliberal wrote:I just re-downloaded, deleted contents of old minisub directory, and pushed new minisub files to the correct directory. File dates match with today. I then restarted the subsonic process. I logged into the normal subsonic webapp. Then I browsed to the minisub directory. Minisub opened correctly. I added several albums to the current playlist. I still don't see where to save that to a playlist. Should I try to delete and re-add the minisub files back? Thanks!


On the Current Playlist tab, you should see + Playlist, All, None buttons now.

I had an issue after I upgraded Subsonic where the numbered folder under the jetty folder changed. Ensure the MiniSub file are in the right directory.


Crazy. I go home for the weekend, and come back, and now MiniSub has the +Playlist function. The ONLY thing I did this weekend was reboot my ESXi box (which in turn reboots the Media/Subsonic server. What I don't understand is that I did a:

Code: Select all
sudo /etc/init.d/subsonic stop
sudo /etc/init.d/subsonic start


And I got a different process ID. Oh well, I'm the idiot. Sorry to doubt you!
cnliberal
 
Posts: 66
Joined: Fri Nov 19, 2010 12:52 am
Location: Castle Rock, CO, USA

Re: Subsonic HTML5 MiniPlayer

Postby tsquillario » Mon Jan 09, 2012 2:12 pm

cnliberal wrote:
tsquillario wrote:
cnliberal wrote:I just re-downloaded, deleted contents of old minisub directory, and pushed new minisub files to the correct directory. File dates match with today. I then restarted the subsonic process. I logged into the normal subsonic webapp. Then I browsed to the minisub directory. Minisub opened correctly. I added several albums to the current playlist. I still don't see where to save that to a playlist. Should I try to delete and re-add the minisub files back? Thanks!


On the Current Playlist tab, you should see + Playlist, All, None buttons now.

I had an issue after I upgraded Subsonic where the numbered folder under the jetty folder changed. Ensure the MiniSub file are in the right directory.


Crazy. I go home for the weekend, and come back, and now MiniSub has the +Playlist function. The ONLY thing I did this weekend was reboot my ESXi box (which in turn reboots the Media/Subsonic server. What I don't understand is that I did a:

Code: Select all
sudo /etc/init.d/subsonic stop
sudo /etc/init.d/subsonic start


And I got a different process ID. Oh well, I'm the idiot. Sorry to doubt you!


I've worked in IT long enough, sometimes things just fix themselves, lol!
Jamstash Developer
Chrome App - https://chrome.google.com/webstore/detail/jccdpflnecheidefpofmlblgebobbloc
Beta Site - http://beta.jamstash.com
GitHub Project - https://github.com/tsquillario/Jamstash
User avatar
tsquillario
 
Posts: 206
Joined: Thu Jun 30, 2011 5:10 pm
Location: State College, PA

Re: Subsonic HTML5 MiniPlayer

Postby tsquillario » Mon Jan 09, 2012 2:13 pm

itchy wrote:Hey dude. First off, I really like this interface. Second. I attached the play/pause next previous media key-board bindings to your bindings (simple "or" conditions). I wasn't sure if you would like the key codes to incorporate them. Not sure but why, but the play pause didn't respond to '179' but required '0179' to work. Just as a matter of completeness for those interested, Volume-down and Volume-up are 174 and 175, respectively.
Code: Select all
            // Keyboard shortcuts
            $(document).keydown(function (e) {

                var source = e.target.id;
                if (source != 'Search' && source != 'ChatMsg') {
                    var unicode = e.charCode ? e.charCode : e.keyCode;
                    // right arrow
                    if (unicode >= 65 && unicode <= 90) {
                        var key = findKeyForCode(unicode);
                        var el = '#index_' + key.toUpperCase();
                        $('#Artists').stop().scrollTo(el);
                    } else if (unicode == 39 || unicode == 176) {
                        var next = $('ul.songlist li.playing').next();
                        if (!next.length) next = $('ul.songlist li').first();
                        changeTrack(next);
                        // back arrow
                    } else if (unicode == 37 || unicode == 177) {
                        var prev = $('ul.songlist li.playing').prev();
                        if (!prev.length) prev = $('ul.songlist li').last();
                        changeTrack(prev);
                        // spacebar
                    } else if (unicode == 32 || unicode == 0179) {
                        playPauseSong();
                    }
                }
            });


@itchy
thanks bub! i'll give this a look over and have it integrated this week.
Jamstash Developer
Chrome App - https://chrome.google.com/webstore/detail/jccdpflnecheidefpofmlblgebobbloc
Beta Site - http://beta.jamstash.com
GitHub Project - https://github.com/tsquillario/Jamstash
User avatar
tsquillario
 
Posts: 206
Joined: Thu Jun 30, 2011 5:10 pm
Location: State College, PA

Re: Subsonic HTML5 MiniPlayer

Postby tsquillario » Mon Jan 09, 2012 4:01 pm

Just pushed an update to add the media keyboard bindings from @itchy

I don't have a media keyboard to test, so those that do, give it a go! Next, Previous & Play/Pause should be mapped.
Jamstash Developer
Chrome App - https://chrome.google.com/webstore/detail/jccdpflnecheidefpofmlblgebobbloc
Beta Site - http://beta.jamstash.com
GitHub Project - https://github.com/tsquillario/Jamstash
User avatar
tsquillario
 
Posts: 206
Joined: Thu Jun 30, 2011 5:10 pm
Location: State College, PA

Re: Subsonic HTML5 MiniPlayer

Postby tsquillario » Wed Jan 11, 2012 2:24 pm

Any feature requests, suggestions, comments I'd be glad to hear them...
Jamstash Developer
Chrome App - https://chrome.google.com/webstore/detail/jccdpflnecheidefpofmlblgebobbloc
Beta Site - http://beta.jamstash.com
GitHub Project - https://github.com/tsquillario/Jamstash
User avatar
tsquillario
 
Posts: 206
Joined: Thu Jun 30, 2011 5:10 pm
Location: State College, PA

Re: Subsonic HTML5 MiniPlayer

Postby cnliberal » Wed Jan 11, 2012 8:40 pm

MiniSub is fantastic! I have another suggestion. Would it be possible to implement something that already exists in the main SS install? Specifically, in the left pane, i can scroll my artists list. At the top of the left pane, is a vertical column of A-Z. When I scroll, the list of A-Z scrolls too, until it's off the screen. Can that remain stationary providing a quick jump to the letter I choose?

EDIT!!

And maybe a way to generate a truly random playlist of music. The only 'Random' button I see is on the 'Music Library' tab, and it's labeled 'Random' but it's under 'Auto Album'. I'd like to be able to get a random list of songs to play. Something more than 50 songs like SS currently offers. Thanks!
cnliberal
 
Posts: 66
Joined: Fri Nov 19, 2010 12:52 am
Location: Castle Rock, CO, USA

Re: Subsonic HTML5 MiniPlayer

Postby mr.kappa » Sat Jan 14, 2012 10:26 am

It would be nice to have in the "current playlist" tab the album art in order to understand better what music I've loaded! A complete preference tab would also be a good thing!

ps Great work! Your UI is MUCH better than the "standard" one! :D
mr.kappa
 
Posts: 1
Joined: Sat Jan 14, 2012 10:19 am

Re: Subsonic HTML5 MiniPlayer

Postby itchy » Sat Jan 14, 2012 3:09 pm

The ability to click items in the "Now Playing" stream list.
A jukebox toggle button? (I might actually take a shot at this if I can get some time)
itchy
 
Posts: 2
Joined: Sun Jan 08, 2012 10:21 pm

Re: Subsonic HTML5 MiniPlayer

Postby zapt0 » Mon Jan 16, 2012 1:03 am

Thank you for this excellent addon!

One thing I am missing is volume control, could you please add it?
zapt0
 
Posts: 41
Joined: Tue Apr 26, 2011 8:49 pm

Re: Subsonic HTML5 MiniPlayer

Postby tsquillario » Tue Jan 17, 2012 9:56 pm

Updates coming soon! Thanks for the ideas/suggestions.
Jamstash Developer
Chrome App - https://chrome.google.com/webstore/detail/jccdpflnecheidefpofmlblgebobbloc
Beta Site - http://beta.jamstash.com
GitHub Project - https://github.com/tsquillario/Jamstash
User avatar
tsquillario
 
Posts: 206
Joined: Thu Jun 30, 2011 5:10 pm
Location: State College, PA

Re: Subsonic HTML5 MiniPlayer

Postby tsquillario » Wed Jan 18, 2012 5:06 pm

Just pushed an update to Git. Enjoy!
Some visual tweaks, rating support on Artists & Albums, random playlist, preferences added to control the number of items returned with the Auto Albums & Playlists

@cnliberal
Both good ideas man! Both the static A-Z scroll and the Random playlist got implemented. Win! I also added the ability to customize the number of items returned with both the Auto Albums and Auto Playlist.

@mr.kappa
I played with this a bit, and all I could come up with was to add the Artist to the song displayed. I tried adding album art, it just made things cluttered. I may revisit this again in the future ;)

@itchy
If you click an Artist/Album in the Now Playing would it bring that particular item up. I'll have to figure out the best way to implement that. This would be part of adding direct links to albums throughout the interface. I'll have to do some extra work to implement this right. Something for the future for sure. As far as the jukebox, I don't use it. I'll have to play with it at home. Feel free to code it up!

@zapt0
No volume control support in the currently released version of AudioJS. It appears to be in the works however. As soon as they implement it I can too! I might look at switching HTML5 audio libraries to a more powerful one, but that will take some time.
Jamstash Developer
Chrome App - https://chrome.google.com/webstore/detail/jccdpflnecheidefpofmlblgebobbloc
Beta Site - http://beta.jamstash.com
GitHub Project - https://github.com/tsquillario/Jamstash
User avatar
tsquillario
 
Posts: 206
Joined: Thu Jun 30, 2011 5:10 pm
Location: State College, PA

Re: Subsonic HTML5 MiniPlayer

Postby cnliberal » Wed Jan 18, 2012 8:53 pm

Score!! Looks awesome!! This is getting better and better!

Another thing I was thinking before this push, in the 'Current Playlist' tab, you list out the TRACK name, and then in smaller,grayer font, the album. Could you perhaps make these fields? Left most field, TRACKNUMBER, next field TRACK NAME, third field, TRACK ARTIST (not album artist), right most field ALBUM NAME (Or something that looks good to the eye). Even the ability to add/remove/choose which fields you wanted displayed. Maybe additional fields like album year, Album Artist, or whatever. I like the STARS by the tracks. You can't see the star on all tracks (because the background color for the track is white and the star is white).

I'm really loving this interface! It's my go to music player at work. Thank you for your effort on it!
cnliberal
 
Posts: 66
Joined: Fri Nov 19, 2010 12:52 am
Location: Castle Rock, CO, USA

PreviousNext

Return to Jamstash (formerly MiniSub)

Who is online

Users browsing this forum: No registered users and 9 guests