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 Sep 30, 2011 1:34 pm

Brian962 wrote:Thanks for working on this. I got the player installed and can access it, but no music shows up. Any ideas? I'm not on a trial license. Thanks!


Brian,
What is your setup? Subsonic Server OS, Browser, etc.
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 BKKKPewsey » Fri Sep 30, 2011 5:18 pm

While waiting for Brian to respond I have the same issue running on Windows server 2003 with SS4.5 with all browsers (FF, Chrome, & IE)
iSub SubGadget & SubAir all work fine so its not an api problem :?
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Subsonic HTML5 MiniPlayer

Postby tsquillario » Sat Oct 01, 2011 3:01 am

BKKKPewsey wrote:While waiting for Brian to respond I have the same issue running on Windows server 2003 with SS4.5 with all browsers (FF, Chrome, & IE)
iSub SubGadget & SubAir all work fine so its not an api problem :?


Hmmm...what is the full path to the index.html file under the MiniSub folder?

Mine is: C:\subsonic\jetty\2385\webapp\MiniSub\index.html

I'm running on Win7 64bit.
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 » Sat Oct 01, 2011 3:02 am

Released a new update.

.009 now playing support, added back button to track list, other tweaks
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 BKKKPewsey » Sat Oct 01, 2011 11:52 am

tsquillario wrote:
BKKKPewsey wrote:While waiting for Brian to respond I have the same issue running on Windows server 2003 with SS4.5 with all browsers (FF, Chrome, & IE)
iSub SubGadget & SubAir all work fine so its not an api problem :?


Hmmm...what is the full path to the index.html file under the MiniSub folder?

Mine is: C:\subsonic\jetty\2385\webapp\MiniSub\index.html

I'm running on Win7 64bit.


C:\subsonic\jetty\2385\webapp\MiniSub\index.html - SNAP!! :D
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Subsonic HTML5 MiniPlayer

Postby tsquillario » Sat Oct 01, 2011 1:30 pm

BKKKPewsey wrote:
tsquillario wrote:
BKKKPewsey wrote:While waiting for Brian to respond I have the same issue running on Windows server 2003 with SS4.5 with all browsers (FF, Chrome, & IE)
iSub SubGadget & SubAir all work fine so its not an api problem :?


Hmmm...what is the full path to the index.html file under the MiniSub folder?

Mine is: C:\subsonic\jetty\2385\webapp\MiniSub\index.html

I'm running on Win7 64bit.


C:\subsonic\jetty\2385\webapp\MiniSub\index.html - SNAP!! :D


What is the url you are using to access it?

server:port/subsonic/MiniSub
I got that from one of your previous posts. If it's /subsonic/MiniSub that have something do to with it.

When the page loads the ajax call to load the Artists is http://server:port/rest/getIndexes.view?v=1.6.0&c=subweb&f=json&username=user&password=pass
Enter your credentials in that URL, you should get prompted to open or save a file. Open that with notepad, it should have a JSON object of your artists.

The first thing I would do is to install the Firebug addon in Firefox, load the page, hit F12 then look at the Console after the page loads. You should see the ajax calls to load the Artists.
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 BKKKPewsey » Sat Oct 01, 2011 7:47 pm

This is what I get in chrome

Image

Hope that helps
:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Subsonic HTML5 MiniPlayer

Postby tsquillario » Sat Oct 01, 2011 7:53 pm

What is the path supposed to be? :12001/subsonic/rest/getIndexes.view
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 BKKKPewsey » Sat Oct 01, 2011 8:28 pm

tsquillario wrote:What is the path supposed to be? :12001/subsonic/rest/getIndexes.view

I would expect so as that is the path to my main subsonic pages
Code: Select all
:12001/subsonic/index.view
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Subsonic HTML5 MiniPlayer

Postby tsquillario » Sat Oct 01, 2011 8:56 pm

BOOM! Pushed an update on Git to fix your issue. The default Subsonic install is at the web root not under a subdirectory like yours. I added a setting under Preferences to specify the subdirectory of your installation. So in your case you would put subsonic as that value. Then the path will be correct!
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:

