MiniSub - Subsonic HTML5 Web App (Archive)

Jamstash is an HTML5 Mini Player for the Subsonic streaming server

Moderator: moderators

Re: Subsonic HTML5 MiniPlayer

Postby SuperMario » Thu Jun 14, 2012 7:29 am

tsquillario wrote:Yea, I looked at this a while ago. The way the API is structured it wasn't so easy. I'll have to have another look at it.


Thank you for taking another look at it. :D
User avatar
SuperMario
 
Posts: 9
Joined: Thu Aug 19, 2010 8:22 am

Re: Subsonic HTML5 MiniPlayer

Postby c0bra99 » Fri Jun 29, 2012 12:48 pm

I use HTTPS to access subsonic, when I first visit in chrome I have to click Proceed on the invalid certificate warning, is it possible to make MiniSub ignore certificate errors or at least prompt to continue on cert errors? Currently when it loads it does nothing, I open my subsonic URL in another tab, accept the certificate, and then it will load in MiniSub
c0bra99
 
Posts: 2
Joined: Fri Jun 29, 2012 12:36 pm

Re: Subsonic HTML5 MiniPlayer

Postby cellulit » Tue Jul 03, 2012 9:34 pm

I'm sure a few people reported it already, but maybe not that config.
Everything works great, but playing music :)

subsonic 4.6 over https (no issues browsing or with the certificate)
firefox 14 on mac

and in the console:
Code: Select all
[23:28:35.686] soundManager.createSound(): Audio support is not available. @ file://[...]/tsquillario-MiniSub-0fa9a12/js/sm/soundmanager2-jsmin.js:76
[23:28:35.688] TypeError: audio.play is not a function @ file://[...]/tsquillario-MiniSub-0fa9a12/js/libs/player.js:115


any idea?
.cell
cellulit
 
Posts: 37
Joined: Tue Apr 22, 2008 8:47 am

Re: Subsonic HTML5 MiniPlayer

Postby tsquillario » Tue Jul 03, 2012 10:07 pm

c0bra99 wrote:I use HTTPS to access subsonic, when I first visit in chrome I have to click Proceed on the invalid certificate warning, is it possible to make MiniSub ignore certificate errors or at least prompt to continue on cert errors? Currently when it loads it does nothing, I open my subsonic URL in another tab, accept the certificate, and then it will load in MiniSub


I'll see if i can fix this. I run into the same issue. The AJAX requests need ignore the self signed cert.
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 Jul 03, 2012 10:08 pm

cellulit wrote:I'm sure a few people reported it already, but maybe not that config.
Everything works great, but playing music :)

subsonic 4.6 over https (no issues browsing or with the certificate)
firefox 14 on mac

and in the console:
Code: Select all
[23:28:35.686] soundManager.createSound(): Audio support is not available. @ file://[...]/tsquillario-MiniSub-0fa9a12/js/sm/soundmanager2-jsmin.js:76
[23:28:35.688] TypeError: audio.play is not a function @ file://[...]/tsquillario-MiniSub-0fa9a12/js/libs/player.js:115


any idea?


I'm guessing that version of FF for Mac doesn't have HTML5 audio support. I'm sure it would work in Chrome. Flash support is available, I'd just have to add an option to switch. I'll look into it.
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 cellulit » Tue Jul 03, 2012 10:14 pm

thanks. looking forward to it.
.cell
cellulit
 
Posts: 37
Joined: Tue Apr 22, 2008 8:47 am

Re: Subsonic HTML5 MiniPlayer

Postby dlight » Wed Jul 04, 2012 7:01 pm

tsquillario wrote:
dlight wrote:Trying to use Miniplayer on my google Chrome browser.

I have verified that my URL is proper, however the interface never displays any of my music. (URL is HTTPS)

This, of course, works fine when just browsing directly to my Subsonic install.


I enabled Debug in the config, but can't seem to find out where it logs to. Anyone have any ideas what might be wrong, or where I might find more data to help solve my problem?

ETA: Im running Subsonic 4.6 (build 2583) – December 6, 2011


This is most likely caused by a self-signed certificate. Are you using the Chrome App or do you have the files in your local subsonic install?


