INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 3 4 5 6 [7] 8 9 10 11 ... 13   Go Down

Author Topic: House Band -- Amazon Echo integration is available  (Read 286208 times)

rn701

  • Junior Woodchuck
  • **
  • Posts: 70
Re: House Band -- Amazon Echo integration is available
« Reply #300 on: January 27, 2017, 07:59:26 am »

Shuffle playlist is working great. Thanks!
Logged

sarkonovich

  • Galactic Citizen
  • ****
  • Posts: 312
Re: House Band -- Amazon Echo integration is available
« Reply #301 on: January 27, 2017, 09:25:23 am »

@brantome

Yeah, 4-5 seconds is pretty laggy. I live in Oregon (where the server is) and often play/pause commands execute *before* Alexa starts speaking.

HouseBand could be hosted in the UK. I would just need to setup another server in the UK for that.

On a side note, the UK certification didn't have anything to do with server location. The program had to be rewritten slightly since Amazon has slightly different requirements for the UK. And I took that opportunity to rewrite a lot of the program. (The recertification process itself took about a month.)

It looks like -- absent some AWS wizardry that I'll look into -- getting a UK server will require another round of certification.

Logged
JRiver 21 Linux (ARM) on Pine 64 => PS Audio DirectWave DAC => ATC 50asl speakers. JRiver controlled by House Band on Amazon Echo

brantome

  • Recent member
  • *
  • Posts: 16
Re: House Band -- Amazon Echo integration is available
« Reply #302 on: January 27, 2017, 11:45:05 am »

Thanks, I can live with it as it is just now as I get to grips with MC anyway. I guess you mean another server on AWS, hopefully not your own physical server...

Earlier in the thread, it was suggested that JRiver might be able to help you out - I hope they are as it was on the back of House Band I got interested in MC again, but that's between you and them :)

Till I got my Echo and Dot, I was happy enough using mininserver on my synology NAS and Linn's own control app for playback to my SneakyDS, so you're helping bring in revenue for JRiver...

Just slowly building my library on my Raspberry Pi - you getting re-certification might be quicker!

Cheers
Logged

sarkonovich

  • Galactic Citizen
  • ****
  • Posts: 312
Re: House Band -- Amazon Echo integration is available
« Reply #303 on: January 27, 2017, 11:53:01 am »

@brantome,

Yes, another AWS server.

And JRiver is has been very supportive of the project all the way through!

Best,
Steve
Logged
JRiver 21 Linux (ARM) on Pine 64 => PS Audio DirectWave DAC => ATC 50asl speakers. JRiver controlled by House Band on Amazon Echo

carlgarton

  • Recent member
  • *
  • Posts: 11
Re: House Band -- Amazon Echo integration is available
« Reply #304 on: January 28, 2017, 05:49:13 am »

Hi, Finally House Band for the UK. Been using for a couple of days and 1st off just a couple of comments;

Play/Resume command will not play if the zone has been stopped by another application. Ie Webgizmo or JRiver App.

Is there a command to stop all zones playing at once. I often have more than 1 zone playing with different music, would be brill if i could say "Stop everything"

Keep up the good work
Logged

amz

  • Recent member
  • *
  • Posts: 20
Re: House Band -- Amazon Echo integration is available
« Reply #305 on: January 28, 2017, 08:13:35 am »

Hi

now that this skill is available for the UK is there a chance to get it for the continent too, i.e. Germany? I'd be happy to help to get it going.
Does it need to be translated besides the procedures to implement it in Amazon?

Regards
Logged

WeeHappyPixie

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 388
  • Gonnae no dae that..
Re: House Band -- Amazon Echo integration is available
« Reply #306 on: January 28, 2017, 09:01:16 am »

Hi Steve,

Just want to say thank you for all your hard work bringing House Band to the UK. No mean feat I'm sure. Still learning the commands but so far so good. Yeah it can be a wee bit laggy but I can live with that. The fact it understands my Scottish accent is great. Not a lot of voice recognition do. Just ask a Scot to say Purple Burglar Alarm and prepare to piss yer self ☺️.

Anyway, big thank you. Keep up the good work.

John

Sent from my Nexus 6 using Tapatalk

Logged

brantome

  • Recent member
  • *
  • Posts: 16
