MiniSub - Subsonic HTML5 Web App (Archive)

Jamstash is an HTML5 Mini Player for the Subsonic streaming server

Moderator: moderators

Re: Subsonic HTML5 MiniPlayer

Postby RRRob » Thu Aug 02, 2012 3:04 pm

Looks like my problem with the progress bar and duration counter is related to transcoding: I don't see the issue with MP3 files, just AAC and ALAC files.
User avatar
RRRob
 
Posts: 11
Joined: Mon Jun 27, 2011 6:02 pm

Re: Subsonic HTML5 MiniPlayer

Postby piethein » Fri Aug 03, 2012 10:20 pm

I have been trying out the MiniPlayer bundled with 4.7beta3, I noticed some issues with the time bar: it displays no duration but 'NaN:NaN/NaN:NaN'. The issue occurs when listening to mp3 as well as (transcoded) Apple Lossless/aac m4a files. The regular Subsonic player has no issues.

log warning (might be related?):
'WARN RESTFilter Error in REST API: EofException'
piethein
 
Posts: 35
Joined: Fri Dec 03, 2010 5:58 pm

Re: Subsonic HTML5 MiniPlayer

Postby kronix » Mon Aug 06, 2012 3:39 pm

Trying to use the MiniPlayer on a netbook using the latest Cromium OS Lime build. The version of MiniSub bundled with the latest Subsonic beta works wonderfully, but with the MiniSup chrome app none of my music would play. The album art would show in the player, but the time would remain at 0:00 and the play button would not respond.

This is most likely due to the latest Chromium builds having limited html5 media support due to licensing issue, but since it works in the bundled miniplayer I'm hoping there's some way to get the chrome app working.

Any help with this would be awesome. I've bookmarked the bundled miniplayer for quick access, but I'd prefer the app so it can be pinned to my chromium launcher bar.

EDIT: This also seems to be the case with any chromium based browser (such as Rockmelt). The chrome app will not work on anything other than official ChromeBooks and Google Chrome, but the bundled MiniPlayer works fine.
kronix
 
Posts: 1
Joined: Mon Aug 06, 2012 3:21 pm

Re: Subsonic HTML5 MiniPlayer

Postby gigon » Wed Aug 08, 2012 6:48 pm

congratulations on now beeing part of the official Subsonic package ;)
Subsonic Package for Synology DiskStations http://eg-blog.de
gigon
 
Posts: 46
Joined: Thu Dec 01, 2011 12:52 am

Re: Subsonic HTML5 MiniPlayer

Postby tsquillario » Wed Aug 08, 2012 6:57 pm

gigon wrote:congratulations on now beeing part of the official Subsonic package ;)


Thanks!

I should load up the latest beta and see how Sindre implemented it. I knew it was going in, just not sure how.
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 nutt318 » Thu Aug 09, 2012 2:10 pm

@tsquillario

After looking at the readme on github it looks like this is for audio only, any plans on getting this working for video files?
nutt318
 
Posts: 54
Joined: Thu Dec 09, 2010 9:24 pm

Re: Subsonic HTML5 MiniPlayer

Postby TheCheeks » Fri Aug 24, 2012 7:43 am

Why is my library not loading up in MiniSub?

I clicked the little sub icon and it takes me to the login page of my subsonic server, which works. And Subsonic works flawlessly on my Android, streaming and transcoding so my server IS setup correctly.

Tried entering my server IP as example.com and example.com:4040 and neither work (Android app works both INSIDE and OUTSIDE my network, so port forwarding works perfectly fine as well).

Edit: Working now. Not sure what it was though, I changed the port, the url I was trying to use, and used Windows Services to give it full admin access. One of those worked.
TheCheeks
 
Posts: 6
Joined: Thu Sep 09, 2010 11:20 pm

Re: Subsonic HTML5 MiniPlayer

Postby jValdron » Wed Aug 29, 2012 4:49 pm

Not sure if I'm just blind and can't see how to do it. But how do you add a whole artist to the current playlist? I usually listen to 1-2 shuffled artists at the time.
jValdron
 