Super sorry for not replying sooner. Notifications weren't config'd right...

I do and it is. I'm using the Chrome app. Also, it looks like someone else is having the same issue too. I'd love to see a fix/workaround if possible.
dlight
 
Posts: 6
Joined: Sat Jan 08, 2011 6:00 pm

Re: Subsonic HTML5 MiniPlayer

Postby tsquillario » Thu Jul 05, 2012 10:39 pm

A possible fix for the self-signed cert issue on Windows 7 at least is to open Internet Explorer as an Administrator (Right click click the IE icon and select Run As Administrator). Then install the cert into your Trusted Root Certification Authorities.

Here is a walk through http://www.poweradmin.com/help/sslhints/ie.aspx

Then close and reopen Chrome. You will probably need to blow out your cache for it to work. Chrome uses the same certificate store as IE.
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 dlight » Fri Jul 06, 2012 12:36 am

I use Miniplayer on Linux, but Ill give adding the CERT a whirl when I'm in the office tomorrow.
dlight
 
Posts: 6
Joined: Sat Jan 08, 2011 6:00 pm

Re: Subsonic HTML5 MiniPlayer

Postby tsquillario » Fri Jul 06, 2012 3:57 am

Posted version 2.0.2

- Added a setting called Force Flash to do exactly that. HTML5 will no longer be used for audio, Flash will take over.
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 cellulit » Fri Jul 06, 2012 7:08 am

Thanks for the tweak, however... for some reason I'm still getting same message:

Code: Select all
[09:06:49.691] soundManager.createSound(): Audio support is not available. @ file:///.../Desktop/tsquillario-MiniSub-ae49d25/js/sm/soundmanager2-jsmin.js:76
[09:06:49.704] TypeError: audio.play is not a function @ file:///.../Desktop/tsquillario-MiniSub-ae49d25/js/libs/player.js:115
.cell
cellulit
 
Posts: 37
Joined: Tue Apr 22, 2008 8:47 am

Re: Subsonic HTML5 MiniPlayer

Postby tsquillario » Fri Jul 06, 2012 12:40 pm

cellulit wrote:Thanks for the tweak, however... for some reason I'm still getting same message:

Code: Select all
[09:06:49.691] soundManager.createSound(): Audio support is not available. @ file:///.../Desktop/tsquillario-MiniSub-ae49d25/js/sm/soundmanager2-jsmin.js:76
[09:06:49.704] TypeError: audio.play is not a function @ file:///.../Desktop/tsquillario-MiniSub-ae49d25/js/libs/player.js:115


It looks like you are opening it from your desktop. It needs to be in the Subsonic install directory and opened from the URL directly. I'm pretty sure this is the issue. Orrrr just use Chrome and install the Chrome App from the Chrome Web Store.
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 cellulit » Fri Jul 06, 2012 1:57 pm

Argh.... RTFM ;)
Yes, it works. Even on FF14 and with HTML5 player. Thanks!

Now it'd be great to have it as a standard, multi-user GUI.
.cell
cellulit
 
Posts: 37
Joined: Tue Apr 22, 2008 8:47 am

Re: Subsonic HTML5 MiniPlayer

Postby tsquillario » Fri Jul 06, 2012 3:14 pm

cellulit wrote:Argh.... RTFM ;)
Yes, it works. Even on FF14 and with HTML5 player. Thanks!

Now it'd be great to have it as a standard, multi-user GUI.


What do you mean by "standard, multi-user GUI"?
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 cellulit » Sat Jul 07, 2012 11:31 am

What I meant was to have MiniSub as one of layout options inside SubSonic. So that users can choose it, as their own, personalized layout. In other words, to have it integrated with SubSonic. MiniSub GUI is so good that it deserves to be there :)

Today not everyone is on Chrome, so I put minisub on the server. The issue is, the config is accessible for everyone. Everyone can see the user and potentially the pass, everyone can mess with settings.
.cell
cellulit
 
Posts: 37
Joined: Tue Apr 22, 2008 8:47 am

PreviousNext

Return to Jamstash (formerly MiniSub)

Who is online

Users browsing this forum: No registered users and 1 guest