Postby steve1977 » Sun Oct 09, 2011 5:14 pm

tsquillario wrote:I haven't used Subsonic for video at all so I intended this to be a music player only, but I'd consider video in the future ;) One thing at a time...


Any update on above? Would really love to see video working!!!
steve1977
 
Posts: 20
Joined: Wed Jul 06, 2011 8:10 am

Re: Re:

Postby tsquillario » Mon Oct 10, 2011 12:14 pm

steve1977 wrote:
tsquillario wrote:I haven't used Subsonic for video at all so I intended this to be a music player only, but I'd consider video in the future ;) One thing at a time...


Any update on above? Would really love to see video working!!!


I don't have any plans to add video right now. If I could find a way to start making some cash off of MiniSub I might consider it, lol.

I started this cause I loved the service Subsonic provided but didn't like the streaming interface. I stream music all day at work and decided to build my own off the API. Video just isn't in the plans at this point in time. Sorry :(
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 » Wed Oct 12, 2011 7:17 am

First off, I want to express that this app is awesome. The standard web interface is not very good, so MiniSub is leaps and bounds ahead of it in terms of design. Mad props! I was going to do something similar myself, but now I don't have to :D

I do have a couple comments/concerns about the usability, though. I love the minimalist aesthetic, but in some ways it seems stripped down to the point of actively being confusing. Maybe I'm just not understanding how to use it, but then, I like to think that feedback from a confused user is the most useful kind :P

  • I didn't realize that double-clicking on a track would play it until, well, about thirty seconds ago when I was trying to exhaust all possible options of how to start playback. Seems pretty obvious now, but I also use the app on a Touchpad, where double-tapping is not so common an input, so maybe that is why I didn't immediately pick up on it.
  • Selecting a track makes its information appear above the playback progress bar. This is very weird according to my past experience with media players: the bottom bar should be reserved for what is currently playing, not selected.
  • Most media players (I think all that I have used), including the Subsonic web and Android apps, share the concept of a "working playlist", from which all playback happens and onto which you can queue additional tracks. I can't see any similar functionality in MiniSub, since it seems like the "working playlist" is roughly whatever happens to be on the screen at the time. This has some very weird connotations:
    • I select an artist, then click the play button for an album. It loads up the track list and plays Track 1. Hit the next track button-- it advances to Track 2. Hit the prev button-- back to Track 1. Browse to a different artist. Hit the next track button-- nothing happens. Huh??
    • The same happens if you select a track in a playlist, then look at a different playlist. Looking around should not break the current state of playback!
    • This is just a bug, but maybe kind of a telling one-- navigate to an album, then click shuffle. The back link gets shuffled along with the tracks, and navigating with the prev/next buttons cannot navigate past it. Okay, so the back link obviously shouldn't get shuffled along with the tracks. But why are you able to shuffle the track list of your library view in the first place? The view serves two different purposes at once: a library view and a working playlist view. (By the way, as long as I'm talking about shuffling bugs... the alternate row highlighting screws up when you shuffle.)
    • My suggestion would be to add an extra "currently playing" tab, which would serve the same purpose as the bottom playlist view in the standard web interface. You could then select tracks in the music library view and add to or replace the current playlist. You can sort of emulate this currently by only using the music library to browse, creating a permanent "working playlist" playlist, and playing off of the Playlists tab exclusively. But then you can't browse your playlists without breaking playback... it's just not a good solution.
  • Final question-- are you planning on adding last.fm support? It's the only thing keeping me from using MiniSub exclusively over the standard interface, above gripes and all ;)

Cheers!
smrq
 
Posts: 7
Joined: Tue Oct 11, 2011 9:14 pm

Re: Subsonic HTML5 MiniPlayer

Postby tsquillario » Wed Oct 12, 2011 5:02 pm

smrq wrote:First off, I want to express that this app is awesome. The standard web interface is not very good, so MiniSub is leaps and bounds ahead of it in terms of design. Mad props! I was going to do something similar myself, but now I don't have to :D