Re: House Band -- Amazon Echo integration is available
« Reply #307 on: January 28, 2017, 09:06:40 am »

Trying to play or shuffle a playlist is just getting me the error "sorry, I'm having trouble accessing your House Bad skill right now". The Alexa app history correctly shows the request - any ideas? Thanks
PS is there any additional logging that can be switched on?
Logged

sarkonovich

  • Galactic Citizen
  • ****
  • Posts: 312
Re: House Band -- Amazon Echo integration is available
« Reply #308 on: January 28, 2017, 09:30:43 am »

@brantome,

That's an Amazon error. If you get that, it means that the skill isn't even getting the request from Amazon, so there's nothing for me to log.

Are you getting that error only for those commands?

The only errors you get from the skill itself are:

1. "There was a problem with the requested skill response." - That's a bug in the code. Hopefully there aren't any of those
2. "It took too long for the skill to response" - The request was made but Amazon didn't get any response. That could be because the server is just down, or the lag was too great (~10 seconds.)

I would write Amazon about this error, especially if it doesn't go away soon.  Go to the "Help and Feedback" section in the Alexa app.

Sorry about that.
Steve

Logged
JRiver 21 Linux (ARM) on Pine 64 => PS Audio DirectWave DAC => ATC 50asl speakers. JRiver controlled by House Band on Amazon Echo

sarkonovich

  • Galactic Citizen
  • ****
  • Posts: 312
Re: House Band -- Amazon Echo integration is available
« Reply #309 on: January 28, 2017, 09:43:39 am »

@carlgarton


Hmm. I don't think I've ever run into that, and just tried it here and all seems okay.

All the control commands (play/pause/volume/skip, etc) act on the current zone.

I'm guessing that what's happening -- let me know if this is possible! -- is that HouseBand is controlling a different zone than you're listening to. So, it's pausing/resuming Zone 2, you're listening to Zone1, and so nothing seems to be happening.

You can ask, "What's my current Zone" to get information on that zone.

Unfortunately, there isn't a "Pause" / "Resume all" command. I'll look into whether there's a good way to add that in without recertification. Otherwise, I'll add it to the next "release."

Please let me know if it's a zone issue
Logged
JRiver 21 Linux (ARM) on Pine 64 => PS Audio DirectWave DAC => ATC 50asl speakers. JRiver controlled by House Band on Amazon Echo

sarkonovich

  • Galactic Citizen
  • ****
  • Posts: 312
Re: House Band -- Amazon Echo integration is available
« Reply #310 on: January 28, 2017, 09:48:29 am »

@amz

Thanks for the offer to translate!  Yes, I imagine this is the bulk of the work, may the only work, that need to be done. I haven't really looked into what it takes to get a DE skill certified. (I don't even know if the responses have to be in German, or if it just needs to understand German requests.)

So I'll I can say is "we'll see" about a German release. In all honestly, it likely won't happen till summer.
First comes a google home release....

Steve
Logged
JRiver 21 Linux (ARM) on Pine 64 => PS Audio DirectWave DAC => ATC 50asl speakers. JRiver controlled by House Band on Amazon Echo

sarkonovich

  • Galactic Citizen
  • ****
  • Posts: 312
Re: House Band -- Amazon Echo integration is available
« Reply #311 on: January 28, 2017, 09:50:00 am »

@WeeHappyPixie

Thanks for the kinds words. And thanks for writing them, so I can understand what you're saying!

Steve
Logged
JRiver 21 Linux (ARM) on Pine 64 => PS Audio DirectWave DAC => ATC 50asl speakers. JRiver controlled by House Band on Amazon Echo

avpman

  • Galactic Citizen
  • ****
  • Posts: 445
  • Dad to three beatuiful Boxers by rescue.
Re: House Band -- Amazon Echo integration is available
« Reply #312 on: January 28, 2017, 10:36:48 am »

@WeeHappyPixie

Thanks for the kinds words. And thanks for writing them, so I can understand what you're saying!

Steve

Ditto on the thanks Steve! I've really been enjoying using Houseband to integrate my JRiver setup. I just bought the Homeseer ZEE appliance and I'm in process of integrating Alexa with my Omni Home Automation system as well for lighting, etc. The two skills compliment one another very well. Immense thanks for all your hard work!