Posts: 11
Joined: Wed Aug 29, 2012 4:47 pm

Re: Subsonic HTML5 MiniPlayer

Postby Concept211 » Tue Sep 11, 2012 12:42 pm

Truly excellent player! I use it at work and home every day now instead of the original interface. Love it!

• A nice little feature would be if the "current playlist" tab could auto-scroll to the currently playing row so that you don't have to scroll through the list and locate the highlighted row to see where you're currently at on the playlist.

• It would also be great if we could easily pull up a playlist of all starred tracks.

• And finally, the ability to create a random playlist from a selected folder. Right now it pulls a random list from ALL folders which for me will include multiple genres when I only want it to pull from one folder/genre.

Keep up the great work and THANK YOU!
User avatar
Concept211
 
Posts: 77
Joined: Sat Jul 05, 2008 8:55 pm
Location: Orlando, FL

Re: Subsonic HTML5 MiniPlayer

Postby Kilrathy » Fri Sep 14, 2012 1:34 pm

Maybe someone can help me? I installed the latest Version 2.0.6 under the subsonic web-app folder. I can open the the player now with /minisub.
But when I entered my credentials, no artists, folders or such things will be loaded.

I enabled the debugging and logged the webconsole of the latest Firefox (15.0.1)
Code: Select all
[15:25:36.216] TAG LIBRARY
[15:25:36.217] LOAD ARTISTS
[15:25:36.217] subsonic.xxxxxxxxx.net:4040/rest/getIndexes.view?u=foobar&p=enc:764666764&v=1.6.0&c=MiniSub&f=jsonp
[15:25:46.236] ERROR!


