Page 1 of 1

SubFire Progress - md5 will be supported soon

PostPosted: Sat Aug 22, 2015 3:05 am
by acroyear
Yeah, between vacations, 4 year old's birthday, extended family visits, close family tummy bugs, and the day job, things slowed down a bit. Ok, a lot.

In any case, I have been working on a few things. Primarily I'm working on a 'remote control' mechanism that would allow one to turn on SubFire on the TV or a primary computer and then control it from a tablet. Useful if, like me, your server isn't the box that's connected to your best sound system, and you're too lazy to keep clicking around with the Fire TV's remote. (This idea inspired by Plex's approach to casting).

Once that's done, the same general interface can be used for Chromecast and Jukebox control.

In addition, I've just finished adding the more secure md5 version of the API implementation for 5.3beta servers, with graceful back-tracking to the enc mechanism for older servers. If there's enough interest (as in, comments posted here), I may cut an early release of just that feature without the half-finished remote-control stuff.

It will certainly help with plain http security given that SubFire, along with most HTML5 apps, can't deal gracefully with internally signed certs due to browser CORS security (which a customer just confirmed, is an issue with Fire TV/Stick as much as it is with Chrome).

Joe

Re: SubFire Progress - md5 will be supported soon

PostPosted: Fri Sep 04, 2015 3:31 pm
by troycarpenter
Hi!

I've been using SubFire on my FireTV Stick off and on for a little while with Madsonic 5.x. Recently I started testing with the new Madsonic 6.0 server, but that bumped the REST API version to 2.0.0 and made all clients incompatible until they support the new version.

I was wondering if you would look into adding support for the new API version. Don't worry about the new features, everything is backwards compatible. Just recognizing the new version should be enough to start working again.

The new API is documented here: http://beta.madsonic.org/pages/api.jsp

Re: SubFire Progress - md5 will be supported soon

PostPosted: Fri Sep 04, 2015 4:56 pm
by daneren2005
I'm pretty sure that Mad said that clients will work as in the newest Madsonic beta release.

Re: SubFire Progress - md5 will be supported soon

PostPosted: Sat Sep 05, 2015 4:25 am
by troycarpenter
Unfortunately that hasn't been my experience thus far. All clients I tried have failed with the wrong API version. I've tried Dsub and jamstash, both refuse to communicate with the server.

The API website says that minor versions are compatable, but major ones are not. Mad released a beta of his app that works.

Re: SubFire Progress - md5 will be supported soon

PostPosted: Sat Sep 05, 2015 3:13 pm
by daneren2005
On the mad forums several people have said that the new one works. I will be adding support for the newest stuff I just am not in a hurry since it is still in beta.

Re: SubFire Progress - md5 will be supported soon

PostPosted: Tue Sep 15, 2015 11:23 pm
by acroyear
It would take me some time to figure out how to deal with a 2.x API (since technically that means it isn't SubSonic's API anymore). I am generally backwards compatible in that in my (coming) md5 support, I first send a ping at 1.13 and if the reply comes back 1.12.x then I'll use that and the enc: version. I fail gracefully to older servers.

However, if I send 1.12 (or 1.13) and MadSonic rejects it rather than gracefully handling older clients, that is kinda its problem, not mine, for rejecting compatibility.

Joe

Re: SubFire Progress - md5 will be supported soon

PostPosted: Tue Sep 15, 2015 11:32 pm
by acroyear
That said, the mac version of the downloader keeps coming back with a 404 on me. Can't do much right now...

Re: SubFire Progress - md5 will be supported soon

PostPosted: Wed Sep 16, 2015 12:19 am
by acroyear
Unrelated to protocols, the other thing taking more time than I'd like is the Chrome app version. Chrome/Google has deprecated "hosted apps", and the deployed apps system has several incompatible (non-standard) API requirements - no window.onbeforeunload, no window.localStorage (you have to use chrome's storage API, which is callback based, breaking lots of my stuff).

It has taken me time to do this, and in the course of it, has made me want to make some minor UI changes re: the button layouts. Those in turn will require me to re-test heavily on the Stick to make sure the navigation works.

I may put out another beta w/out the layout changes, just to keep up with the API and its security feature.

Re: SubFire Progress - md5 will be supported soon

PostPosted: Wed Sep 16, 2015 12:48 am
by daneren2005
Something to be aware of is that LDAP users do not work with the token. So far I haven't decided whether to just not use it or make it optional until it's fixed but you should be aware of the issue.

Re: SubFire Progress - md5 will be supported soon

PostPosted: Wed Sep 16, 2015 12:59 am
by troycarpenter
Ah! So that explains why your beta works, but the madsonic android beta does not.

Re: SubFire Progress - md5 will be supported soon

PostPosted: Wed Sep 23, 2015 4:19 pm
by acroyear
i've put an update to p.subfireplayer.net (and by extension, the chrome app as it is now still a hosted app). this is now supporting the 1.13 api credentials (md5). if you don't mind, could you please test that against a mad 6.0 server? I am not in a position to do so because the download site for the 6.0 for mac keeps barfing a 404 at me.

thanks,
Joe

Re: SubFire Progress - md5 will be supported soon

PostPosted: Thu Sep 24, 2015 4:08 pm
by acroyear
The MadSonic admin on Facebook says that he has tested the web-based update (that includes the 1.13 API support) and found it worked on his 6.0 server. He also says they fixed the 404 issue, so next week (busy this weekend) I'll download a server and see what else I might be able to support.

I hope to get the Fire TV/Stick version ready by tomorrow. Main thing I need to do is re-do the remote control based navigation, as I moved several buttons around to reduce crowding. The app is working just fine on my Fire Tablet's tester internally.