I have to say, the JR Skill is worth paying for to insure continued support and development efforts. I'm not wealthy and can't afford to throw money around. But I'm willing to pay something to insure continued sustainability of the skill! It has really contributed significant value to the JR product.
Logged

avpman

  • Galactic Citizen
  • ****
  • Posts: 445
  • Dad to three beatuiful Boxers by rescue.
Re: House Band -- Amazon Echo integration is available
« Reply #313 on: January 28, 2017, 10:40:38 am »

@brantome,

That's an Amazon error. If you get that, it means that the skill isn't even getting the request from Amazon, so there's nothing for me to log.

Are you getting that error only for those commands?

The only errors you get from the skill itself are:

1. "There was a problem with the requested skill response." - That's a bug in the code. Hopefully there aren't any of those
2. "It took too long for the skill to response" - The request was made but Amazon didn't get any response. That could be because the server is just down, or the lag was too great (~10 seconds.)

I would write Amazon about this error, especially if it doesn't go away soon.  Go to the "Help and Feedback" section in the Alexa app.

Sorry about that.
Steve

The experience I've had so far with Amazon tech support over Alexa issues has been very good. They have a phone number on the app you can call and talk to someone directly. Response time has been excellent. It's a lot easier to diagnose talking with someone one on one.
Logged

brantome

  • Recent member
  • *
  • Posts: 16
Re: House Band -- Amazon Echo integration is available
« Reply #314 on: January 28, 2017, 10:44:41 am »

@sarkonovich

Sure, will do

I can ask Houseband to create a playlist by composer x, but sometimes that can throw up a "sorry, there's been a problem" error with different composers - and even at times, the same one that worked previously.

I also get (and can repeat) the "sorry, I'm having trouble accessing your House Band skill right now" that I get when I ask for a playlist to play, when I ask it to play tracks by composer Beethoven. It reads out the 4 matching pieces (at length), and when I reply 'play all', it lists three on the MC screen and gives the "trouble accessing" error.

Is there any commonality in the requests that are failing from a Houseband/MC POV? Is something timing out somewhere?

I'll let you know how I get on with Amazon - I've a feeling (or am hoping) that this might resolve itself overnight as seemed to happen a week or two back in this thread

Many thanks

Logged

sarkonovich

  • Galactic Citizen
  • ****
  • Posts: 312
Re: House Band -- Amazon Echo integration is available
« Reply #315 on: January 28, 2017, 10:48:33 am »

@brantome

Write me at sarkonovich @ gmail dot com

The classical music search is still wonky, for sure. But I'm pretty sure I know the ways it's wonky.

I have a few questions to ask about your setup, and probably better to do it via email.
Steve
Logged
JRiver 21 Linux (ARM) on Pine 64 => PS Audio DirectWave DAC => ATC 50asl speakers. JRiver controlled by House Band on Amazon Echo

sarkonovich

  • Galactic Citizen
  • ****
  • Posts: 312
Re: House Band -- Amazon Echo integration is available
« Reply #316 on: January 28, 2017, 12:11:02 pm »


I can ask Houseband to create a playlist by composer x, but sometimes that can throw up a "sorry, there's been a problem" error with different composers - and even at times, the same one that worked previously.


Yep. I can repeat this. The answer (for now) is not to say "the composer"...just say, "Create a playlist based on Beethoven."

It's just an utterance that I hadn't thought of and, sort of oddly, not one that Alexa can figure out given the ones that I had thought of. The fix for this sort of error requires Amazon's approval, so nothing I can do immediately.

Thanks for the report!
Steve
Logged
JRiver 21 Linux (ARM) on Pine 64 => PS Audio DirectWave DAC => ATC 50asl speakers. JRiver controlled by House Band on Amazon Echo

sarkonovich

  • Galactic Citizen
  • ****
  • Posts: 312
Re: House Band -- Amazon Echo integration is available
« Reply #317 on: January 28, 2017, 05:50:46 pm »


I have to say, the JR Skill is worth paying for to insure continued support and development efforts. I'm not wealthy and can't afford to throw money around. But I'm willing to pay something to insure continued sustainability of the skill! It has really contributed significant value to the JR product.

 At some point in the future, depending, there might be small charge. But not until I think it's really solid. For the foreseeable future, I kinda think of it as me foisting beta software on users to test for me! So, thank you.