I do have a couple comments/concerns about the usability, though. I love the minimalist aesthetic, but in some ways it seems stripped down to the point of actively being confusing. Maybe I'm just not understanding how to use it, but then, I like to think that feedback from a confused user is the most useful kind :P

  • I didn't realize that double-clicking on a track would play it until, well, about thirty seconds ago when I was trying to exhaust all possible options of how to start playback. Seems pretty obvious now, but I also use the app on a Touchpad, where double-tapping is not so common an input, so maybe that is why I didn't immediately pick up on it.
  • Selecting a track makes its information appear above the playback progress bar. This is very weird according to my past experience with media players: the bottom bar should be reserved for what is currently playing, not selected.
  • Most media players (I think all that I have used), including the Subsonic web and Android apps, share the concept of a "working playlist", from which all playback happens and onto which you can queue additional tracks. I can't see any similar functionality in MiniSub, since it seems like the "working playlist" is roughly whatever happens to be on the screen at the time. This has some very weird connotations:
    • I select an artist, then click the play button for an album. It loads up the track list and plays Track 1. Hit the next track button-- it advances to Track 2. Hit the prev button-- back to Track 1. Browse to a different artist. Hit the next track button-- nothing happens. Huh??
    • The same happens if you select a track in a playlist, then look at a different playlist. Looking around should not break the current state of playback!
    • This is just a bug, but maybe kind of a telling one-- navigate to an album, then click shuffle. The back link gets shuffled along with the tracks, and navigating with the prev/next buttons cannot navigate past it. Okay, so the back link obviously shouldn't get shuffled along with the tracks. But why are you able to shuffle the track list of your library view in the first place? The view serves two different purposes at once: a library view and a working playlist view. (By the way, as long as I'm talking about shuffling bugs... the alternate row highlighting screws up when you shuffle.)
    • My suggestion would be to add an extra "currently playing" tab, which would serve the same purpose as the bottom playlist view in the standard web interface. You could then select tracks in the music library view and add to or replace the current playlist. You can sort of emulate this currently by only using the music library to browse, creating a permanent "working playlist" playlist, and playing off of the Playlists tab exclusively. But then you can't browse your playlists without breaking playback... it's just not a good solution.
  • Final question-- are you planning on adding last.fm support? It's the only thing keeping me from using MiniSub exclusively over the standard interface, above gripes and all ;)

Cheers!


Yea I agree with the playback issues you are having. I need to implement a Currently Playing tab or something similar to get it to work correct when browsing between tabs/artists. Basically hitting play would add the track/album to the current playing list, then that is where the Next/Previous buttons would always work from no matter where you were. Maybe a slideout window on one side, I'll have to play with it.

The shuffle issue is fixed, I just haven't released the code yet.

Haven't used last.fm personally, will have to take a look at it.

I've had medium success with my TouchPad. The browser in it is very lacking and badly needs updated. At least for proper HTML5 support. Sometimes it stops playing, doesn't resume properly, the list goes on. Hopefully the Android port will be out soon enough, then I'm going to make the jump!
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 grimm26 » Thu Oct 13, 2011 3:06 pm

Thanks for your work on this tsquillario. A couple of comments.

I have a hard time getting it to switch to a new song. If I select a song and start playing it, it won't let me select a new song and start playing that one unless the original finishes.

Part of the reason that I found your project was that I am looking for an html5 audio player for subsonic so that I can just stream the native ogg files that I keep instead of having subsonic transcode them down to mp3's. I noticed that the subweb player created by MiniSub transcodes everything to mp3 so I changed that but then found that I couldn't play anything. I then found that audiojs does not support ogg. That blows my mind. I suppose it is because of all the backflipping to use a flash player if you have an old browser. If you just assume html5 <audio> support you just serve the file up and the browser does the rest. There's no need to "support" any format because the browser takes care of it.

so I guess what I am really looking for is just a pure html5 player that will not baulk at what format my music is in.
grimm26
 
Posts: 9
Joined: Mon Dec 20, 2010 7:06 pm

PreviousNext

Return to Jamstash (formerly MiniSub)

Who is online

Users browsing this forum: No registered users and 16 guests