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 » Thu Oct 13, 2011 8:38 pm

@smrq

Pretty sure I fixed all the issues besides the last.fm support.

Describe how you use this exactly?
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 smrq » Fri Oct 14, 2011 2:16 pm

Awesome :D

Trivial last.fm support would be something like: scrobble a track as soon as it starts playing.
Standard support would be: Send a "now playing" notification as soon as it starts playing, scrobble after a certain amount has played. (Last I checked, the official last.fm client uses: scrobble after 50% of the track has played, with a minimum of 31 secs and a maximum of 8 minutes.) I'm pretty sure the JW Player API makes this possible.

The Subsonic API for sending scrobbling/now playing notifications looks really simple.
smrq
 
Posts: 7
Joined: Tue Oct 11, 2011 9:14 pm

Re: Subsonic HTML5 MiniPlayer

Postby tsquillario » Fri Oct 14, 2011 2:27 pm

smrq wrote:Awesome :D

Trivial last.fm support would be something like: scrobble a track as soon as it starts playing.
Standard support would be: Send a "now playing" notification as soon as it starts playing, scrobble after a certain amount has played. (Last I checked, the official last.fm client uses: scrobble after 50% of the track has played, with a minimum of 31 secs and a maximum of 8 minutes.) I'm pretty sure the JW Player API makes this possible.

The Subsonic API for sending scrobbling/now playing notifications looks really simple.


Yea that's what I would use. IMO, sindre should include this functionality in Subsonic since the option to enable the last.fm support is in the settings. It should just scrobble and post the now playing data in the background without the API even knowing.

I'll look what I can do on my end but I think a feature request should be added for this.
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 smrq » Fri Oct 14, 2011 3:06 pm

tsquillario wrote:Yea that's what I would use. IMO, sindre should include this functionality in Subsonic since the option to enable the last.fm support is in the settings. It should just scrobble and post the now playing data in the background without the API even knowing.

I'll look what I can do on my end but I think a feature request should be added for this.


I think the way the Subsonic API is set up the way it is is because only the client player knows when ~50% of a track is played (and when a track starts playing, too? Calling the stream function != playing a track, since a client could potentially pre-buffer tracks), so you need some sort of API callback to let the server know your current playback status.

Incidentally, the first release of the Touchpad Android port was released yesterday... and the Subsonic app works great on it :) So that's one platform you don't have to worry about ;)
smrq
 
Posts: 7
Joined: Tue Oct 11, 2011 9:14 pm

Re: Subsonic HTML5 MiniPlayer

Postby herbman » Fri Oct 21, 2011 3:32 pm

So far so good, got it working on the first try.

This works great with my iPhone 4 running ios5. So great, that I'm now thinking about what it would take to use this instead of iSub since it's so much smoother! I would love (and would pay for) the following features:
1. Elastic UI that scales fine on the phone and on the desktop, or simply a good UI for the phone.
2. Caching for albums or caching ahead when an album is being played, so I can dip into the subway and not lose my playback! Maybe html5 local storage for that?

Good work so far!
herbman
 
Posts: 4
Joined: Thu Jun 10, 2010 1:18 pm

Re: Subsonic HTML5 MiniPlayer

Postby ecleese » Sat Oct 29, 2011 2:13 pm

I'm having difficulties playing a selected track within search results.

After searching, results are displayed but I cannot play any of them. If you click on one or ctrl+click or shift+click multiple, it places a check mark next to each one but I'm unsure what this is meant for. I tried using the <+ Playlist> button at the top thinking it may add the selected tracks to a new playlist but that didn't seem to create a new playlist or add to the currently playing one.

The only way I was able to play any song within search results was if I was currently playing the last song in a playlist or the only song playing and I press the keyboard shortcut for track advance it would start playing the first search result track. From there I could continue to press the keyboard shortcut for track advance and it goes down the list of search results playing each one.

Is this portion still a work in progress?

Software:
-----------
Windows 7 X64
Google Chrome (15.0.874.106 beta-m)
MiniSub (.014)
ecleese
 
Posts: 2
Joined: Sat Oct 29, 2011 1:58 pm

Re: Subsonic HTML5 MiniPlayer

Postby jmeb » Fri Nov 04, 2011 5:59 pm

Very cool stuff here. Looks like this is lined up to be implemented in the main subsonic installation (http://subsonic.svn.sourceforge.net/vie ... n/TODO.TXT) which is grand.

As soon as I can select by media folder for the Music Library display I'll be on it all the time.

Cheers for this.
jmeb
 
Posts: 13
Joined: Sun Oct 23, 2011 6:58 pm

Re: Subsonic HTML5 MiniPlayer

Postby smrq » Mon Nov 07, 2011 4:13 am

Finally decided to do it myself... I just added last.fm support in a fork. :)
https://github.com/smrq/MiniSub
I have pretty much not tested it at all yet :P
smrq
 
Posts: 7
Joined: Tue Oct 11, 2011 9:14 pm