Steve
Logged
JRiver 21 Linux (ARM) on Pine 64 => PS Audio DirectWave DAC => ATC 50asl speakers. JRiver controlled by House Band on Amazon Echo

brantome

  • Recent member
  • *
  • Posts: 16
Re: House Band -- Amazon Echo integration is available
« Reply #318 on: January 29, 2017, 02:35:32 am »

Yep. I can repeat this. The answer (for now) is not to say "the composer"...just say, "Create a playlist based on Beethoven."

It's just an utterance that I hadn't thought of and, sort of oddly, not one that Alexa can figure out given the ones that I had thought of. The fix for this sort of error requires Amazon's approval, so nothing I can do immediately.

Thanks for the report!
Steve

No, thank you for identifying the issue/ work round.  Think what I was trying to do was specify that I wanted a composer tag match rather than an artist one, albeit clumsily.

I'll have another play with it today. Cheers
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re: House Band -- Amazon Echo integration is available
« Reply #319 on: January 29, 2017, 07:20:52 am »

At some point in the future, depending, there might be small charge. But not until I think it's really solid. For the foreseeable future, I kinda think of it as me foisting beta software on users to test for me! So, thank you.
I think you could charge something now.  You're getting a lot of very positive feedback.  In my opinion, it's worth $10 when it's solid, but it's worth at least $5 now.
Logged

sarkonovich

  • Galactic Citizen
  • ****
  • Posts: 312
Re: House Band -- Amazon Echo integration is available
« Reply #320 on: January 29, 2017, 09:49:20 am »

@brantome

I see. So, there's a few ways to do what you want.

1. Create a Playdoctor Playlist.

These playlists will not limit the "seed" to any particular tag. So:

"Create a Beethoven playlist"
"Make a playlist based on 'Beethoven'"

etc., will just use "Beethoven" as the key word. I'm assuming that  this means that "Roll over Beethoven" by Chuck Berry could very well show up in in.


2. Do a tag search

"Play music with the tag composer beethoven"
"Play all music with the following tags: composer equals beethoven"

I actually think this is what you want.
I need to work on more/different utterances to make this search more natural. Also, it is a bit borked for now.


3. Search for all your music by Beethoven (and play all of it.)

"Play music by the composer Beethoven"
"Play music by Beethoven"

and then say, "play all" if you are given a list of what you have (or are told that you have too much to list.)

Logged
JRiver 21 Linux (ARM) on Pine 64 => PS Audio DirectWave DAC => ATC 50asl speakers. JRiver controlled by House Band on Amazon Echo

brantome

  • Recent member
  • *
  • Posts: 16
Re: House Band -- Amazon Echo integration is available
« Reply #321 on: January 29, 2017, 11:19:48 am »

@sarkonovich

Thanks for that - as I think I said, I don't have a great deal of classical stuff, but I think I must have just read your help file and somehow classical tag searches was the  first thing to come to mind...
Logged

~OHM~

  • Citizen of the Universe
  • *****
  • Posts: 1825
  • "I Don't Play The Music The Music Plays Me"
Re: House Band -- Amazon Echo integration is available
« Reply #322 on: January 29, 2017, 05:20:21 pm »

So is there a way to start the playlist from where you left off or even better would be able to start it from the sequential #. Every time I start a playlist it always starts from the beginning. Am I doing something wrong?
Logged
“I've Reached A Turning Point In My Life. I Now Realize I Have More Yesterdays Then Tomorrows”

brantome

  • Recent member
  • *
  • Posts: 16
Re: House Band -- Amazon Echo integration is available
« Reply #323 on: January 29, 2017, 05:25:01 pm »

@TAO1857

Is that a function/ drawback of MC or House Band? Does it do the same in both?
Logged

~OHM~

  • Citizen of the Universe
  • *****
  • Posts: 1825
  • "I Don't Play The Music The Music Plays Me"
Re: House Band -- Amazon Echo integration is available
« Reply #324 on: January 29, 2017, 05:27:58 pm »

well in MC I of course click on where I left off. I know this because I have last played as a field I can see. So I don't know how to answer your question. sorry
Logged
“I've Reached A Turning Point In My Life. I Now Realize I Have More Yesterdays Then Tomorrows”