When I call the URL by hand I am getting all artists like this
Code: Select all
"subsonic-response": {
"status": "ok",
"indexes": {
  "index": [ ...


Also I have to write the server with the port, like subsonic.xxxxxxx.net:4040 - I'm using apache as a proxy. So if I don't write :4040 I get these errors:
Code: Select all
[15:33:10.883] GET http://subsonic.xxxxxxxxx.net/minisub/subsonic.xxxxxxxxx.net/rest/getIndexes.view?u=foobar&p=enc:764666764&v=1.6.0&c=MiniSub&f=jsonp&callback=jQuery17209470886224327483_1347629587305&_=1347629590756 [HTTP/1.1 404 Not Found 0ms]
[15:33:10.902] GET http://subsonic.xxxxxxxxx.net/minisub/subsonic.xxxxxxxxx.net/rest/getMusicFolders.view?u=foobar&p=enc:764666764&v=1.6.0&c=MiniSub&f=jsonp&callback=jQuery17209470886224327483_1347629587306&_=1347629590762 [HTTP/1.1 404 Not Found 0ms]


Same problems, when I'm installing it outside of subsonic on a regular webserver.

Any help?
Kilrathy
 
Posts: 3
Joined: Fri Oct 21, 2011 7:08 am

Re: Subsonic HTML5 MiniPlayer

Postby kayvee » Mon Sep 17, 2012 2:33 am

I just updated my Subsonic installation to the latest 4.7 and it appears that MiniSub comes prepackaged with it. When I click on the appropriate link to go to the MiniSub app of my server, I do get redirected to the correct interface. However, after entering my credentials all I am greeted with is an empty MiniSub - No artists, no tracks (see attached screenshot). How to fix this?
minisub.jpg
kayvee
 
Posts: 51
Joined: Fri Apr 10, 2009 7:26 pm

Re: Subsonic HTML5 MiniPlayer

Postby yochaigal » Tue Sep 18, 2012 12:41 am

I have the exact same issue as kayvee - no solution yet (using both the chrome app and the native, pre-installed webapp).
yochaigal
 
Posts: 4
Joined: Sun Jan 16, 2011 6:27 am

Re: Subsonic HTML5 MiniPlayer

Postby dg3obu » Tue Sep 18, 2012 11:13 am

Same problem here... Log says:

Code: Select all
5311250 [btpool0-25] WARN org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/mini/jukebox.xxxxxxx.loc/rest/getAlbumList.view] in DispatcherServlet with name 'subsonic'


I'm using the latest 4.7 standalone-version, fresh install, fresh database, tested with pre-installed webapp
dg3obu
 
Posts: 1
Joined: Tue Sep 18, 2012 9:48 am

Re: Subsonic HTML5 MiniPlayer

Postby RRRob » Tue Sep 18, 2012 4:13 pm

With Subsonic v4.7 installed (Mac OS X version), I'm still seeing problems with the duration information for non-mp3 files (AAC, ALAC) not being displayed:
minisub error.png

The player does not appear to be receiving duration information from the server when the transcoder is running:
Code: Select all
TAG LIBRARY app.js:71
LOAD ARTISTS api.js:2
http://<server>.subsonic.org/rest/getIndexes.view?u=<user>&p=enc:4e332e6a637a5247723677584b643b41694a6856&v=1.6.0&c=MiniSub&f=jsonp api.js:14
SUCCESS api.js:26
TAG LIBRARY app.js:71
LOAD ARTISTS api.js:2
http://<server>.subsonic.org/rest/getIndexes.view?u=<user>&p=enc:4e332e6a637a5247723677584b643b41694a6856&v=1.8.0&c=MiniSub&f=jsonp api.js:14
http://<server>.subsonic.org/rest/getMusicDirectory.view?u=<user>&p=enc:4e332e6a637a5247723677584b643b41694a6856&v=1.8.0&c=MiniSub&f=jsonp&id=36704 player.js:4
SM HTML5 STATUS player.js:58
usingFlash: false player.js:60
audio/mpeg; codecs="mp3": true player.js:60
audio/mp4; codecs="mp4a.40.2": true player.js:60
m4a: true player.js:60
aac: true player.js:60
audio/ogg; codecs=vorbis: true player.js:60
audio/wav; codecs="1": true player.js:60
mp3: true player.js:60
audio/mp3: true player.js:60
mp4: true player.js:60
audio/mp4: true player.js:60
audio/m4a: true player.js:60
audio/aac: true player.js:60
ogg: true player.js:60
audio/ogg: true player.js:60
wav: true player.js:60
audio/wav: true player.js:60
canPlayType: function a(a){var b,e,f=!1;if(!d||"function"!==typeof d.canPlayType)return!1;if(a instanceof Array){for(b=0,e=a.length;b<e&&!f;b++)if(c.html5[a[b]]||d.canPlayType(a[b]).match(c.html5Test))f=!0,c.html5[a[b]]=!0,c.flash[a[b]]=!(!c.preferFlash||!u||
!a[b].match(Ua));return f}a=d&&"function"===typeof d.canPlayType?d.canPlayType(a):!1;return!(!a||!a.match(c.html5Test))} player.js:60
loaded:0 total:1 player.js:68
loaded:1 total:1 player.js:68
position:234.3059927225113 duration:undefined player.js:75
position:479.0650010108948 duration:undefined player.js:75
position:730.584979057312 duration:undefined player.js:75
… etc.

I've tried resetting the server transcoder parameters to the defaults, deleting miniSub player instances on the server to force the updated transcoder settings be used, and clearing the browser cache on the local machine (MiniSub Chrome app v2.0.6, on Chrome 21.0.1180.89 for Windows), but the problem persists. Any ideas?
Last edited by RRRob on Tue Sep 18, 2012 7:28 pm, edited 2 times in total.
User avatar
RRRob
 
Posts: 11
Joined: Mon Jun 27, 2011 6:02 pm

Re: Subsonic HTML5 MiniPlayer

Postby Country Life Dreams » Tue Sep 18, 2012 6:07 pm

Was also getting the blank screen until I added a / at the end of the url after the port number then all seemed to work fine.
Country Life Dreams
 
Posts: 1
Joined: Tue Sep 18, 2012 5:22 pm

PreviousNext

Return to Jamstash (formerly MiniSub)

Who is online

Users browsing this forum: No registered users and 14 guests