Re: Subsonic HTML5 MiniPlayer

Postby phynias » Wed Nov 09, 2011 8:06 am

everything works great except no album art shows up.
when i go to an image url i get the error

Exception java.io.IOException
Message Failed to create thumbnail for D:\Stuff\!Music\J.....\Plane.mp3. Could not initialize class sun.java2d.Disposer
Java version Sun Microsystems Inc. 1.6.0_26
Operating system Windows 7 6.1
Server jetty-6.1.x
Memory Used 60 of 78 MB
phynias
 
Posts: 3
Joined: Wed Nov 09, 2011 8:04 am

Re: Subsonic HTML5 MiniPlayer

Postby fractalsystems » Thu Nov 10, 2011 7:33 am

Came across this thread looking for a flash alternative for video...anyway, I had to say to tsquillario in the OP GRATE taste in music! :mrgreen: :lol: :mrgreen:
fractalsystems
 
Posts: 15
Joined: Sun Feb 06, 2011 6:54 pm

Re: Subsonic HTML5 MiniPlayer

Postby tsquillario » Thu Nov 10, 2011 4:08 pm

phynias wrote:everything works great except no album art shows up.
when i go to an image url i get the error

Exception java.io.IOException
Message Failed to create thumbnail for D:\Stuff\!Music\J.....\Plane.mp3. Could not initialize class sun.java2d.Disposer
Java version Sun Microsystems Inc. 1.6.0_26
Operating system Windows 7 6.1
Server jetty-6.1.x
Memory Used 60 of 78 MB


Does this happen for every album? I've seen this error before and reported it to Sindre. Haven't got a reply or seen a fix for it yet.
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 » Thu Nov 10, 2011 4:10 pm

ecleese wrote:I'm having difficulties playing a selected track within search results.

After searching, results are displayed but I cannot play any of them. If you click on one or ctrl+click or shift+click multiple, it places a check mark next to each one but I'm unsure what this is meant for. I tried using the <+ Playlist> button at the top thinking it may add the selected tracks to a new playlist but that didn't seem to create a new playlist or add to the currently playing one.

The only way I was able to play any song within search results was if I was currently playing the last song in a playlist or the only song playing and I press the keyboard shortcut for track advance it would start playing the first search result track. From there I could continue to press the keyboard shortcut for track advance and it goes down the list of search results playing each one.

Is this portion still a work in progress?

Software:
-----------
Windows 7 X64
Google Chrome (15.0.874.106 beta-m)
MiniSub (.014)


I will take a look at this. I made quite a bit of changes in the last version and missed this. Thanks for letting me know :) I will push the update as soon as I can, hopefully today!
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 » Thu Nov 10, 2011 4:14 pm

fractalsystems wrote:Came across this thread looking for a flash alternative for video...anyway, I had to say to tsquillario in the OP GRATE taste in music! :mrgreen: :lol: :mrgreen:


\mm/

I'm a hippie at heart, love me some good jams! The fact that I couldn't easily listen to my music at work is what brought me to Subsonic. Then my love for a simple, clean, well designed interface brought MiniSub!
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 » Tue Nov 15, 2011 3:28 pm

ecleese wrote:I'm having difficulties playing a selected track within search results.

After searching, results are displayed but I cannot play any of them. If you click on one or ctrl+click or shift+click multiple, it places a check mark next to each one but I'm unsure what this is meant for. I tried using the <+ Playlist> button at the top thinking it may add the selected tracks to a new playlist but that didn't seem to create a new playlist or add to the currently playing one.

The only way I was able to play any song within search results was if I was currently playing the last song in a playlist or the only song playing and I press the keyboard shortcut for track advance it would start playing the first search result track. From there I could continue to press the keyboard shortcut for track advance and it goes down the list of search results playing each one.

Is this portion still a work in progress?

Software:
-----------
Windows 7 X64
Google Chrome (15.0.874.106 beta-m)
MiniSub (.014)


Just posted an update to fix this issue.
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 bbeaton » Thu Nov 17, 2011 9:55 pm

Great UI! Very clean and natural to use. There seems to be a weird iOS incompatibility. Safari on the iPhone 4 (running iOS 5.0.1) works great, but Safari on the iPad (also running iOS 5.0.1) will not play audio. I wanted to see if anyone else had this experience. The UI on the iPad acts like it's going to play, and the play/pause toggle switches to 'play' mode, but there is no status update when checking the monitor page on the subsonic webapp.

EDIT: Question about some undocumented short-cuts. When I type A-W I am automatically taken to folders that start with that letter, why no x,y, or z? or numbers? Could you implement something where there is a buffer for typing more than the first letter of an album? Example would be AB would go to "About..." instead of "Across.." then jumping to "Bayside"
bbeaton
 
Posts: 1
Joined: Thu Nov 17, 2011 9:49 pm

PreviousNext

Return to Jamstash (formerly MiniSub)

Who is online

Users browsing this forum: No registered users and 20 guests