sarkonovich

  • Galactic Citizen
  • ****
  • Posts: 312
Re: House Band -- Amazon Echo integration is available
« Reply #325 on: January 29, 2017, 06:02:11 pm »

@TAO1857

Well, you're not doing something wrong. Both "play" and "shuffle" playlist commands just load up that playlist from the beginning.

It's a function/drawback of MC insofar as the PlayPlaylist command itself has no parameters for resuming from previous position.

However, that's not to say that there isn't a way for me to manually save the position and use that next time you ask for the playlist. I've never thought of it or looked int MCWS to see if there's a way of doing this.

Steve
Logged
JRiver 21 Linux (ARM) on Pine 64 => PS Audio DirectWave DAC => ATC 50asl speakers. JRiver controlled by House Band on Amazon Echo

~OHM~

  • Citizen of the Universe
  • *****
  • Posts: 1825
  • "I Don't Play The Music The Music Plays Me"
Re: House Band -- Amazon Echo integration is available
« Reply #326 on: January 29, 2017, 06:15:37 pm »

I did find a work a round for it....I open the playlist on PC look for where i want to start at and have Alexa start there and she just keeps going down the line....
Logged
“I've Reached A Turning Point In My Life. I Now Realize I Have More Yesterdays Then Tomorrows”

sarkonovich

  • Galactic Citizen
  • ****
  • Posts: 312
Re: House Band -- Amazon Echo integration is available
« Reply #327 on: January 29, 2017, 06:19:41 pm »

Good. And of course, you can alway pause and resume from where ever you stopped in a playlist.

I thought you were looking to play part of a playlist, go on to play other stuff, and then next time you asked to play that playlist, it would pick up where you left off.

Steve
Logged
JRiver 21 Linux (ARM) on Pine 64 => PS Audio DirectWave DAC => ATC 50asl speakers. JRiver controlled by House Band on Amazon Echo

~OHM~

  • Citizen of the Universe
  • *****
  • Posts: 1825
  • "I Don't Play The Music The Music Plays Me"
Re: House Band -- Amazon Echo integration is available
« Reply #328 on: January 29, 2017, 07:11:59 pm »

I thought you were looking to play part of a playlist, go on to play other stuff, and then next time you asked to play that playlist, it would pick up where you left off.

Steve

I rarely play full albums any more so I like the dsp effect of volume leveling for playlists.
Logged
“I've Reached A Turning Point In My Life. I Now Realize I Have More Yesterdays Then Tomorrows”

Dirk_

  • Recent member
  • *
  • Posts: 13
Re: House Band -- Amazon Echo integration is available
« Reply #329 on: February 03, 2017, 02:56:55 pm »

So I'll I can say is "we'll see" about a German release. In all honestly, it likely won't happen till summer.

It would be great!

BR
Dirk from Hannover
Logged

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: House Band -- Amazon Echo integration is available
« Reply #330 on: February 12, 2017, 02:54:09 am »

Just for info, Amazon has just started accepting orders for Alexa devices in the "DACH" German speaking countries..

Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10931
Re: House Band -- Amazon Echo integration is available
« Reply #331 on: February 13, 2017, 11:10:26 am »

Just for info, Amazon has just started accepting orders for Alexa devices in the "DACH" German speaking countries..

More accurately, they actually ship now. Mine should be here tomorrow.
Its a shame I can't just talk english to the thing and use the House Band skill that way, though.

Anything we could help with to get a German skill going?

While I'm here, I use Theater View a lot for movies and tv shows, it would be neat to be able to navigate around in that with voice commands.
Logged
~ nevcairiel
~ Author of LAV Filters

sarkonovich

  • Galactic Citizen
  • ****
  • Posts: 312
Re: House Band -- Amazon Echo integration is available
« Reply #332 on: February 13, 2017, 03:00:39 pm »

In all honesty, I wasn't really going to look at this until summer.

But what I can do this week is put up some of the larger translation jobs - skill description, help text, utterance samples - up on Github or something, and anyone who wants to can take a crack at starting the translation.

I haven't looked at the documentation to see if the requirements are any different than USA or UK versions, but I don't think so.

I'll post back here when that's done!

Steve
Logged
JRiver 21 Linux (ARM) on Pine 64 => PS Audio DirectWave DAC => ATC 50asl speakers. JRiver controlled by House Band on Amazon Echo

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: House Band -- Amazon Echo integration is available
« Reply #333 on: February 14, 2017, 06:57:25 am »

Hi Steve, would you be able to post a list of all phrases supported? I guess that the list gets longer as you add functionality but a current snapshot would be much appreciated.

Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

sarkonovich

  • Galactic Citizen
  • ****
  • Posts: 312
Re: House Band -- Amazon Echo integration is available
« Reply #334 on: February 15, 2017, 02:34:04 pm »

Yes, I'll try to post that.

If you ask for help, there are now various topics you can get help with. Those topics all contain central examples that are sent to a card in the Alexa app (though, "tag search" does not work well currently.)

Steve
Logged
JRiver 21 Linux (ARM) on Pine 64 => PS Audio DirectWave DAC => ATC 50asl speakers. JRiver controlled by House Band on Amazon Echo

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: House Band -- Amazon Echo integration is available
« Reply #335 on: February 16, 2017, 08:37:04 am »


If you ask for help, there are now various topics you can get help with. Those topics all contain central examples that are sent to a card in the Alexa app (though, "tag search" does not work well currently.)


Thanks for the tip about "help". At least that command works. However none of the commands described in the help syntax work. Is there some way to debug what is going wrong?
Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: House Band -- Amazon Echo integration is available
« Reply #336 on: February 16, 2017, 12:21:12 pm »

I think the issue may be due to server authentication. I imagine that the MC token expires after some time. So there needs to be some way of using a login / password combination.

Actually Using a token is basically the same a no security at all.

In parallel I will do one tests with my HTTPS proxy server
Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

sarkonovich

  • Galactic Citizen
  • ****
  • Posts: 312
Re: House Band -- Amazon Echo integration is available
« Reply #337 on: February 16, 2017, 06:04:02 pm »

Thanks for the tip about "help". At least that command works. However none of the commands described in the help syntax work. Is there some way to debug what is going wrong?

Did you get this figured out? Was it an authentication problem?  By "don't work" do you mean they don't work as well as you hoped or didn't work at all....

Logged
JRiver 21 Linux (ARM) on Pine 64 => PS Audio DirectWave DAC => ATC 50asl speakers. JRiver controlled by House Band on Amazon Echo

sarkonovich

  • Galactic Citizen
  • ****
  • Posts: 312
Re: House Band -- Amazon Echo integration is available
« Reply #338 on: February 16, 2017, 06:07:30 pm »

Actually Using a token is basically the same a no security at all.

I followed the procedures outlined here:   

https://wiki.jriver.com/index.php/Web_Service_Connection

Amazon wouldn't certify with using username/password without me setting up a separate website/oauth server. You can, of course, password protect the server after account linking (but authentication is still done with a token).
Logged
JRiver 21 Linux (ARM) on Pine 64 => PS Audio DirectWave DAC => ATC 50asl speakers. JRiver controlled by House Band on Amazon Echo

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: House Band -- Amazon Echo integration is available
« Reply #339 on: February 16, 2017, 11:23:07 pm »

Quote

Authenticate
Call the web service function: MCWS/v1/Authenticate
Provide the saved username and password if you have one.
If authentication does not succeeed, ask the user for their username and password. Then repeat.
Store the token returned and include it in all future calls.


Steve, how do get the security token for the first time? When you call MCWS/v1/Authenticate as above, you surely need to provide it with a login and a password. So where do get them from? Your Skill login page asks for the Access key but not for any authentication credentials..
Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

sarkonovich

  • Galactic Citizen
  • ****
  • Posts: 312
Re: House Band -- Amazon Echo integration is available
« Reply #340 on: February 16, 2017, 11:25:20 pm »

Actually, the MCWS will give the token if the server isn't password protected. After HouseBand receives the token, you can password protect the server.
Logged
JRiver 21 Linux (ARM) on Pine 64 => PS Audio DirectWave DAC => ATC 50asl speakers. JRiver controlled by House Band on Amazon Echo

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: House Band -- Amazon Echo integration is available
« Reply #341 on: February 17, 2017, 01:26:25 am »

So you have to have the login and password previously stored in MC, (even though Authentication is off), in order to generate the correct token initially, and you cannot enter or edit the login/password set after you have paired the Skill with MC.

I would be interested to hear from someone at JRiver whether the token is time variant. I would expect it to be something like a hash of the login, password, and some date/time variable.

OTOH, if this so called "security" is really as rudimentary and compromised as it appears to be, then perhaps JRiver can advise why one would bother about using it at all...
Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10931
Re: House Band -- Amazon Echo integration is available
« Reply #342 on: February 17, 2017, 01:58:05 am »

Tokens are fully randomly generated, independent of your username/password, but they do get tracked on the server and expire. They are designed as a temporary authentication mechanism to avoid sending user/pass with every single request (which would also work if you really wanted to), not as a permanent login for an app. Apps should use the username/password to request a new token dynamically.

If you have your MC accessible to the internet without any password, then only you are to blame for compromising its security, really.
Logged
~ nevcairiel
~ Author of LAV Filters

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: House Band -- Amazon Echo integration is available
« Reply #343 on: February 17, 2017, 04:59:29 am »

Ok thanks Hendrik for the info.

That means that the Houseband Skill must have a possibility for the user to enter (and store) a login plus password. Otherwise you would have to repeatedly disable and re enable the Skill every time that the token expires.

Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

sarkonovich

  • Galactic Citizen
  • ****
  • Posts: 312
Re: House Band -- Amazon Echo integration is available
« Reply #344 on: February 17, 2017, 08:44:57 am »

It means that when the token expires, you'll have to remove authentication from the server and then launch the skill so it can get the new token. You can then re-enable authentication. There's no need to disable/re-enable the skill. (Anyway, that would also require you to disable authentication to grab the new token.)

Enabling the skill lets you provide your access code. As far as I know, that doesn't change.



Logged
JRiver 21 Linux (ARM) on Pine 64 => PS Audio DirectWave DAC => ATC 50asl speakers. JRiver controlled by House Band on Amazon Echo

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: House Band -- Amazon Echo integration is available
« Reply #345 on: February 18, 2017, 06:44:48 am »

Hi Steve,

I am concerned to improve the security of your Skill, so I've been logging the Http transactions sent from Houseband to MC to see what's going on. I noticed that you are being very verbose in the use of the MCWS/v1/Authenticate command. In one log you issued that command 18 times in 90 seconds. Which seems a bit wasteful..

Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

sarkonovich

  • Galactic Citizen
  • ****
  • Posts: 312
Re: House Band -- Amazon Echo integration is available
« Reply #346 on: February 18, 2017, 09:46:38 am »

I'll take a look at why it's calling that so much.

Currently I do not store the token, so it's requested every "session", that is, every time the skill is invoked. It needn't be requesting a token if the session is remaining open between requests, e.g., when the user is answering a query from the skill ("What should I play?")

I'm curious if you think it's a security concern.

As far as I know, I can either just send the auth token along with either request, or provide username/password in the header, with the token being the preferred method. And that's all there is to MCWS security. But

Steve
Logged
JRiver 21 Linux (ARM) on Pine 64 => PS Audio DirectWave DAC => ATC 50asl speakers. JRiver controlled by House Band on Amazon Echo

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: House Band -- Amazon Echo integration is available
« Reply #347 on: February 18, 2017, 02:06:01 pm »


I'm curious if you think it's a security concern.


No. But it seems a bit wasteful.
Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

sarkonovich

  • Galactic Citizen
  • ****
  • Posts: 312
Re: House Band -- Amazon Echo integration is available
« Reply #348 on: February 18, 2017, 09:25:47 pm »

It should be a bit cleaner now....
Logged
JRiver 21 Linux (ARM) on Pine 64 => PS Audio DirectWave DAC => ATC 50asl speakers. JRiver controlled by House Band on Amazon Echo

Kid Twist

  • Junior Woodchuck
  • **
  • Posts: 63
Re: House Band -- Amazon Echo integration is available
« Reply #349 on: March 03, 2017, 06:08:51 am »

Just wanted to let you know, the commands "Ask House Band what's playing" or "Ask House Band what song is this" no longer seem to work when my MC server is password protected. Alexa tells me she's having trouble accessing my House Band skill right now. It works fine if I turn off password protection. All other functions seem to be OK. Thanks.
Logged
Pages: 1 ... 3 4 5 6 [7] 8 9 10 11 ... 13   Go Up