Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-12-30 Thread philchillbill


A user pointed out that playlists referencing Deezer tracks or on Deezer
itself were causing errors, The offending code was the part checking if
the playlist exists but is empty, which LMS does not seem to like for
external tracks: :confused:

Code:


  { "id": "1", "method": "slim.request", "params": [0, ["playlists", "tracks", 
0, 1, "playlist_id:" + id]] }
  


That's now wrapped in a try/catch so won't cause errors any more. It has
been verified that Deezer playlists now work with the skill.

Thanks to Chris M. for uncovering this issue.



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-12-02 Thread philchillbill

Shozzer wrote: 
> Thanks for your reply. I have also had the ‘you have no works by’
> message as well. So I shouldn't waste time in tweaking my Artist / Album
> Artist tags then but focusing on the album names?
> 
> What is the correct response to ‘I need the name of the artist’?
> 
> Steve

If you get that it means that the album name or title didn't match
uniquely or not at all. If there are just a handful of matches you get
to see them on the Echo screen and tap the one you want. Otherwise there
were too many matches or none at all. Ask to play the album "greatest
hits" and you will always be asked by what artist because you will have
a zillion hits. Ask to play DSOTM and you will not be asked because you
may have 3 variants of it but they will all be by Floyd.

It can actually be helpful to practice-search by typing in the LMS skin
and see what kind of matches you get for certain phrases. Any unique
matches would tend to not have Alexa ask for the name of the artist. But
that can be really tricky with classical where you have so much info in
the title.

In general with Alexa, pacing is important. Any humming and hawing and
she assumes you've finished speaking and will take what she heard
already. I tend to stop and formulate what I want clearly in my mind
before starting to blurt something out that needs correcting. That
really helps.



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-12-02 Thread Shozzer

Thanks for your reply. I have also had the ‘you have no works by’
message as well. So I shouldn't waste time in tweaking my Artist / Album
Artist tags then but focusing on the album names?

What is the correct response to ‘I need the name of the artist’?

Steve


philchillbill wrote: 
> The issue with classical music is that there are no standardised tag
> schemes for all the details so people usually invent their own.
> MediaServer just works with AlbumArtist/Band, TrackArtist/Artist, Album,
> Title, Genre and Year as tags. Amazon has a long list of 'known' artists
> to match against when you say something to Alexa, but not for classical
> artists. Alexa doesn't really 'hear' you without context. If you ask her
> to tell you a lightbulb joke, she first hears joke and then matches
> lightbulb against her joke categories. So there is context. Same with
> music. When you ask her to play an album by XXX, from the context of
> play combined with album she goes, aha, the XXX must be an artist so
> let's check my known-artist list. That list is unfortunately very
> unsuited to classical music. The "MediaServer can't help you with that"
> is indicative of her not even recognising your artist as being in the
> Amazon-curated artist category, otherwise you would have been told "you
> have no works by XXX" which is a different message that I generate based
> on matching against your library.
> 
> So I'm not sure Alexa will ever bring joy to classical lovers, whether
> via this skill or otherwise. I'd say your best bet is to tag your albums
> so that the match can occur without needing the artist name. The skill
> itself uses fuzzy matching, but it can only match against what LMS
> returns and LMS unfortunately does not do fuzzy or metaphonic matching.



Shozzer's Profile: http://forums.slimdevices.com/member.php?userid=58726
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-12-02 Thread philchillbill

Shozzer wrote: 
> Hi
> 
> Curtesy of Black Friday I took the plunge and purchased a couple of
> Echos (Studio and Dot). I set up the system before the devices arrived
> and carried out some testing via the Alex App. This helped to introduce
> me to the process but there are some limitations.
> 
> I have activated both devices and am practicing both playing and
> streaming with pretty good results. I think there are definite
> possibilities for Mrs Shozzer who hasn't really engaged with LMS
> although she will need some coaching. I am considering purchasing an
> Echo Show for Christmas.
> 
> I have a fair amount of classical music which present its own
> challenges. Often there are multiple artists. Sometimes the album can be
> identified just by name but sometimes an artist name is required. A
> frequent response is, ‘I need the name of the artist’ and she pauses for
> a response. When you tell her the name of the artist she says ‘Media
> Server can't help you with that - try a valid command or say exit’.
> 
> Sometimes she will tell me that I don't have an album by a specified
> artist but I do with another artist and do I want to play that? That
> then works but this is not consistent.
> 
> Any suggestions for the above? I suspect that it will need to some tag
> updating on my part to make things easier.
> 
> The more fluent one gets the easier I suspect it becomes.
> 
> Steve

The issue with classical music is that there are no standardised tag
schemes for all the details so people usually invent their own.
MediaServer just works with AlbumArtist/Band, TrackArtist/Artist, Album,
Title, Genre and Year as tags. Amazon has a long list of 'known' artists
to match against when you say something to Alexa, but not for classical
artists. Alexa doesn't really 'hear' you without context. If you ask her
to tell you a lightbulb joke, she first hears joke and then matches
lightbulb against her joke categories. So there is context. Same with
music. When you ask her to play an album by XXX, from the context of
play combined with album she goes, aha, the XXX must be an artist so
let's check my known-artist list. That list is unfortunately very
unsuited to classical music. The "MediaServer can't help you with that"
is indicative of her not even recognising your artist as being in the
Amazon-curated artist category, otherwise you would have been told "you
have no works by XXX" which is a different message that I generate based
on matching against your library.

So I'm not sure Alexa will ever bring joy to classical lovers, whether
via this skill or otherwise. I'd say your best bet is to tag your albums
so that the match can occur without needing the artist name. The skill
itself uses fuzzy matching, but it can only match against what LMS
returns and LMS unfortunately does not do fuzzy or metaphonic matching.



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-12-02 Thread Shozzer

Hi

Curtesy of Black Friday I took the plunge and purchased a couple of
Echos (Studio and Dot). I set up the system before the devices arrived
and carried out some testing via the Alex App. This helped to introduce
me to the process but there are some limitations.

I have activated both devices and am practicing both playing and
streaming with pretty good results. I think there are definite
possibilities for Mrs Shozzer who hasn't really engaged with LMS
although she will need some coaching. I am considering purchasing an
Echo Show for Christmas.

I have a fair amount of classical music which present its own
challenges. Often there are multiple artists. Sometimes the album can be
identified just by name but sometimes an artist name is required. A
frequent response is, ‘I need the name of the artist’ and she pauses for
a response. When you tell her the name of the artist she says ‘Media
Server can't help you with that - try a valid command or say exit’.

Sometimes she will tell me that I don't have an album by a specified
artist but I do with another artist and do I want to play that? That
then works but this is not consistent.

Any suggestions for the above? I suspect that it will need to some tag
updating on my part to make things easier.

The more fluent one gets the easier I suspect it becomes.

Steve



Shozzer's Profile: http://forums.slimdevices.com/member.php?userid=58726
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-10-02 Thread philchillbill


pprjack wrote: 
> This is all fine and good but, what I REALLY want is some way to see an
> Echo Speaker Group (a pair of Echos and an Echo Sub) available as a
> player from the idle LMS Server UI or mobile app and initiate a
> listening session from there.
> I still find the process of initiating a listening session verbally very
> awkward and cumbersome. I would like to initiate the session from the
> server interface or mobile app and play LMS content to that Echo speaker
> group.
> Alexa NEVER understands what I tell her to do and when it comes to
> addressing a 'Speaker Group', fugetaboutit!
> Is there a way to do this that I have over looked? Am I missing
> something?

Afraid Amazon simply does not allow this. A skill is different from a
music service like Spotify or Amazon Music or TuneIn. They can do things
that a skill simply cannot.



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-10-01 Thread pprjack


This is all fine and good but, what I REALLY want is some way to see an
Echo Speaker Group (a pair of Echos and an Echo Sub) available as a
player from the idle LMS Server UI or mobile app and initiate a
listening session from there.
I still find the process of initiating a listening session verbally very
awkward and cumbersome. I would like to initiate the session from the
server interface or mobile app and play LMS content to that Echo speaker
group.
Alexa NEVER understands what I tell her to do and when it comes to
addressing a 'Speaker Group', fugetaboutit!
Is there a way to do this that I have over looked? Am I missing
something?



pprjack's Profile: http://forums.slimdevices.com/member.php?userid=65730
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-04-18 Thread philchillbill

smarties wrote: 
> Hmmm.. I can't remember to be honest, but I don't -think- I did. 
> Obviously I would have changed the LMS IP in the ngrok config file at
> the time but there wouldn't have been a reason for me to change the
> password.  Maybe I did a full reinstall & setup though, and got my
> password manager to generate a new one.  Not sure.
> 
> For what it's worth I just remembered it was around the time of your 6.0
> release - note I'm also using the LMS-lite skill so that I can use
> routines to turn on players & queue up favourites) - might be relevant ?

The changes that broke things for you went live on Feb 16th so maybe it
was just that and not a password change if your kids didn’t let you know
at the time. Anyway, it’s fixed now so thanks for uncovering this corner
case bug. Real users always break software in ways the authors cannot
imagine!



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-04-18 Thread smarties


philchillbill wrote: 
> Good to hear. I'd hazard a guess that you changed your password and
> started including the illegal character at the same time you switched
> routers? Otherwise there's no logical explanation for why it used to
> work but suddenly stopped.

Hmmm.. I can't remember to be honest, but I don't -think- I did. 
Obviously I would have changed the LMS IP in the ngrok config file at
the time but there wouldn't have been a reason for me to change the
password.  Maybe I did a full reinstall & setup though, and got my
password manager to generate a new one.  Not sure.

For what it's worth I just remembered it was around the time of your 6.0
release - note I'm also using the LMS-lite skill so that I can use
routines to turn on players & queue up favourites) - might be relevant ?



smarties's Profile: http://forums.slimdevices.com/member.php?userid=72742
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-04-18 Thread philchillbill


smarties wrote: 
> Bingo !  It works again :D  Fantastic - many thanks for your help. 
> 
> (and yes the password did have one of those characters in it)
> 
> Great stuff -  I have 2 very happy kids in the house again !  
> 
> Thanks again!

Good to hear. I'd hazard a guess that you changed your password and
started including the illegal character at the same time you switched
routers? Otherwise there's no logical explanation for why it used to
work but suddenly stopped.



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-04-17 Thread smarties


philchillbill wrote: 
> EDIT: I've added url-encoding to the  so streaming may work
> for you now as-is.

Bingo !  It works again :D  Fantastic - many thanks for your help. 

(and yes the password did have one of those characters in it)

Great stuff -  I have 2 very happy kids in the house again !  

Thanks again!



smarties's Profile: http://forums.slimdevices.com/member.php?userid=72742
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-04-17 Thread philchillbill


smarties wrote: 
> Could be related, but playing directly from Amazon music or BBC radio
> works fine on the echos so I'm not sure its exactly same problem.
> 
> I've tried de-registering and re-registering the echo too, and that made
> no difference.
> 
> It's a bit weird how the echo player never appears as a player in the
> front end, in my case it only appears on the Settings - Information
> screen with the same IP as the LMS server itself (as a Web Client) - is
> that expected ?
> 
> When I access the stream.mp3 endpoint from a browser on my laptop - the
> laptop appears as a player in LMS with the laptop IP - hence the
> question
> 
> Can you also advise what the UUID is used for in the set up process ? 
> I'm using the the one that appears on the echo spot screen when I ask it
> to discover my players (the ngrok-updater.sh script succeeds fine with
> that UUID but I'm still curious if it is relevant)

Just thought of something: A while back I was asked by a user with an
odd setup (he did not have credentials on his non-ngrok proxy but did
have credentials on his LMS instead) if I could pass the credentials
through in the stream-URL which seemed harmless at the time. These then
end up in the path to the /stream.mp3 endpoint but are ignored if LMS
has no credential enabled:

http://username:password@192.168.1.2:9000/stream.mp3?player=Alexa-x

However, if you have any of the characters : @ / = ? in your username or
password, it would mess up streaming. If that's the case for you, remove
the offending character and re-try. 

If that was the issue then I'll have a think how I could get around the
issue by perhaps urlencoding (not sure if LMS would accept URL encoded
credentials for him).

Regarding the uuid, I don't want to store people's privacy-sensitive
data so you don;t have an account/login with my back-end
(smartskills.tech). Instead, I recognise users anonymously by assigning
a uuid to them. You actually store the uuid, not me. It's kept in your
browser's localStorage database which normally survives clearing your
browser cache.



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-04-17 Thread smarties

philchillbill wrote: 
> See
> https://www.amazonforum.com/s/question/0D54P6zSqxtSAC/echo-will-reply-to-command-but-wont-play-music
> for proof you’re not alone with this. I had it myself on one of my Echo
> Dots but not on other Dots or on my Shows. Methinks it’s a firmware bug
> that is triggered from time to time due to who knows what. 
> 

Could be related, but playing directly from Amazon music or BBC radio
works fine on the echos so I'm not sure its exactly same problem.

I've tried de-registering and re-registering the echo too, and that made
no difference.

It's a bit weird how the echo player never appears as a player in the
front end, in my case it only appears on the Settings - Information
screen with the same IP as the LMS server itself (as a Web Client) - is
that expected ?

When I access the stream.mp3 endpoint from a browser on my laptop - the
laptop appears as a player in LMS with the laptop IP - hence the
question

Can you also advise what the UUID is used for in the set up process ? 
I'm using the the one that appears on the echo spot screen when I ask it
to discover my players (the ngrok-updater.sh script succeeds fine with
that UUID but I'm still curious if it is relevant)



smarties's Profile: http://forums.slimdevices.com/member.php?userid=72742
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-04-17 Thread philchillbill

smarties wrote: 
> Yep that's the correct IP and Port
> 
> And no luck with switching device language to US - everything works
> except streaming.

See
https://www.amazonforum.com/s/question/0D54P6zSqxtSAC/echo-will-reply-to-command-but-wont-play-music
for proof you’re not alone with this. I had it myself on one of my Echo
Dots but not on other Dots or on my Shows. Methinks it’s a firmware bug
that is triggered from time to time due to who knows what. 

All the skill does for streaming is start up the /stream.mp3 stream in
LMS and tell the Echo how to grab it within your LAN. Then the skill
exits and it’s up to your Echo to actually play the stream. As you said,
you hear music when you visit /stream.mp3 in a browser so you know
that’s working. Conclusion is that the Echo is rejecting the stream due
to an Echo bug. Sorry I cannot fix anything on my end.



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-04-17 Thread smarties


philchillbill wrote: 
> 
> 
> People randomly get this (very sporadically) when an AWS server
> allocated to their Alexa account has a different patch-level to the
> norm. Try setting your device language for one of the Echos (in the
> Alexa app) to something other than en-GB (for example, en-US) and see if
> you can stream then. If so, switch back and see if it stays good.
> 
> Just to check, the skill thinks your LMS is at 192.168.0.160:9000. Is
> that correct for your LMS?

Yep that's the correct IP and Port

And no luck with switching device language to US - everything works
except streaming.



smarties's Profile: http://forums.slimdevices.com/member.php?userid=72742
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-04-16 Thread philchillbill

smarties wrote: 
> Thanks for the quick response - no luck with that I'm afraid.  Discovery
> only finds my regular players (squeezelite based), not any of my echos.
> 
> I've tried disabling and re-enabling the skill and gone through set up
> again but no luck with that either.
> 
> Anything else I could try ?

Discovery never mentions your AlexaPlayers as they are ephemeral —
they're just network clients that get created and destroyed on the fly
when needed. In the skill's logs, I can see you are getting


Code:


  "request": {
  "type": "AudioPlayer.PlaybackFailed",
  "requestId": "amzn1.echo-api.request.d68a6a76-d3b0-4a02-ad89-5735dce927f4",
  "timestamp": "2022-04-16T17:23:50Z",
  "locale": "en-GB",
  "currentPlaybackState": {
  "playerActivity": "STOPPED"
  },
  "error": {
  "message": "Device playback error",
  "type": "MEDIA_ERROR_SERVICE_UNAVAILABLE"
  },
  "token": "1650129829508"
  }
  



People randomly get this (very sporadically) when an AWS server
allocated to their Alexa account has a different patch-level to the
norm. Try setting your device language for one of the Echos (in the
Alexa app) to something other than en-GB (for example, en-US) and see if
you can stream then. If so, switch back and see if it stays good.

Just to check, the skill thinks your LMS is at 192.168.0.160:9000. Is
that correct for your LMS?



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-04-16 Thread smarties


philchillbill wrote: 
> Just say "Alexa, tell MediaServer to discover my players" and that will
> not only refresh your player list but retrieve the current internal IP
> address of your LMS. Then streaming should work again.

Thanks for the quick response - no luck with that I'm afraid.  Discovery
only finds my regular players (squeezelite based), not any of my echos.

I've tried disabling and re-enabling the skill and gone through set up
again but no luck with that either.

Anything else I could try ?



smarties's Profile: http://forums.slimdevices.com/member.php?userid=72742
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-04-16 Thread philchillbill


smarties wrote: 
> 
> 
> I did change my router fairly recently which meant I had to change the
> IP ranges of all my devices so that could be related but again as
> everything else is working fine so I'm doubtful.
> 
> 

I'll bet it relates to that change of internal IPs. The reason the
regular commands all work is because they are using the external ngrok
address for your setup, but streaming requires knowing your local LAN
IP. That's saved by the skill when you first run it (or use the discover
command).

Just say "Alexa, tell MediaServer to discover my players" and that will
not only refresh your player list but retrieve the current internal IP
address of your LMS. Then streaming should work again.



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-04-16 Thread smarties


Hi,

Need help.  I'm using this skill to voice control my players and to
stream music to the kids echos (Dots 3rd Gen, plus a Spot).  It was
working brilliantly until some point in the past month or so but now
streaming has stopped working (the kids neglected to tell me at the time
so I'm a little unsure as to when it last worked!).

On the face of it the skill still seems to work - it responds to my
commands, finds my music and seems to queue it up onto the echos ok, but
then nothing happens - no sound.  On my echo dot, the cover art of the
music supposedly being played is shown but alas no music.  Voice control
over my regular players all works fine as before, so there is no problem
with the skill as such, just streaming.

I'm at a loss as to why - there doesn't seem to be anything in the
server logs to indicate any problem.

The behaviour is the same whether the source music is mp3 or flac so I
don't think its a transcoding related.

The :9000/stream.mp3 endpoint still works fine too.

The only thing that now seems odd is that when you try and stream to an
echo, the echo no longer shows up as a player in the front end (but
oddly does appear in the Server -> Settings -> Players list with an IP
address of the LMS server itself ?)

I did change my router fairly recently which meant I had to change the
IP ranges of all my devices so that could be related but again as
everything else is working fine so I'm doubtful.

Can you help ?  (Happy to post server logs if you can't advise what to
specifically look for)

Many thanks



smarties's Profile: http://forums.slimdevices.com/member.php?userid=72742
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-04-03 Thread philchillbill


Fixed a bug in the on-screen player controls where the repeat icon
displayed instead of the shuffle icon.



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-03-15 Thread philchillbill

konrat wrote: 
> Hello,
> 
> Can the skill be controlled by the LMS/Material App on an Android Phone?
> I tried that. However there seems to be a buffer of nearly a minute or
> so. A Pause command is executed 1 min late or so.
> 
> Is there any other way to app-control playback on an Echo without
> display?
> 
> Thanks.

If you are streaming to an Echo and change the playlist outside the
skill, saying ‘Alexa, resume’ will clear that buffer for you for
immediate playback.





philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-03-15 Thread konrat


Hello,

Can the skill be controlled by the LMS/Material App on an Android Phone?
I tried that. However there seems to be a buffer of nearly a minute or
so. A Pause command is executed 1 min late or so.

Is there any other way to app-control playback on an Echo without
display?

Thanks.



konrat's Profile: http://forums.slimdevices.com/member.php?userid=65511
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-02-26 Thread bobefax

philchillbill wrote: 
> Maybe unlink the skill and re-link it from the same browser where you
> did it the first time so it grabs your uuid. Amazon might have grabbed
> your oauth token erroneously. Rarely happens but I’ve seen it a handful
> of times.

Thanks seem to have sorted...  found the media server on the cloud but
no players - turn on my Squeezebox Radio and am listening to music -
will now try and get it working via echo's :-)

Thanks again for your very quick response. :D



bobefax's Profile: http://forums.slimdevices.com/member.php?userid=72618
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-02-26 Thread philchillbill

bobefax wrote: 
> Hi
> 
> Have installed via the installer on the mediaserver.smartskills.tech
> site - all simple enough to follow and using powershell on windows to
> install with ngrog - worked fine.
> 
> Have linked the skill via amazon and again straight forward to do.
> 
> Using with Echo dot - 2nd / 3rd gen can connect to the media server -
> but when I ask Alexa to tell media server x to do anything I get
> 
> -you need need to take action ngrog reports a 401 authorization failure
> it might be a temporary service glitch you can try  again later if you
> deliberately changed your credentials relink the skill-
> 
> 
> Can bring up the ngrog status - all good and looks fine via
> //localhost:4040/status
> and the skill looks to be still enabled under Amazon.
> 
> Apologies if this was covered somewhere - but I couldn't find it.
> 
> Thanks
> 
> Bob

Maybe unlink the skill and re-link it from the same browser where you
did it the first time so it grabs your uuid. Amazon might have grabbed
your oauth token erroneously. Rarely happens but I’ve seen it a handful
of times.





philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-02-26 Thread bobefax


Hi

Have installed via the installer on the mediaserver.smartskills.tech
site - all simple enough to follow and using powershell on windows to
install with ngrog - worked fine.

Have linked the skill via amazon and again straight forward to do.

Using with Echo dot - 2nd / 3rd gen can connect to the media server -
but when I ask Alexa to tell media server x to do anything I get

-you need need to take action ngrog reports a 401 authorization failure
it might be a temporary service glitch you can try  again later if you
deliberately changed your credentials relink the skill-


Can bring up the ngrog status - all good and looks fine via
//localhost:4040/status
and the skill looks to be still enabled under Amazon.

Apologies if this was covered somewhere - but I couldn't find it.

Thanks

Bob



bobefax's Profile: http://forums.slimdevices.com/member.php?userid=72618
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-02-26 Thread philchillbill


The APL player-controls received a facelift. @staresy pointed out that
the badges for the repeat/shuffle buttons were being cropped on the Echo
Show 5. There was a bug in the APL simulator that was hiding this for me
and I could not verify on a real device, but the simulator has been
updated and now I could see the problem.

The badges are now positioned at the top where they won't crop, and the
'Player Controls' text has been removed to allow the whole frame to be
less tall. It also now has a border. Let me know if any further tweaks
are needed on real devices, but it looks better now on all my physical
devices and in the simulator on the ones I don't physically have.



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-02-18 Thread Peter Galbavy


It's probably my odd setup, Android app does the same - a 172.22.0.x
address and nothing. Next time someone with an Apple device visits I'll
have a play there too :)



Peter Galbavy's Profile: http://forums.slimdevices.com/member.php?userid=32718
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-02-17 Thread philchillbill


Peter Galbavy wrote: 
> Another minor one, probably mentioned in the long thread somewhere, but
> just for fun I tried the Alexa Windows app as a player and it doesn't
> work - but this is probably because it uses some off-net proxy (the
> private address space that I do not use is a good clue) of it's own, as
> seen in the IPs below (the bottom player is one of the Echo Show 15s):
> 
> I doubt this is fixable, and if not already probably worth mentioning in
> the docs.

37243

I have not tried it in the Windows app but it -does- work in the Alexa
app on the *iPhone* (see screenshot). Likely on Android too but I cannot
verify. But that's all down to how Amazon proxies their stuff and is not
on me. So no idea why Windows is different.

By the look of the AirPlay logo, it would seem that you can even cast it
from the phone to an AirPlay speaker but I have none at hand to test
:cool:

If you start a stream while on WiFi and then switch to 4G it continues
ad infinitum. That surprises me TBH. However, if you try and start it
while on 4G it says it is going to play but then there is silence. If
you stop a stream and later ask Alexa "tell MediaServer to resume" it
will continue if the iPhone on WiFi but not on 4G (I then see
PlaybackFailed in the logs with as reason
"MEDIA_ERROR_INTERNAL_SERVER_ERROR").


+---+
|Filename: WhatsApp Image 2022-02-17 at 12.54.35.jpeg   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=37243|
+---+


philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-02-17 Thread Peter Galbavy


Another minor one, probably mentioned in the long thread somewhere, but
just for fun I tried the Alexa Windows app as a player and it doesn't
work - but this is probably because it uses some off-net proxy (the
private address space that I do not use is a good clue) of it's own, as
seen in the IPs below (the bottom player is one of the Echo Show 15s):

37241

I doubt this is fixable, and if not already probably worth mentioning in
the docs.


+---+
|Filename: Screenshot 2022-02-17 075828.png |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=37241|
+---+


Peter Galbavy's Profile: http://forums.slimdevices.com/member.php?userid=32718
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-02-16 Thread staresy


philchillbill wrote: 
> Amazon has freshly certified *V6.0* of MediaServer.

Many thanks for the new commands (early/recent/from/display), they are
working well. The early/recent is very useful with a large collection by
a particular artist and makes quick shuffled playback far easier than
using a standard touch control interface (as does play by year). Good
work!



location 1: lms 8.3 on win 10 brix server, x3 sb radios, x1 touch, x1
controller : location 2: lms 8.3 on win 10 brix server, x2 sb radios, x1
duet receiver, x1 controller : alexa mediaserver smart skill, material
android, squeezelitex control

staresy's Profile: http://forums.slimdevices.com/member.php?userid=807
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-02-16 Thread philchillbill


Peter Galbavy wrote: 
> It works! Thanks you. Take my money - literally. New subscriber now
> happy :)
> 
> One more feature request for "one day" - The Echo Show 15 can be mounted
> in portrait mode and the normal display looked quite squashed in
> landscape. I am sure there is also some value to looking at "widgets"
> for the future too.

Glad to oblige. Who knows, it may prove useful to others :)

I can play around with the Echo Show 15 layout in the APL web-simulator
but the documentation on widgets is totally useless so no idea how to
implement them. Over the years, I've suggested dozens of improvements to
the Amazon docs when I finally figure something out, but in the case of
widgets the baseline is not good enough to get me even started.



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-02-16 Thread Peter Galbavy


It works! Thanks you. Take my money - literally. New subscriber now
happy :)

One more feature request for "one day" - The Echo Show 15 can be mounted
in portrait mode and the normal display looked quite squashed in
landscape. I am sure there is also some value to looking at "widgets"
for the future too.



Peter Galbavy's Profile: http://forums.slimdevices.com/member.php?userid=32718
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-02-16 Thread philchillbill


Peter Galbavy wrote: 
> Yeah, the Basic auth details for the proxy, when it doesn't need it,
> just drops through in the headers to the native HTTP interface and hence
> the UI works for me.
> 
> In my case using a 3rd party proxy would still NOT work as I am not
> removing LMS password protection. I have "real" players outside my home
> and they cannot support HTTPS anyway, so the most basic clear text auth
> is better than none. The username / password are not shared with any
> other platform I use so it doesn't matter if they are intercepted -
> someone can potentially screw up my LMS configs but that's about it,
> although there will be holes in the server or plugins for the
> determined.
> 
> I am going to see if I can using nginx to proxy with hardwired auth to
> /stream.mp3 or see if LMS can somehow unprotect just that endpoint as a
> test hack - but the former would not work for your skill I assum as the
> endpoint is derived from the LMS servers own knowledge of it's IP and
> fixed port and so can't be redirected to a munging proxy solution :)
> 
> One potential simplification, if you are willing to change your code, is
> to pass the *same* auth details as for the proxy in the URL in the
> playlist, like you show, which would have no effect on an unprotected
> endpoint but could act as a workaround for those like me (sample size
> obviously one for now) that want to support a Frankenstein like hybrid
> environment.

I didn't know that LMS would just ignore basic auth parameters if they
were not enabled :D. That indeed makes it harmless to embed the
credentials in the PLS file for streaming. I've just tested that and it
worked no problem so I've pushed it live. 

Let me know if it now works for you.



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-02-16 Thread Peter Galbavy


Yeah, the Basic auth details for the proxy, when it doesn't need it,
just drops through in the headers to the native HTTP interface and hence
the UI works for me.

In my case using a 3rd party proxy would still NOT work as I am not
removing LMS password protection. I have "real" players outside my home
and they cannot support HTTPS anyway, so the most basic clear text auth
is better than none. The username / password are not shared with any
other platform I use so it doesn't matter if they are intercepted -
someone can potentially screw up my LMS configs but that's about it,
although there will be holes in the server or plugins for the
determined.

I am going to see if I can using nginx to proxy with hardwired auth to
/stream.mp3 or see if LMS can somehow unprotect just that endpoint as a
test hack - but the former would not work for your skill I assum as the
endpoint is derived from the LMS servers own knowledge of it's IP and
fixed port and so can't be redirected to a munging proxy solution :)

One potential simplification, if you are willing to change your code, is
to pass the *same* auth details as for the proxy in the URL in the
playlist, like you show, which would have no effect on an unprotected
endpoint but could act as a workaround for those like me (sample size
obviously one for now) that want to support a Frankenstein like hybrid
environment.



Peter Galbavy's Profile: http://forums.slimdevices.com/member.php?userid=32718
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-02-15 Thread philchillbill

Peter Galbavy wrote: 
> Because I enable password security on all my LMS instances by default?
> This is in fact what I use to protect my test proxy for your skills in
> testing - I don't have proxy passwords, instead using the user and
> password in LMS in the config and it works for everything except
> streaming.
> 
> I do also access my LMS from outside my home, and it is password
> protected without a proxy dance - even if it's not HTTPS protected out
> of the box - players don't understand HTTPS.
> 
> Another use of a protected stream endpoint would be if my LMS instance
> were not on the local LAN of the Echo device, e.g. hosted in the fluffy
> cloud on a VM, for example.

If you use either ngrok or a reverse-proxy like apache or nginx, they
all do the https-to-http translation for you — it does not then matter
that LMS cannot support https natively. That's the whole idea behind my
approach to remote-access to LMS from the cloud. Remember, if you are
not using https, your auth credentials are going as plain text and can
be easily intercepted...

The way account-linking the skill currently works, your auth parameters
for the proxy are specified — you cannot specify any native LMS
credentials. The Echo 'thinks' it's playing a https stream but that
https endpoint (in my back-end) actually just sends it a PLS file which
contains the /stream.mp3 endpoint spec as the only item in the playlist
(Paul Webster's wonderful invention). If local-LMS credentials were to
be included in that PLS file, they'd have to be embedded using the h t t
p://username:password@192.168.1.10:9000/stream.mp3?player=Alexa-X
construct. I don't honestly know if that would even work. But,
importantly, I'd have to extend the account-linking form with 2 extra
fields to specify those basic-auth parameters and that's complicating it
a lot for most people.



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-02-15 Thread Peter Galbavy


philchillbill wrote: 
> The reason that the Stream commands are now free has to do with all the
> APL stuff recently added to MediaServer for the visuals. Handling that
> is way heavier on my back-end than streaming, so it no longer makes
> sense to see streaming as 'premium'. I also genuinely believe that a
> device like the Echo Show 8 gen 2 is an affordable 2022 alternative to
> the Squeezebox Radio. It sounds -really- good for its size and has a
> gorgeous full-HD 8" touchscreen to boot. Maybe now people will discover
> this for themselves...

Yup! It's what I've been trying :) I am suitably impressed with the Echo
Show 8 /2 sound quality.



Peter Galbavy's Profile: http://forums.slimdevices.com/member.php?userid=32718
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-02-15 Thread Peter Galbavy


philchillbill wrote: 
> No, the http stream has to be unprotected. It is, after all, inside your
> LAN. Why would you want LMS to be password-protected for local use?

Because I enable password security on all my LMS instances by default?
This is in fact what I use to protect my test proxy for your skills in
testing - I don't have proxy passwords, instead using the user and
password in LMS in the config and it works for everything except
streaming.

I do also access my LMS from outside my home, and it is password
protected without a proxy dance - even if it's not HTTPS protected out
of the box - players don't understand HTTPS.

Another use of a protected stream endpoint would be if my LMS instance
were not on the local LAN of the Echo device, e.g. hosted in the fluffy
cloud on a VM, for example.



Peter Galbavy's Profile: http://forums.slimdevices.com/member.php?userid=32718
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-02-14 Thread philchillbill

Paul Webster wrote: 
> Just tried to stream to an Echo Dot (2nd Gen I think) and it worked.
> But …. after about 10 minutes of playing the Dot showed a brief yellow
> ring and, I think, rebooted itself!
> 
> I’ll try a few more times later today to see if repeatable.

Yellow ring means the Echo lost WiFi connection. Probably just a fluke
that it then rebooted. Very unlikely that the stream caused it.

There are still plenty of bugs in the Echo firmware driving me mad
:rolleyes: APL distorts badly on my Echo Show 10" gen 2 but is just fine
on my Echo Show 8" gen 2 and on both my Echo Spots. @raglencross cannot
get certain Echos to take a stream while others do it willingly. Sigh.



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-02-14 Thread Paul Webster

Just tried to stream to an Echo Dot (2nd Gen I think) and it worked.
But …. after about 10 minutes of playing the Dot showed a brief yellow
ring and, I think, rebooted itself!

I’ll try a few more times later today to see if repeatable.



Paul Webster
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc
australia and cbc/radio-canada
and, via the extra \"radio now playing\" plugin lots more - see
https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-02-14 Thread philchillbill

Amazon has freshly certified *V6.0* of MediaServer. Because there were
changes to the voice-model, the Alexa app will reflect it as updated
this time round. As always, you don't need to do anything for access —
you invariably run the latest version whenever you invoke the skill.


- All *Stream* commands are now *free* to use -without- subscription.
  Yaay! This is also true for the *Sleep* commands. The number of
  intents is now 129, with 94 available without subscription.
  
- It's now available in *Canada* from Amazon.ca. Finally! :rolleyes:
  
- There are 7 new intents:
  

  - Play/stream *early* Aretha Franklin.
  - Play/stream *recent* David Gilmour.
  - Play/stream songs *from* 1976.
  - When an APL list item (image or text) is displayed on screen: e.g.
*Third* (to select the item by ordinal rather than by name or
touch).

  
- The *short* response mode has been removed as nobody ever used it
  and it needed active maintaining.
  

The early/recent concept builds a mathematical *set* from all the
declared years in an artist's oeuvre (based on the -year- tag). This is
sorted and chopped down the middle, whereby -early- then refers to the
first half and -recent- selects the second half. The skill performs its
own Fisher-Yates shuffle on the resultant tracklist and sends it to LMS
as an array of track_id's (limited to 500 entries). Meaning that the
list should be different each time you call it for the same artist. Note
that if your albums are populated with tags reflecting the year
associated with e.g. recent remasterings or greatest-hits releases
(rather than the year of original release), you may find that e.g.
Waterloo by ABBA is showing up under recent rather than early. Remember,
the year tag holds whatever -you- put in it. :p Thanks to @staresy for
suggesting these commands.

The play/stream-songs-from-year intent uses ['playlist', 'loadtracks',
'track.year=' + year] under the hood, meaning that any shuffling has to
be done by LMS itself. If you are on a recent 8.3 then LMS will
automatically shuffle this list regardless of the player's settings. If
on an earlier LMS version then you will always get exactly the same list
of songs in the same order, unless the player in question has shuffle
enabled.

The reason that the Stream commands are now free has to do with all the
APL stuff recently added to MediaServer for the visuals. Handling that
is way heavier on my back-end than streaming, so it no longer makes
sense to see streaming as 'premium'. I also genuinely believe that a
device like the Echo Show gen 2 is an affordable 2022 alternative to the
Squeezebox Radio. It sounds -really- good for its size and has a
gorgeous full-HD 8" touchscreen to boot. Maybe now people will discover
this for themselves...



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-02-12 Thread philchillbill


Peter Galbavy wrote: 
> .
> 
> Can Media Server LAN access to /stream.mp3 work with security enabled on
> the server?

No, the http stream has to be unprotected. It is, after all, inside your
LAN. Why would you want LMS to be password-protected for local use?



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-02-12 Thread Peter Galbavy


philchillbill wrote: 
> That would indicate that the Echo didn't see a valid audio stream at the
> address that LMS resolves to in your LAN. 
> 
> The normal 'Play' commands just instruct LMS to talk to your players and
> feed them as LMS does. The 'Stream' commands are different by necessity
> because the Echo needs to be fed with a stream *from a URL*, much like
> internet radio. LMS is told to start up a /stream.mp3 network client and
> then the Echo is pointed at that stream locally within your LAN. That
> last part must be failing due to your proxy/docker setup. The
> /stream.mp3 endpoint has to be unprotected and reachable over http
> without basic auth in your LAN for it to work. 
> 
> Can you share any details of your proxy or docker config? Any reason you
> didn't go the ngrok route? Earlier, you got a bad-SSL cert error (EPROTO
> 140716538210176:error:1408F10B:SSL routines:ssl3_get_record:wrong
> version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332) so
> it may also be that Amazon does not trust your proxy. You subsequently
> re-linked the skill without a port number in the https URL which
> silenced the error, but Amazon may still have issues with your proxy.
> Amazon has whitelisted ngrok which is why people who go that route never
> have issues like this.

I've returned to the UK and now have a couple of Echo Show 15s at home
and so have tried this again. I set up a new DNS cname and let my nginx
docker container get the Lets Encrypt cert for it. Player control now
works but streaming does not. I have also set up an nginx proxy for HTTP
to /stream.mp3 so it doesn't require SSL. My LMS is password protected
hpwever and /stream.mp3 expects a login as does the rest of the server.
Testing with curl (and not cached broswer sessions) proves this to me.

Can Media Server LAN access to /stream.mp3 work with security enabled on
the server?

For reference, the nginx config is below:


Code:


  server {
  listen 80;
  
  server_name lms.example.com;
  
  location /stream.mp3 {
  proxy_pass http://ubuntu:9000/stream.mp3;
  }
  }
  
  server {
  listen 443 ssl;
  
  # Domain names this server should respond to.
  server_name lms.example.com;
  
  # Load the certificate files.
  ssl_certificate /etc/letsencrypt/live/lms.example.com/fullchain.pem;
  ssl_certificate_key /etc/letsencrypt/live/lms.example.com/privkey.pem;
  ssl_trusted_certificate /etc/letsencrypt/live/lms.example.com/chain.pem;
  
  # Load the Diffie-Hellman parameter.
  ssl_dhparam /etc/letsencrypt/dhparams/dhparam.pem;
  
  location / {
  proxy_pass http://ubuntu:9000/;
  }
  }
  




Peter Galbavy's Profile: http://forums.slimdevices.com/member.php?userid=32718
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-02-08 Thread philchillbill


Based on @MrC's feedback (thanks!), the online setup instructions have
been updated to (hopefully) be clearer :cool:



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-02-01 Thread MrC


Nice replies, thanks.   To be clear again, no criticism is/was meant in
my post.  Just my feedback about the issues we faced.

philchillbill wrote: 
> 
> In reality, what other credentials might even be relevant? See
> https://mediaserver.smartskills.tech/ac-link-lms.html. It already says "
> Type the username and password you previously chose in the
> configurator". How could that be clearer?
> 

I thought for a moment it might be my ngrok account, since I'd just
created it, or my Amazon account, since the script was trying to
authorize a skill.  It just wasn't clear to me, after having gone
through all the steps.  It became clearer, after I thought about it, but
I'm not sure everyone has sufficient technical background to understand
this.  There are three sets of credentials that could be perceived as
possible in this process: the ngrok account which I'd just created, my
amazon credentials, or some new tunnel credentials.  Others have also
indicated some confusion here too.  For all I knew at the moment, the
process might have been trying to connect to my ngrok account.

Since the configurator says "ngrok authtoken", perhaps the username and
password should also be as specific.  The tooltips were helpful, but I
didn't see those.

"ngrok tunnel authtoken"
"new ngrok tunnel username"
"new ngrok tunnel password"

philchillbill wrote: 
> 
> With LMS-lite, a mere "Alexa, favorite three on Kitchen" will play
> favorite number 3 on your Kitchen player. That's just 5 words. 
> 

Oh, if only that was all that was required, it would not be an issue. 
But those 5 words are not sufficient.

1. Needed a Routine to combine Skill:Elan and Skill:LMS-Lite to turn on
the Elan amp, and select a zone.  I opted for a simple test: Alexa,
Gumby.  And that turned on Favorite 1 on Squeeze 2.
2. Needed a Routine to switch to another radio stream.  Alexa Pokey. 
KQED now is playing.
3. Needed a Routine to switch off the Elan amp + Touch, so have to
remember this verbiage.
4. Needed several Routines to change the volume up/down/mute - these
call the Elan skill.  I would opt for a Routine because nobody is going
to remember (and hence would require cheat sheets) the idiosyncrasies of
the syntax's for all these different skills, for each operation, esp.
when kitchen timers are going off, audio is too loud, and there are time
pressures.  We have Alexa, skills and routines for Lutron, Elan, several
other devices; MediaServer and LMS-Lite (each with their differences,
and restrictions) had to many restrictions to natural language and
expectations.
5. Needed to remember which favorites are located in which positions. 
Which one is in slot 3 again?  I can't recall, so I'll open Material -
ok #1.  Heh, that's the wrong station!   Ugh, the material vs default
skin ordering issue.
6. Wife needs to remember when she's in her closet, or the master bath,
to use Alexa's native language to play BBC World News.  But in the
kitchen, its, uh, Alexa, favorite three on Kitchen.  And all the
variants for changing stations, volume, stop/start/pause/rewind.  And
there are dozens of variations of these stop, pause, resume, go back,
kind of commands throughout all the devices.

Again, this is not a criticism.  Its just commentary on our experience
where the benchmark for success is the utterly simple Alexa, Play KQED,
and Alexa Stop.


philchillbill wrote: 
> 
> We cannot reduce it to just "Play BBC World News"
> 

That's exactly why I opted for testing with a Routine Alexa Gumby. 
Easy.  No thinking.  We could test the limits of the possible
efficiency, are test against that aforementioned benchmark.

And this is the way we control most of our devices for routine
operations.  Alexa, TV time.  Alexa Time for coffee.  Alexa, Shower
time.  We've focused on tasks and scenes, not on individual commands, as
we've found those to be too idiosyncratic and error prone.

philchillbill wrote: 
> 
> The way Alexa works is that she hears what you say, decides on a skill
> that can handle it, and passes the parameters to the skill. If the
> commands were stripped from MediaServer but nevertheless spoken by the
> user, Alexa would merely redirect to a different skill (or music
> service) to process. So Amazon Music or TuneIn (as fallbacks) would be
> reacting instead of MediaServer, but it would still be a mess. Fact is,
> voice assistants (as you point out) need the user to remember pretty
> exact syntax or it's game-over.
> 

Yeah, I get it.  Two things here that i was assuming might be possible:

One: allow disabling the command, accept it, and just bonk when it was
issued.  But never show it in the list of Help.  The idea being to
reduce the noise that comes back when I want help.  This would for us 
eliminate all the commands re: alarms, synchronizing, grouping, volume
controls, bookmarks, transfers, sleep, power on/off, shuffle, repeat,
list my players (we know them), rename, enable/disable artwork.  That's
a huge number reduced to the simple audio choices we'd 

Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-02-01 Thread philchillbill


@chaug, I can see in the logs that your ARN is targeting US-East-1 (in
North Virginia) while your locale is set to en-GB. This means your
latency is quite high.  I've had British expats in the US complain that
Alexa often misunderstood them with this combo. 

You might fare better by setting your Amazon digital content to .co.uk
(the online instructions now have an address/phone for that too) as this
would get you hitting eu-West-1 in Dublin. You might also fare better if
you set your language for the Echo(s) in question to en-US.



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-02-01 Thread philchillbill


chaug wrote: 
> This morning I had major issues with getting the skill to shuffle play
> my playlist. There were three songs that produced just silence, two of
> which I noted down and later tried to play using stream.mp3 as described
> above. Both of them played in the web browser.
> 
> I also checked the alexa voice history to see if that would explain some
> of the other failures. Turns out that in one case, she understood "tell
> me the server" instead of tell media server. Which is obviously pretty
> poor AI performance, given that she has a skill called "media server".
> In fact, I would claim that there is no AI involved here. It's just
> stupid to immediately fall back on the default answer "Here's something
> I found on the web..." I don't get why you wouldn't check against
> similar sounding skill names before coming up with a nonsense guess of
> what the user might have meant by "tell me the server". 
> 
> In another situation alexa just heard the wake word but not the
> following wake word. The only difference to the second time I said it
> was that the pause between "Alexa" and "next" was a tiny fraction of a
> second shorter. She simply doesn't seem to listen long enough after the
> key word. Half or even a quarter of a second more would probably solve a
> lot of issues. I noticed earlier that "Alexa, skip" works most of the
> time while "Alexa, next" doesn't. My explanation for this is now that
> the "s" in skip makes enough of a hissing sound to keep Alexa awake
> while the "n" in next doesn't. That's how tiny the difference is. 
> 
> The only thing I can do as a user here is try and ignore the Alexa ring
> light and just talk. What I mean is that I noticed a tendency in my
> family to say "Alexa", then wait for here to indicate that she's
> listening, and then give the command. As I noticed this kinda natural
> behaviour in others, I realised that I was also doing it, though to a
> lesser extent. I don't really like to train myself, though, to not wait
> for the light to go on. Firstly, because it means that I will have to
> repeat commands when it turns out that Alexa didn't wake up, but also
> because Alexa is already teaching us habits that are not good for human
> interaction (like not saying thank you when someone did something for
> you or ordering her to stop talking) so that I think it would be good to
> maintain the attitude of waiting for a response before starting the
> conversation. 
> 
> Nut apart from those concerns, I won't quite understand why the slight
> pause between the wake word and the command works without problems
> outside of the media server skill. It's only when MediaServer is active
> that this problem occurs. Do you as skill developer have control over
> the waiting period or is Amazon defining shorter in-skill periods?
> 
> 
> 
> I will try simon says asap but I don't think that is the issue. The Echo
> dot that I've tested this most on is brand new and the same problem has
> occurred on at least one other echo dot.
> 
> 
> 
> If "shuffled" is added at the end, isn't there a risk that it gets
> interpreted as part of the playlist name? Then again, always removing
> the last "shuffled" from the playlist name would probably work. So even
> if you had a playlist ending with "shuffled" saying playlist something
> shuffled shuffled would work. So, yea, that would be great have!
> 
> Alternatively: how about "shuffleplay" and "shufflestream" as commands?
> i.e. "Alexa, tell mediaserver to shufflestream favourite 8" instead of
> "Alexa, tell mediaserver to stream favourite 8 shuffled"

Wow, "tell me the server" would be a first ! Amazon calls Alexa an AI,
but just so you know: in the voice model you have to have separate
entries for "what's playing" and "what is playing" because the AI cannot
even join those dots. :confused: I kid you not.

When you install a skill, a random Amazon server gets assigned to you.
It would appear that different servers may have different patch levels
or even be running different versions of the Alexa engine.  Your
assigned server might have a tweaked version of something (outside my
control) that behaves oddly. We will never know. It's certainly not in
the hands of a skill developer to pace anything. Alexa hears, thinks for
a bit, and decides what to pass on to skills. I've often seen 'old'
console.log() statements in the skill logs that dated from a version of
my code that was changed weeks ago and should not be still 'live'.
Meaning some users were not running my latest code even though I updated
all URNs. Hmmm.

I can always strip the word 'shuffled' from the {Playlist} slot value,
so that's not an issue. Adding shuffleplay and shufflestream commands
would blow up the voice model and I'm already close to the limit of what
a skill is allowed to have. Personally, I do find a tiny pause between
Alexa and the command fares better (you can hear that in my videos) but
YMMV.



Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-02-01 Thread chaug


This morning I had major issues with getting the skill to shuffle play
my playlist. There were three songs that produced just silence, two of
which I noted down and later tried to play using stream.mp3 as described
above. Both of them played in the web browser.

I also checked the alexa voice history to see if that would explain some
of the other failures. Turns out that in one case, she understood "tell
me the server" instead of tell media server. Which is obviously pretty
poor AI performance, given that she has a skill called "media server".
In fact, I would claim that there is no AI involved here. It's just
stupid to immediately fall back on the default answer "Here's something
I found on the web..." I don't get why you wouldn't check against
similar sounding skill names before coming up with a nonsense guess of
what the user might have meant by "tell me the server". 

In another situation alexa just heard the wake word but not the
following wake word. The only difference to the second time I said it
was that the pause between "Alexa" and "next" was a tiny fraction of a
second shorter. She simply doesn't seem to listen long enough after the
key word. Half or even a quarter of a second more would probably solve a
lot of issues. I noticed earlier that "Alexa, skip" works most of the
time while "Alexa, next" doesn't. My explanation for this is now that
the "s" in skip makes enough of a hissing sound to keep Alexa awake
while the "n" in next doesn't. That's how tiny the difference is. 

The only thing I can do as a user here is try and ignore the Alexa ring
light and just talk. What I mean is that I noticed a tendency in my
family to say "Alexa", then wait for here to indicate that she's
listening, and then give the command. As I noticed this kinda natural
behaviour in others, I realised that I was also doing it, though to a
lesser extent. I don't really like to train myself, though, to not wait
for the light to go on. Firstly, because it means that I will have to
repeat commands when it turns out that Alexa didn't wake up, but also
because Alexa is already teaching us habits that are not good for human
interaction (like not saying thank you when someone did something for
you or ordering her to stop talking) so that I think it would be good to
maintain the attitude of waiting for a response before starting the
conversation. 

Nut apart from those concerns, I won't quite understand why the slight
pause between the wake word and the command works without problems
outside of the media server skill. It's only when MediaServer is active
that this problem occurs. Do you as skill developer have control over
the waiting period or is Amazon defining shorter in-skill periods?

philchillbill wrote: 
> Of the 14 Echos I've owned over time, two had microphones go bad so
> Alexa misinterpreted a lot of my commands (they were both 2nd generation
> Echo Dots). That might be your issue too because I agree there's not
> much can go wrong with just saying 2 words. You can try 'Simon Says'
> with a longish sentence (she reads back what you say). For example,
> "Alexa, Simon Says this is a test of the microphone in my device". If
> the audio stutters, you know you have a hardware problem.
> 

I will try simon says asap but I don't think that is the issue. The Echo
dot that I've tested this most on is brand new and the same problem has
occurred on at least one other echo dot.

philchillbill wrote: 
> I might be able to add a 'shuffled' qualifier to the StreamPlaylist
> command. That would have to be an an exact syntax where you'd say
> 'stream the playlist -whatever- *shuffled*'. Not a natural flow of words
> but it would work. I'll do all that after the current certification
> submission passes because I can't touch the live skill at the moment or
> risk rejection. Amazon normally certifies in 1-2 days but it's been over
> a week already so they are apparently slow due to Covid understaffing.

If "shuffled" is added at the end, isn't there a risk that it gets
interpreted as part of the playlist name? Then again, always removing
the last "shuffled" from the playlist name would probably work. So even
if you had a playlist ending with "shuffled" saying playlist something
shuffled shuffled would work. So, yea, that would be great have!

Alternatively: how about "shuffleplay" and "shufflestream" as commands?
i.e. "Alexa, tell mediaserver to shufflestream favourite 8" instead of
"Alexa, tell mediaserver to stream favourite 8 shuffled"



*Server*: LMS 8.1.1 on an Ubuntu 18.04 virtual machine
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: Material Skin (Web UI), but also SqueezePad
(iOS), Squeezecontroller (Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Multi Library

chaug's Profile: http://forums.slimdevices.com/member.php?userid=47641
View this thread: 

Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-02-01 Thread philchillbill


chaug wrote: 
> I don't see how the speed of my commands is a source of error. I speak
> at the same pace as you do in your demonstration video (which is good,
> btw. Very nice to get an idea of the app). Besides, there is not much
> pacing involved in "Alexa shuffle" or "Alexa, next". Background noise
> can be safely excluded too when I'm in the room by myself, with no noise
> source anywhere and my standing about half a meter away from the Echo
> dot. There is something else going on here.
> 
> I will check the test-player next time when the echo dot doesn't want to
> play something. 
> 
> I suppose it's not a big problem when the custom names for my echo dots
> don't persist. The reason I was trying to do it was so that I don't have
> to remember which is which player when I'm testing things. I didn't
> think that the players announce their name to the server but rather that
> the server remembers the association between Name and MAC address, so it
> looked like something else might be wrong.
> 
> That a playlist cannot be shuffled before starting playback is a bummer.
> I'm trying to work around that by concatenating the stream command +
> Alexa shuffle + Alexa next (in an Alexa routine) but it doesn't work
> because whatever comes after "playlist" is interpreted as part of the
> name of the playlist. And Alexa doesn't allow two actions with the same
> skill in one routine. So it really looks like there is no way of getting
> a playlist played in random order without manually issuing the commands
> every time.

Of the 14 Echos I've owned over time, two had microphones go bad so
Alexa misinterpreted a lot of my commands (they were both 2nd generation
Echo Dots). That might be your issue too because I agree there's not
much can go wrong with just saying 2 words. You can try 'Simon Says'
with a longish sentence (she reads back what you say). For example,
"Alexa, Simon Says this is a test of the microphone in my device". If
the audio stutters, you know you have a hardware problem.

Network Clients don't have a MAC address. The playerId of a player is
indeed usually its MAC address but in the case of a network client, the
playerId is the text after the ?player=-whatever -in the /stream.mp3
endpoint.

I might be able to add a 'shuffled' qualifier to the StreamPlaylist
command. That would have to be an an exact syntax where you'd say
'stream the playlist -whatever- *shuffled*'. Not a natural flow of words
but it would work. I'll do all that after the current certification
submission passes because I can't touch the live skill at the moment or
risk rejection. Amazon normally certifies in 1-2 days but it's been over
a week already so they are apparently slow due to Covid understaffing.



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-02-01 Thread philchillbill


MrC wrote: 
> 
> First and foremost, I want to say how much I appreciated your nicely
> designed software and web content, and your overall superb support for
> everyone here.  This is the first mondo-thread where I read every post
> from 1 to n.  Great work, and thank you.

Good to hear :cool:

MrC wrote: 
> 
> - For installation, the only issue I had was failure of the page
> redirects to enable the authorization of the skill.  I figured it out,
> but it just didn't work via the Alexa app.  The Alexa app (on iOS) would
> pop open the internal browser, but credentials never moved past the
> Authorizing screen - it just spun forever.  So I managed this elsewhere.

Good point. The docs used to say not to try it from the app but that got
removed in a pare-down. I'll put it back in.

MrC wrote: 
> 
> - The docs are still a bit confusing as to which credentials are
> supposed to be entered.  This should be made crystal clear and
> unambiguous.

In reality, what other credentials might even be relevant? See
https://mediaserver.smartskills.tech/ac-link-lms.html. It already says "
Type the username and password you previously chose in the
configurator". How could that be clearer?

MrC wrote: 
> 
> - The entire reason for us to use MediaServer + LMS Lite was so that my
> wife could quickly start playback, and control, her choice of radio
> streams (she doesn't do much playback of our audio rips, since she can't
> recall at a moment what we have, nor does she think about or engage with
> music in this way).  But to do this as a one-shot required me to
> configure Routines for each favorite station.  Obviously this method
> severely limits playback choices.

With LMS-lite, a mere "Alexa, favorite three on Kitchen" will play
favorite number 3 on your Kitchen player. That's just 5 words. 

MrC wrote: 
> 
> - Alexa had a very difficult time hearing words while audio volume was
> sufficiently high.  In fact, it's easy to say, she just couldn't hear,
> or discern our commands while some talk show was playing.  The whole
> house speakers in, say the kitchen, have enough energy that Alexa was
> essentially unable to hear, sans shouting.

Indeed. 

MrC wrote: 
> 
> - The required command language for various controls felt too unnatural
> for my wife, robotic, and required a lot of memorization of what would
> work, what would not, and under which circumstances to use certain
> directives, verbs, nouns, and prepositions.  I would have had to post a
> cheat sheet for her.  And that would work for one room only, requiring
> that she uses different commands in other rooms.  Ultimately, she'd like
> to say "Play BBC World News" to get playback in any room she was in,
> just like she can with the Echo's.  So, it was a dead end, requiring too
> much customization, per room, and franking too much talking.  So
> convenience and ease of use prevailed over better audio.  And finally on
> this point, she has a better tool at her disposal to play anything - she
> calls on me to make it happen.

We cannot reduce it to just "Play BBC World News" because that could
potentially mean too many things. Is that a -favorite -radio station? Is
it an -album -by Blur? Is it a -song -by Rod Stewart? It seems obvious
to a human that this is a radio station, but the AI in voice assistants
needs to disambiguate. The closest I can get you (without disappointment
by targeting the wrong thing) is "Alexa, tell MediaServer to play
favorite BBC Radio Three". Think of it as "Darling, tell the Milk Man we
need 2 extra milks today".

MrC wrote: 
> 
> - MediaServer has many commands, and capabilities, most of which we
> would never use.  We'd never stream via LMS to our Echo devices, or
> other targets.  Every room has it's own set of speakers, controlled by
> the whole house audio system.  So it would have been nice to disable all
> commands for things we would never use, and avoid the mistaken playback
> on Echo devices.  We found too many times that Alexa would play to, or
> control, the local Echo and not do what we wanted.  I would be great if
> there was a configuration that could disable certain commands, so that
> any requests for Help could return only the enabled / available
> commands.   This would have greatly help present a simple view which
> might have worked better for my wife.  I'm pretty sure this is outside
> of your control with a skill.

The way Alexa works is that she hears what you say, decides on a skill
that can handle it, and passes the parameters to the skill. If the
commands were stripped from MediaServer but nevertheless spoken by the
user, Alexa would merely redirect to a different skill (or music
service) to process. So Amazon Music or TuneIn (as fallbacks) would be
reacting instead of MediaServer, but it would still be a mess. Fact is,
voice assistants (as you point out) need the user to remember pretty
exact syntax or it's game-over.

MrC wrote: 
> 
> - We found MediaServer / Alexa would not remember the assumed player. 
> 

Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-31 Thread chaug

philchillbill wrote: 
> >   > 
  -  "Alexa, tell MediaServer to stream my -whatever- playlist".
  > Subsequently: "Alexa, shuffle". You cannot do it with a single
  > combined command. And it will not persist, because AlexaPlayers are
  > temporary/ephemeral. An LMS limitation.
  -  It's not only pronunciation, it's pacing. If you speak too slowly
  > she assumes you broke off the command before you complete it. Too
  > fast and she will miss pieces. Background noise doesn't help. Any
  > skill has those problems. A workaround until you get used to keeping
  > her happy is to 'open' the skill so you're in a session rather than
  > doing a one-shot. And look at the Echo while speaking to it. That
  > way, the skill has her attention and she's (hopefully) not going to
  > send your command to some other skill.
  -  Getting audio from LMS to an Echo is not the same as from LMS to
  > a squeezebox. It all goes via /stream.mp3 and has to be transcoded.
  > An Echo can handle anything you throw at it but LMS cannot stream
  > anything other than mp3 (LMS is the limiting factor here). It's very
  > likely a transcoding issue (I presume you have LAME installed?).
  > Visit e.g. the -h t t p://:9000/stream.mp3?player=Test-
  > endpoint from a browser and play some stuff in the newly-created
  > 'Test' player from the LMS GUI. I'll bet the sources/tracks that
  > fail with the Echo also produce silence in the browser.
  -  AlexaPlayers are -network clients- to LMS, not regular players.
  > They appear and disappear. However, they always get the same name
  > when created (Alexa-x, where the 'x' is constant). To
  > protect your privacy, Amazon does not allow ANY skill to request the
  > name you gave to your Echo in the app — imagine if you called it
  > "Bathroom Echo", skill developers would know you had a bathroom in
  > your house ! :rolleyes: What problem would it solve for you if the
  > names were remembered by LMS? Maybe you mean that the players should
  > be permanent so that their settings persisted? Well, that would
  > require @philippe to create a bridge for them...
  > > > 

I don't see how the speed of my commands is a source of error. I speak
at the same pace as you do in your demonstration video (which is good,
btw. Very nice to get an idea of the app). Besides, there is not much
pacing involved in "Alexa shuffle" or "Alexa, next". Background noise
can be safely excluded too when I'm in the room by myself, with no noise
source anywhere and my standing about half a meter away from the Echo
dot. There is something else going on here.

I will check the test-player next time when the echo dot doesn't want to
play something. 

I suppose it's not a big problem when the custom names for my echo dots
don't persist. The reason I was trying to do it was so that I don't have
to remember which is which player when I'm testing things. I didn't
think that the players announce their name to the server but rather that
the server remembers the association between Name and MAC address, so it
looked like something else might be wrong.

That a playlist cannot be shuffled before starting playback is a bummer.
I'm trying to work around that by concatenating the stream command +
Alexa shuffle + Alexa next (in an Alexa routine) but it doesn't work
because whatever comes after "playlist" is interpreted as part of the
name of the playlist. And Alexa doesn't allow two actions with the same
skill in one routine. So it really looks like there is no way of getting
a playlist played in random order without manually issuing the commands
every time.



*Server*: LMS 8.1.1 on an Ubuntu 18.04 virtual machine
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: Material Skin (Web UI), but also SqueezePad
(iOS), Squeezecontroller (Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Multi Library

chaug's Profile: http://forums.slimdevices.com/member.php?userid=47641
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-31 Thread MrC


Hey Phil,

Wanted to give some feedback.

We recently tested our MediaServer (and LMS Lite) to see how it might
fit into our whole house audio system w/2 SB Touch devices.

First and foremost, I want to say how much I appreciated your nicely
designed software and web content, and your overall superb support for
everyone here.  This is the first mondo-thread where I read every post
from 1 to n.  Great work, and thank you.

Ultimately, however, we found that voice control of our systems in this
fashion would not work for us.  Much of this has to do with things that
are beyond your control.  But here are the issues we encountered, just
as FYIs:

- For installation, the only issue I had was failure of the page
redirects to enable the authorization of the skill.  I figured it out,
but it just didn't work via the Alexa app.  The Alexa app (on iOS) would
pop open the internal browser, but credentials never moved past the
Authorizing screen - it just spun forever.  So I managed this
elsewhere.

- The docs are still a bit confusing as to which credentials are
supposed to be entered.  This should be made crystal clear and
unambiguous.

- The entire reason for us to use MediaServer + LMS Lite was so that my
wife could quickly start playback, and control, her choice of radio
streams (she doesn't do much playback of our audio rips, since she can't
recall at a moment what we have, nor does she think about or engage with
music in this way).  But to do this as a one-shot required me to
configure Routines for each favorite station.  Obviously this method
severely limits playback choices.

- Alexa had a very difficult time hearing words while audio volume was
sufficiently high.  In fact, it's easy to say, she just couldn't hear,
or discern our commands while some talk show was playing.  The whole
house speakers in, say the kitchen, have enough energy that Alexa was
essentially unable to hear, sans shouting.

- The required command language for various controls felt too unnatural
for my wife, robotic, and required a lot of memorization of what would
work, what would not, and under which circumstances to use certain
directives, verbs, nouns, and prepositions.  I would have had to post a
cheat sheet for her.  And that would work for one room only, requiring
that she uses different commands in other rooms.  Ultimately, she'd like
to say "Play BBC World News" to get playback in any room she was in,
just like she can with the Echo's.  So, it was a dead end, requiring too
much customization, per room, and franking too much talking.  So
convenience and ease of use prevailed over better audio.  And finally on
this point, she has a better tool at her disposal to play anything - she
calls on me to make it happen.

- MediaServer has many commands, and capabilities, most of which we
would never use.  We'd never stream via LMS to our Echo devices, or
other targets.  Every room has it's own set of speakers, controlled by
the whole house audio system.  So it would have been nice to disable all
commands for things we would never use, and avoid the mistaken playback
on Echo devices.  We found too many times that Alexa would play to, or
control, the local Echo and not do what we wanted.  I would be great if
there was a configuration that could disable certain commands, so that
any requests for Help could return only the enabled / available
commands.   This would have greatly help present a simple view which
might have worked better for my wife.  I'm pretty sure this is outside
of your control with a skill.

- We found MediaServer / Alexa would not remember the assumed player. 
Trying to figure out when it would, would not, was an exercise in
futility for us.  It would have been nice to be able to configure the
system to know about one and only one device, a single Touch (we have 2
in our whole house audio rack, and I select which I want to use at any
given time).  In this model, there could never be mistakes as to which
player was getting the command (albeit, Alexa does tend to want do
insert herself into the audio playback).  And if MediaServer could then
assume that player entirely, that would have helped.

- MediaServer - The skill name itself kept feeling like too many
syllables (its also a "word" that requires much mouth/tongue gymnastics,
and with quick or slurred speech, was often mistaken).  At 5 syllables
just for the skill name, and then all those for the commands, it felt
like there was so much talky-talky, back and forth, the entire voice
model was far more cumbersome and error-prone than just walking over to
the kitchen's iPad and using Material Skin for command / playback
selection (and there are no mistakes, repeated commands doing this), or
just using the kitchen's Echo directly.

- LMS Lite - This was used only to turn on / of the whole house audio
amp, and for Stop, Pause.  And this requires that our Elan system was
programmed to support certain Alexa skills.  It also required me to
create the Routines I mentioned above 

Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-31 Thread philchillbill

chaug wrote: 
> 
> >   > 
  - How can I start streaming an LMS-playlist in shuffle mode (so that
  > it starts with a different track every time)
  - What am I doing wrong with the no-invocation commands? I can
  > confidently say that my english pronounciation is in no way unusual
  > or difficult to understand. Alexa understands me fine all the time,
  > except when using the MediaServer app. In fact, the problem exists
  > not just with no-invocation commands. It also occurs when I try to
  > invoke a mediaserve one-shot command, Alexa never gets the entire
  > command. For example, when I say "Alexa, tell media server to play
  > favourite Amina 8", most of the time, she will either say nothing or
  > "Say a mediaserver command".
  - What might be the reason that skipping to the next song will
  > sometimes lead to silence despite the track actually being streamed
  > by LMS? My best guess is that it has to do with encoding. This is
  > happening on a youtube playlist and I believe youtube tracks
  > sometimes use different codecs. But since it is LMS streamingt to
  > Alexa, I would still blame LMS/the plugin for not transcoding into a
  > codec that Alexa understands.
  - Is there any way of making LMS remember the name of the Alexa
  > players?
  > > > 

  
-  "Alexa, tell MediaServer to stream my -whatever- playlist".
  Subsequently: "Alexa, shuffle". You cannot do it with a single
  combined command. And it will not persist, because AlexaPlayers are
  temporary/ephemeral. An LMS limitation.
-  It's not only pronunciation, it's pacing. If you speak too slowly
  she assumes you broke off the command before you complete it. Too fast
  and she will miss pieces. Background noise doesn't help. Any skill has
  those problems. A workaround until you get used to keeping her happy
  is to 'open' the skill so you're in a session rather than doing a
  one-shot. And look at the Echo while speaking to it. That way, the
  skill has her attention and she's (hopefully) not going to send your
  command to some other skill.
-  Getting audio from LMS to an Echo is not the same as from LMS to a
  squeezebox. It all goes via /stream.mp3 and has to be transcoded. An
  Echo can handle anything you throw at it but LMS cannot stream
  anything other than mp3 (LMS is the limiting factor here). It's very
  likely a transcoding issue (I presume you have LAME installed?). Visit
  e.g. the -h t t p://:9000/stream.mp3?player=Test- endpoint from
  a browser and play some stuff in the newly-created 'Test' player from
  the LMS GUI. I'll bet the sources/tracks that fail with the Echo also
  produce silence in the browser.
-  AlexaPlayers are -network clients- to LMS, not regular players.
  They appear and disappear. However, they always get the same name when
  created (Alexa-x, where the 'x' is constant). To protect your
  privacy, Amazon does not allow ANY skill to request the name you gave
  to your Echo in the app — imagine if you called it "Bathroom Echo",
  skill developers would know you had a bathroom in your house !
  :rolleyes: What problem would it solve for you if the names were
  remembered by LMS? Maybe you mean that the players should be permanent
  so that their settings persisted? Well, that would require @philippe
  to create a bridge for them...



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-31 Thread chaug


I'm desperately trying to get Alexa to stream a playlist (to Alexa
player) in shuffle mode but I can't figure out how to do it. It does
play the playlist but it always starts at the beginning. When I then say
"Alexa, shuffle" she doesn't recognize the command a lot of the times
and when she does, she says "Shuffle on", yay! If I then say "Alexa,
next", she doesn't recognise the command. When I say "Alexa, skip" she
says "Next" and does indeed play the track. Except, sometimes she
doesn't. She just stops playing and the next track never starts. Except
that it does show as playing on the LMS web-UI. I hoped that once I set
the Alexa player on shuffle, it would stay there and next time I play
that playlist, it will shuffle, but no. I noticed that when I change the
name of the "ALEXA-*" player to something else, LMS (or Alexa?) will
eventually forget that name and go back to "ALEXA-*", so I assume
that this forgetfulness is also the reason why the shuffle state doesn't
persist.

So I have four questions (relating to each of the four issues just
mentioned): 

  
- How can I start streaming an LMS-playlist in shuffle mode (so that
  it starts with a different track every time)
- What am I doing wrong with the no-invocation commands? I can
  confidently say that my english pronounciation is in no way unusual or
  difficult to understand. Alexa understands me fine all the time,
  except when using the MediaServer app. In fact, the problem exists not
  just with no-invocation commands. It also occurs when I try to invoke
  a mediaserve one-shot command, Alexa never gets the entire command.
  For example, when I say "Alexa, tell media server to play favourite
  Amina 8", most of the time, she will either say nothing or "Say a
  mediaserver command".
- What might be the reason that skipping to the next song will
  sometimes lead to silence despite the track actually being streamed by
  LMS? My best guess is that it has to do with encoding. This is
  happening on a youtube playlist and I believe youtube tracks sometimes
  use different codecs. But since it is LMS streamingt to Alexa, I would
  still blame LMS/the plugin for not transcoding into a codec that Alexa
  understands.
- Is there any way of making LMS remember the name of the Alexa
  players?



*Server*: LMS 8.1.1 on an Ubuntu 18.04 virtual machine
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: Material Skin (Web UI), but also SqueezePad
(iOS), Squeezecontroller (Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Multi Library

chaug's Profile: http://forums.slimdevices.com/member.php?userid=47641
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-27 Thread Peter Galbavy


Thanks for the detailed diagnostics and suggestions. Timezones mean that
I am too full of dinner and watching TV to check everything today, but
will go through it all tomorrow morning (my time).



Peter Galbavy's Profile: http://forums.slimdevices.com/member.php?userid=32718
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-26 Thread philchillbill

Peter Galbavy wrote: 
> Thanks for the pointers, been there done those; Specifically:
> 
> I tried "alexa, stream the album songs from the north" and she replies
> correctly and the album art appears. LAME is installed (docker container
> on a Synology) and - this is the fun bit - when I the open the
> /stream.mp3 URL in my browser (on the same reverse proxied URL) is both
> plays *and* a new player appears in LMS called Alexa-X - but this
> player is only there when I am manually streaming to my browser. When I
> stop and ask the Echo Show to once again stream, artwork appear but no
> autio and no player in LMS web interface.
> 
> In terms of the "assume" command, I have followed the docs and tried
> variations - my reading implies that when you say "alexa, tell media
> server to assume the lounge player" is somehow enabling that specific
> Echo Show to stream as a new player in LMS called "Lounge" but perhaps I
> have missed a step? It just says "I can't find a player called lounge"
> or whatever other room is misheard.
> 
> I am not (yet) a subscriber as I want to know if this works, so the
> Australia bit is more the location - I am normally in the UK and my root
> Amazon account is UK based.

You cannot assume an AlexaPlayer (Echo) no matter what its name (I'll
amend the docs to mention that — thanks) and there's even no need to.
Skills do not have access to the friendlyName you assigned to your Echo
such as e.g. Lounge Echo — all Amazon provides us is a huge deviceId
string which I chop 5 characters from to give you the Alexa-x name
seen in the LMS GUI when streaming. However, even without knowing a
name, Mediaserver's 'Stream' commands -always -target the Echo you are
talking to. It's actually the only way Amazon allows a skill to start
music playing on an Echo (a skill cannot ask one Echo to play music on
another one — only the big music services are 'allowed' do that).

I'm guessing that the lack of audio is related to your docker or proxy
situation. After your attempted Stream command (where you were told
"Streaming 11 'Musical' tracks..." but heard silence), the logs show a
MEDIA_ERROR_SERVICE_UNAVAILABLE playback error:


Code:


  "request": {
  "type": "AudioPlayer.PlaybackFailed",
  "requestId": "amzn1.echo-api.request.d16f8e14-8539-4c51-9416-4dfc7f351d02",
  "timestamp": "2022-01-26T22:18:24Z",
  "locale": "en-US",
  "currentPlaybackState": {
  "offsetInMilliseconds": 0,
  "token": "1643235490915",
  "playerActivity": "STOPPED"
  },
  "error": {
  "message": "Device playback error",
  "type": "MEDIA_ERROR_SERVICE_UNAVAILABLE"
  },
  "token": "1643235490915"
  }
  



That would indicate that the Echo didn't see a valid audio stream at the
address that LMS resolves to in your LAN. 

The normal 'Play' command just instruct LMS to talk to your players and
feed them as LMS does. The 'Stream' commands are different by necessity
because the Echo needs to be fed with a stream *from a URL*, much like
internet radio. LMS is told to start up a /stream.mp3 network client and
then the Echo is pointed at that stream locally within your LAN. That
last part must be failing due to your proxy/docker setup. The
/stream.mp3 endpoint has to be unprotected and reachable over http
without basic auth in your LAN for it to work. 

Can you share any details of your proxy or docker config? Any reason you
didn't go the ngrok route? Earlier, you got a bad-SSL cert error (EPROTO
140716538210176:error:1408F10B:SSL routines:ssl3_get_record:wrong
version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332) so
it may also be that Amazon does not trust your proxy. You subsequently
re-linked the skill without a port number in the https URL which
silenced the error, but Amazon may still have issues with your proxy.
Amazon has whitelisted ngrok which is why people who go that route never
have issues like this.



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-26 Thread Peter Galbavy


Thanks for the pointers, been there done those; Specifically:

I tried "alexa, stream the album songs from the north" and she replies
correctly and the album art appears. LAME is installed (docker container
on a Synology) and - this is the fun bit - when I the open the
/stream.mp3 URL in my browser (on the same reverse proxied URL) is both
plays *and* a new player appears in LMS called Alexa-X - but this
player is only there when I am manually streaming to my browser. When I
stop and ask the Echo Show to once again stream, artwork appear but no
autio and no player in LMS web interface.

In terms of the "assume" command, I have followed the docs and tried
variations - my reading implies that when you say "alexa, tell media
server to assume the lounge player" is somehow enabling that specific
Echo Show to stream as a new player in LMS called "Lounge" but perhaps I
have missed a step? It just says "I can't find a player called lounge"
or whatever other room is misheard.

I am not (yet) a subscriber as I want to know if this works, so the
Australia bit is more the location - I am normally in the UK and my root
Amazon account is OK based.



Peter Galbavy's Profile: http://forums.slimdevices.com/member.php?userid=32718
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-26 Thread philchillbill

Peter Galbavy wrote: 
> I've gone through a somewhat convoluted set-up process, using my own
> proxy, and while the skill can control the player on my PC I cannot get
> it to either stream audio or assume a player for my Echo Show 8. If I
> tell media server to "assume the lounge player" is just says "cannot
> find a player called lounge" - I have read back and forth and can't see
> any other step required to "enable" the Echo Show as a player. Streaming
> shows things in the screen, but silence.
> 
> My Echo Show is in Australia and the skill complained about languages,
> so I switched to both US and UK english to test. Can "Australian" be
> added to the list of supported languages please?
> 
> Would it not be cleaner to have an additional explicit command to enable
> an Echo (Show) as a player rather than "assume" which also seems to pick
> the default player for commands?

If you ask it to list your players, is there one called Lounge among
them? What exact command did you try in order to stream? Silence when
streaming usually means the LAME encoder is missing from your LMS
install. That’s in the docs. Also, you would never assume an Echo as
that command is only for squeezeboxes. When you use any stream command
then the audio sink is always the Echo you’re talking to. 

Amazon does not allow skills with subscriptions in Australia.



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-26 Thread Peter Galbavy


I've gone through a somewhat convoluted set-up process, using my own
proxy, and while the skill can control the player on my PC I cannot get
it to either stream audio or assume a player for my Echo Show 8. If I
tell media server to "assume the lounge player" is just says "cannot
find a player called lounge" - I have read back and forth and can't see
any other step required to "enable" the Echo Show as a player. Streaming
shows things in the screen, but silence.

My Echo Show is in Australia and the skill complained about languages,
so I switched to both US and UK english to test. Can "Australian" be
added to the list of supported languages please?

Would it not be cleaner to have an additional explicit command to enable
an Echo (Show) as a player rather than "assume" which also seems to pick
the default player for commands?



Peter Galbavy's Profile: http://forums.slimdevices.com/member.php?userid=32718
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-26 Thread Peter Galbavy


Sorry for the potential FAQ, but this is a very long thread and there is
nothing in the first few pages;

Just populating a holiday home with Echo Show 8s (2nd gen) and thought
it would be nice to have LMS integration. I do not under any
circumstances whatsoever however want to use "some random guy's" cloud
proxy service - I am quite happy with my in-house network security and
my own remote access controls. I am happy to pay for the "skill" but
without the random guy of the street's proxy.

Can I set this up with my own access methods? Please don't say it's too
complicated - I've been building weird IP networks since the dawn of
time.

I have to trust Amazon - sadly - but that's the limit of my desire for
this.



Peter Galbavy's Profile: http://forums.slimdevices.com/member.php?userid=32718
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-25 Thread Grizzly

philchillbill wrote: 
> The Stream commands use the /stream.mp3 endpoint in LMS so that means
> that LMS needs to be able to transcode your flacs to mp3. The echo can
> handle FLAC no problem (these days) but LMS cannot stream anything other
> than mp3. 
> 
> LMS should do that on the fly so if it’s not then it’s usually just that
> the LAME decoder is not installed on your system or your transcoding
> rules are messed up. For the avoidance of doubt, that’s all in respect
> of LMS and not the Echo or the skill. 
> 
> See https://wiki.slimdevices.com/index.php/LAME_for_transcoding.html


Many thanks for that. All now working thankyou.



Grizzly's Profile: http://forums.slimdevices.com/member.php?userid=21095
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-24 Thread philchillbill


Thanks to @chaug on the LMS-lite thread, there's now a documented
procedure for subscribing when Alexa tells you that subscriptions are
not available in your country/region.

See
https://mediaserver.smartskills.tech/mediaserverhelp.html#section-7-1-2
for a how-to.



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-16 Thread philchillbill

Grizzly wrote: 
> Excellent addition to my LMS setup thankyou. I was just catching up on
> the forum about developments etc and noticed the Stream command so
> thought I would check it out. Whilst everything appears to work. I do
> not get any output from my Echo (Show 8). Cover art is displayed on the
> Echo and lms shows the Alexa as a player however it doesn't start
> playing and can't be started by playing from LMS. My entire music
> collection is Flac. Does the Echo need to convert it on the fly to MP3?
> Any guidance of what I may need to set / check would be very welcome -
> Thanks again for a great product, continues to get better.

The Stream commands use the /stream.mp3 endpoint in LMS so that means
that LMS needs to be able to transcode your flacs to mp3. The echo can
handle FLAC no problem (these days) but LMS cannot stream anything other
than mp3. 

LMS should do that on the fly so if it’s not then it’s usually just that
the LAME decoder is not installed on your system or your transcoding
rules are messed up. For the avoidance of doubt, that’s all in respect
of LMS and not the Echo or the skill. 

See https://wiki.slimdevices.com/index.php/LAME_for_transcoding.html





philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-16 Thread Grizzly


Excellent addition to my LMS setup thankyou. I was just catching up on
the forum about developments etc and noticed the Stream command so
thought I would check it out. Whilst everything appears to work. I do
not get any output from my Echo (Show 8). Cover art is displayed on the
Echo and lms shows the Alexa as a player however it doesn't start
playing and can't be started by playing from LMS. My entire music
collection is Flac. Does the Echo need to convert it on the fly to MP3?
Any guidance of what I may need to set / check would be very welcome -
Thanks again for a great product, continues to get better.



Grizzly's Profile: http://forums.slimdevices.com/member.php?userid=21095
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-15 Thread philchillbill

I have several new intents lined up for certification so now would be a
good time to tweak any misfirings in the voice model. 

I find that Alexa often misunderstands me when I use the ‘assume’ and
‘ungroup’ commands. 

If you have any examples of commands that she often misunderstands for
you, let me know here and I can tweak the model before it all gets
certified and hence frozen.



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-11 Thread philchillbill


Tweaks:

* The ImageList APL template can now split the screen and start a new
row of Tiles per-artist when multiple artists match a requested song.
* When queueing multiple variations of a requested track, the queued vs
non-queued variants of the track appear above and below a scrollable
split.
* The text of the tracknum/genre/year/type is a whiter shad of gray.



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-10 Thread philchillbill


Tweaks:

* Just added beep-when-touched functionality to the buttons on the
ImageList, TextList and FavList APL screens and to the buttons on the
PlayerControls popup.
* Fixed an issue introduced yesterday when the prev/next buttons on the
PlayerControls popup were used (the NowPlaying screen was inadvertently
interrupted by a ShowTextual screen which should have been suppressed).



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-10 Thread philchillbill


mechaMecha wrote: 
> I see. Thanks for the quick reply! The way I use Tidal and Qobuz most of
> the time is to check out artists and albums that I don't have in my
> local music library. I don't generally like to listen to the same songs
> over and over again. Is there any hope that this skill may eventually
> allow me to ask for a specific artist or album to play via Tidal or
> Qobuz?

That depends entirely on what the Online Music Services plugin exposes
in respect of Tidal and Qobuz. All this skill does is talk to LMS
through the jsonrpc.js interface. Anything exposed is fair game but
otherwise I have no access to it.



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-10 Thread philchillbill


andrewhess wrote: 
> I have been referring to that list, so at least I have that going for
> me. :)
> 
> I have Spotty on the LMS home menu, but I've renamed it to Spotify (not
> sure if that matters). 
> 
> I'll play around when I get home so I'll have more detailed info (or so
> I can let you know that I figured it out).
> 
> Loving it so far!

Sorry I cannot help much because I'm not a Spotify user myself. The name
on the home menu would not matter. I have toyed with playing Spotify
playlists though when developing things. They show up as e.g. "Spotify:
Bryan Adams" when I ask to List Playlists. If I just say "*Play *my
Bryan Adams *playlist*", the skill will check all playlists (local,
spotify, deezer, ...) for something called Bryan Adams and if more that
one item matched, local LMS would 'win'. If you use the "*Fetch *Bryan
Adams" syntax, it makes sure there's only a match in Spotify items and
ignores LMS local stuff. That might help at least with playlists.



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-10 Thread mechaMecha

philchillbill wrote: 
> There are no dedicated commands for Tidal and Qobuz, but any items
> visible to LMS via the online music service integration are accessible
> through all the regular skill commands for playing local LMS library
> items. For example, if you have a playlist called Chill on an online
> service, saying ‘Play my Chill playlist’ will play it.

I see. Thanks for the quick reply! The way I use Tidal and Qobuz most of
the time is to check out artists and albums that I don't have in my
local music library. I don't generally like to listen to the same songs
over and over again. Is there any hope that this skill may eventually
allow me to ask for a specific artist or album to play via Tidal or
Qobuz?



mechaMecha's Profile: http://forums.slimdevices.com/member.php?userid=72451
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-10 Thread andrewhess


I have been referring to that list, so at least I have that going for
me. :)

I have Spotty on the LMS home menu, but I've renamed it to Spotify (not
sure if that matters). 

I'll play around when I get home so I'll have more detailed info (or so
I can let you know that I figured it out).

Loving it so far!



andrewhess's Profile: http://forums.slimdevices.com/member.php?userid=68598
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-10 Thread philchillbill


andrewhess wrote: 
> I'm now realizing I may have been saying "Play  in Spotify" but
> perhaps it has to be "Spotty"? I want MediaServer to search Spotify for
> the album or song and play it.

Alexa is rather specific with syntax, so guessing what a command -might
-be is usually not a good idea. See the A-Z reference at
https://mediaserver.smartskills.tech/commandref/PlayAlbum.html#30. All
the commands are there with all their allowed spoken variations.

Are the Spotty items you want to play already exposed to LMS? If you
don't see a Spotify item inside an LMS view of the world, the skill will
never find it. It's not a Spotify skill.



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-10 Thread andrewhess


philchillbill wrote: 
> LMS-lite has no 'play xxx' commands at all so all it can do is transport
> commands. MediaServer can access any music items -already -visible in
> LMS. If you can see it in iPeng/Material/Default, you can just play it
> the same as with any local music file. What commands are you trying?

I'm now realizing I may have been saying "Play  in Spotify" but
perhaps it has to be "Spotty"? I want MediaServer to search Spotify for
the album or song and play it.



andrewhess's Profile: http://forums.slimdevices.com/member.php?userid=68598
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-10 Thread philchillbill


andrewhess wrote: 
> Any idea why I can't get Mediaserver or LMS-lite to play from Spotty? I
> thought that it would go to Spotify if the item wasn't in my personal
> library. I've also tried specifying Spotify, but that doesn't work
> either.

LMS-lite has no 'play xxx' commands at all so all it can do is transport
commands. MediaServer can access any music items -already -visible in
LMS. If you can see it in iPeng/Material/Default, you can just play it
the same as with any local music file. What commands are you trying?



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-10 Thread andrewhess

philchillbill wrote: 
> There are no dedicated commands for Tidal and Qobuz, but any items
> visible to LMS via the online music service integration are accessible
> through all the regular skill commands for playing local LMS library
> items. For example, if you have a playlist called Chill on an online
> service, saying ‘Play my Chill playlist’ will play it.

Any idea why I can't get Mediaserver or LMS-lite to play from Spotty? I
thought that it would go to Spotify if the item wasn't in my personal
library. I've also tried specifying Spotify, but that doesn't work
either.



andrewhess's Profile: http://forums.slimdevices.com/member.php?userid=68598
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-09 Thread philchillbill

mechaMecha wrote: 
> I've noticed that there are some brief mentions of this MediaServer
> skill being able to control Tidal and Qobuz, but I haven't seen anything
> specific about how to invoke commands to do so. I apologize if this
> information can be found somewhere in this thread, but I've done a bit
> of searching here and on the Smartskills site and came up empty.

There are no dedicated commands for Tidal and Qobuz, but any items
visible to LMS via the online music service integration are accessible
through all the regular skill commands for playing local LMS library
items. For example, if you have a playlist called Chill on an online
service, saying ‘Play my Chill playlist’ will play it.





philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-09 Thread mechaMecha


I've noticed that there are some brief mentions of this MediaServer
skill being able to control Tidal and Qobuz, but I haven't seen anything
specific about how to invoke commands to do so. I apologize if this
information can be found somewhere in this thread, but I've done a bit
of searching here and on the Smartskills site and came up empty.



mechaMecha's Profile: http://forums.slimdevices.com/member.php?userid=72451
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-09 Thread philchillbill


Some more APL tweaks:

* Progress bar is now the same color as the icons (wheat).
* Track *duration *in H:M:S appears in small text at the rightmost
extremity of the progress bar. Leading 0's are stripped.
* *Back *button is only shown when there is something to go back to.
* goBack behaviour is much improved and handles up to *4 screens*, with
no more 'wasted ' saving of screen refreshes as valid entries.
* Pressing any of the icon buttons produces a *chime sound* on your Echo
as audible confirmation that the touch-event registered. It can take a
while for the results if your Echo is busy with housekeeping under the
hood so this is a signal to be patient and wait for the command to
complete. 
* The little icons beside the *GENRE *and *YEAR *tags are now
touch-enabled and will load touch-enabled lists with up to 400 entries
of albums matching that genre or year. The 400 is empirical as I found
that too long a list was causing a System.ExceptionEncountered error.

Enjoy !



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-07 Thread philchillbill

andrewhess wrote: 
> That did it! It must have been the reboot -- I saw the ngrok address
> change and - bang - I've got Mediaserver! Lot's to play with here. Thank
> you so much!
> 
> Two small questions (I'm still reading through the thread, so apologies
> if it's already been covered):
> 
> >   > 
  - Can I rename the skill so I'm saying "Alexa, tell the stereo to
  > play"?
  - Can I set it up so "Alexa, play..." automatically uses the
  > mediaserver skill?
  > 
  > > > 
> 
> Thanks again for your help. I think this will be great!

Good to hear. Unfortunately, a skill can only have one invocation name
and it must be 2 or more words anyway so stereo would never work.
Luckily, we think we are saying MediaServer but Alexa thinks it’s Media
Server. You also cannot use a skill as if it were a music service so you
have to invoke. 

That said, if you really like the skill, get an Echo with screen and you
can leave out invocation after an initial command. That’s because having
stuff displayed by a skill keeps it ‘open’. 

The online docs will help you much more than reading this long thread.
Many, many things improved over the years so there’s no need to read
about past topics that are all no longer relevant.





philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-07 Thread andrewhess


That did it! It must have been the reboot -- I saw the ngrok address
change and - bang - I've got Mediaserver! Lot's to play with here. Thank
you so much!

Two small questions (I'm still reading through the thread, so apologies
if it's already been covered):

  
- Can I rename the skill so I'm saying "Alexa, tell the stereo to
  play"?
  
- Can I set it up so "Alexa, play..." automatically uses the
  mediaserver skill?
  
  

Thanks again for your help. I think this will be great!



andrewhess's Profile: http://forums.slimdevices.com/member.php?userid=68598
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-07 Thread philchillbill


Some minor APL tweaks:

* AlbumArtist is now shown in italics (if the tag is present)
* The progress bar changes to red if playback is paused or stopped
* The track-total is now shown in a smaller font than the curretn
track-index
* If the name of the genre is long enough to cause the display-line with
track/genre/year/type to overflow, the type is hidden



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-06 Thread philchillbill

andrewhess wrote: 
> Okay, that's weird. First, when I use my browser, I get:
> 36692
> 
> When I click beyond it, my username and password are not accepted. I did
> have a password with $'s, but took those out. Neither password worked.
> 
> ???
> 
> Should I redo the configurator?
> Oh, and no LMS passwords set.

Do you have some overactive internet security like Norton running? Never
seen that one. Ngrok is safe as houses. 

My script that links the skill for you just returns the response that it
receives from ngrok so something is up somewhere. No real need to redo
the configurator and get a new script if you have the capability to edit
the .sh file and change the pwd there. I’d say reboot, get a new
assigned tunnel url and retry in a different browser. If a browser will
not let you in then neither will the linking page.





philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-06 Thread andrewhess


philchillbill wrote: 
> Does your LMS have its own password possibility enabled?
> If so, that needs to be cancelled. Try your ngrok url in a browser with
> the credentials you entered in the configurator and see what error the
> browser gives you. It just leads to your :9000, after all.
> 
> 
> Edit: Are you using any weird characters in your password?

Okay, that's weird. First, when I use my browser, I get:
36692

When I click beyond it, my username and password are not accepted. I did
have a password with $'s, but took those out. Neither password worked.

???

Should I redo the configurator?


+---+
|Filename: Screenshot 2022-01-06 164436.png |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=36692|
+---+


andrewhess's Profile: http://forums.slimdevices.com/member.php?userid=68598
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-06 Thread philchillbill

andrewhess wrote: 
> Any idea what I'm doing wrong? I created the tunnel in ngrok and see it
> in my dashboard. I ran 'sh setup.sh' in my picoreplayer and it ran
> successfully. I am entering the username and password I created when I
> created the tunnel. I even looked in setup.sh to make sure the username
> and password were there. I'm even copying and pasting them, so I don't
> inadvertently misspell.
> 
> 
> 36681

Does your LMS have its ‘own’ password possibility enabled? If so, that
needs to be cancelled. Try your ngrok url in a browser with the
credentials you entered in the configurator and see what error the
browser gives you. It just leads to your :9000, after all.





philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-06 Thread andrewhess


Any idea what I'm doing wrong? I created the tunnel in ngrok and see it
in my dashboard. I am using the username and password I created when I
created the tunnel. I even looked in setup.sh and saw them there. I'm
even copying and pasting them, so I don't inadvertently misspell.

I think I've attached a screenshot. :confused:

36681


+---+
|Filename: Screenshot_20220106-114517_Chrome.jpg|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=36681|
+---+


andrewhess's Profile: http://forums.slimdevices.com/member.php?userid=68598
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-05 Thread philchillbill


36671

The skill's Now-Playing screen has a new button next to the progress-bar
(encircled in red in the image above). When you press it, a set of
Player Controls appears on the bottom of the screen for 15 seconds (or
until you click the little [X] in the top-right corner for immediate
closure).

36672

The buttons on the panel are for:

* previous
* play/pause (toggle)
* next, 
* repeat mode (sequences through 0, 1, 2 for off/song/playlist)
* shuffle (sequences through 0, 1, 2 for off/song/album)
* volume slider. 

When the player is muted, the slider is red and otherwise it's blue.
When you touch any of these controls, Alexa provides spoken feedback of
the action taken.

Enjoy !


+---+
|Filename: controls.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=36672|
+---+


philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-01 Thread philchillbill

36607

When you ask to play a named track, e.g. "Alexa, play the song
Cloudburst Flight" (by Tangerine Dream), the skill first searches for
all matches across your entire library. All variants with the same
base-title 'disappear' into a single queued variant that represents them
all. This is not always a great solution because sometimes we have track
variants which are in reality quite different but which share the same
base-title so there's no way of knowing based just on the tags.

For example. I get told that I have 2 variants of it, namely "Cloudburst
Flight" and "Cloudburst Flight 2008" and both of these queue for
playback. The oldest track year-wise with the shortest name will always
queue to play first, so in this case the version from the album Force
Majeure. However, if you look at the above (new) screenshot from an Echo
Show, I actually have 8 songs all called Cloudburst Flight with no
further title qualifiers like (2003) or (Live) or (Extended) or
whatever. The version from the album Cruise to the Edge is actually a
live version and quite different, but the skill does not 'know' that.
There was always the option to specify a particular album name when
asking for the song (Alexa, play the song Cloudburst Flight from the
album Cruise to the Edge). New is that we have a second option — namely,
the above screenshot will appear on Echo Show devices to *visualize all
variants of the track* and I have a few seconds to *tap one of the album
covers* if I want to play that variant instead of the 'calculated'
version. Saves having to specify fully at the outset.

36608

Also new is that the Help screen contains 3 new *buttons *which can be
used to open the Show's browser to the A-Z command reference page, to
the troubleshooting section of the setup documentation ('Solve'), or to
play a Vimeo video with many examples of using the skill ('Demo').
Incidentally, in the coming days, that video will get a refresh to
reflect all the recent changes around look-and-feel and the new touch
controls.

Enjoy !


+---+
|Filename: help.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=36608|
+---+


philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2021-12-29 Thread castalla

philchillbill wrote: 
> Great. Sorry I didn’t think of LAME earlier. I’ll add it to the
> Troubleshooting guide in the online help.

Good idea to add the tip to the guide.
Cheers.





castalla's Profile: http://forums.slimdevices.com/member.php?userid=15624
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2021-12-29 Thread philchillbill

castalla wrote: 
> and. SUCCESS!   Fav 1 (bbc from Global player) now playing with
> artwork and sound.

Great. Sorry I didn’t think of LAME earlier. I’ll add it to the
Troubleshooting guide in the online help.





philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2021-12-29 Thread castalla


castalla wrote: 
> That could be the problem.  I believe it's an extension - need to
> investigate.
> 
> Edit:  lame now installed now.  Will test later today (hospital visit
> for most of day)

and. SUCCESS!   Fav 1 (bbc from Global player) now playing with
artwork and sound.





castalla's Profile: http://forums.slimdevices.com/member.php?userid=15624
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2021-12-28 Thread castalla


philchillbill wrote: 
> Do you have Lame installed on your pi? Sounds like no transcoding
> happening.

That could be the problem.  I believe it's an extension - need to
investigate.





castalla's Profile: http://forums.slimdevices.com/member.php?userid=15624
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2021-12-28 Thread philchillbill

expectingtofly wrote: 
> I don't know anything about the how the Alexa skill works.  But in terms
> of Global player, the plugin is just providing direct links to the
> remote stream (most of them are Mp4), the plugin is not doing anything
> with them, so the plugin is not really involved there in terms of the
> Alexa skill.
> BBC sounds is more complex, but basically it is presenting an AAC stream
> from the server.
> 
> If the Alexa skill requires stream.mp3, is this a transcoding issue?

To get audio to emanate from the Echo itself, it needs to be pointed at
a URL to grab the audio stream from. The only way to do that from LMS is
via /stream.mp3. An Echo can handle any audio encoding you throw at it,
but LMS only streams mp3 so transcoding is indeed required on the LMS
end for e.g. OGG radio streams. 

This reminds me of when @chill first used the skill with pCP, his
install was missing LAME for some reason and he also had no sound until
he remedied that omission. I'll bet that's the issue here too — good
suggestion.



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2021-12-28 Thread philchillbill


castalla wrote: 
> Tried the browser route - small player shows but no sound.

Do you have Lame installed on your pi? Sounds like no transcoding
happening.





philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2021-12-28 Thread castalla


philchillbill wrote: 
> Well that would seem to indicate that your Show is not the issue. If you
> really want an icon then you can paste a *https* icon url into the
> favorites.opml file in your prefs folder. For LBC that would be
> https://herald.musicradio.com/media/b2aee6ab-1883-4cb5-867d-8d7fcfa1c451.png
> 
> I'm nearly sure that @staresy has at least some favorites working via
> plugins (I forget which) so it might be specific to some and not
> others.
> 
> You can test playback yourself at home from a browser. Try streaming a
> failed favorite and then quickly check
> http://192.168.1.4:9000/stream.mp3?player=Alexa-35F4Y in a browser. If
> you hear audio then it's down to your Echo and not LMS. If there's no
> audio then the plugin is not playing nicely with /stream.mp3.

Tried the browser route - small player shows but no sound.





castalla's Profile: http://forums.slimdevices.com/member.php?userid=15624
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2021-12-28 Thread expectingtofly


castalla wrote: 
> Okay firmware is latest. 
> 
> It seems that the only streaming Favs which work are those from tuneib. 
> Favs from Global Player and BBC Sounds refuse to play. 
> Global shows metadata but SOUNDS just gives a blank black screen.

I don't know anything about the how the Alexa skill works.  But in terms
of Global player, the plugin is just providingdirect links to the remote
stream (most of them are Mp4), the plugin is not doing anything with
them, so the plugin is not really involved there in terms of the Alexa
skill.
BBC sounds is more complex, but basically it is presenting an AAC stream
from the server.

If the Alexa skill requires stream.mp3, is this a transcoding issue?



Stuart McLean   

EXPECTINGTOFLY PLUGINS :

- *BBC Sounds* : 
  https://github.com/expectingtofly/LMS_BBC_Sounds_Plugin 
- *Virgin Radio (UK)* : 
  https://github.com/expectingtofly/LMS_Virgin_Radio_Plugin 
- *Times Radio* : 
  https://github.com/expectingtofly/LMS_TIMES_RADIO_PLUGIN 
- *Global Player (UK)* : 
  https://github.com/expectingtofly/LMS_GlobalPlayer_Plugin 
  
For BBC Sounds help see the 'BBC Sounds Wiki'
(https://github.com/expectingtofly/LMS_BBC_Sounds_Plugin/wiki).

expectingtofly's Profile: http://forums.slimdevices.com/member.php?userid=63263
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2021-12-28 Thread philchillbill


castalla wrote: 
> I used this as a fav:
> 
> http://media-ice.musicradio.com/LBCUKMP3Low
> 
> This works with sound and the wave bar artwork. 
> 
> Pity that Plugins are an issue. 
> 
> Thanks for the help.

Well that would seem to indicate that your Show is not the issue. If you
really want an icon then you can paste a *https* icon url into the
favorites.opml file in your prefs folder. For LBC that would be
https://herald.musicradio.com/media/b2aee6ab-1883-4cb5-867d-8d7fcfa1c451.png

I'm nearly sure that @staresy has at least some favorites working via
plugins (I forget which) so it might be specific to some and not
others.

You can test playback yourself at home from a browser. Try streaming a
failed favorite and then quickly check
http://192.168.1.4:9000/stream.mp3?player=Alexa-35F4Y in a browser. If
you hear audio then it's down to your Echo and not LMS. If there's no
audio then the plugin is not playing nicely with /stream.mp3.



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2021-12-28 Thread castalla


castalla wrote: 
> I'll try to find a direct url to test.

I used this as a fav:

http://media-ice.musicradio.com/LBCUKMP3Low

This works with sound and the wave bar artwork. 

Pity that Plugins are an issue. 

Thanks for the help.





castalla's Profile: http://forums.slimdevices.com/member.php?userid=15624
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2021-12-28 Thread castalla


philchillbill wrote: 
> Ok well then it must just be down to the combination of having to play
> via an LMS plugin and routing audio over /stream.mp3 is something that
> LMS does not support. There are often multiple urls possible for
> internet radio station so if you find one that does not need the
> plugin(s) it should work just fine.

I'll try to find a direct url to test.





castalla's Profile: http://forums.slimdevices.com/member.php?userid=15624
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2021-12-28 Thread philchillbill


castalla wrote: 
> Okay firmware is latest. 
> 
> It seems that the only streaming Favs which work are those from tuneib. 
> Favs from Global Player and BBC Sounds refuse to play. 
> Global shows metadata but SOUNDS just gives a blank black screen.

Ok well then it must just be down to the combination of having to play
via an LMS plugin and routing audio over /stream.mp3 is something that
LMS does not support. There are often multiple urls possible for
internet radio station so if you find one that does not need the
plugin(s) it should work just fine.



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2021-12-28 Thread castalla


philchillbill wrote: 
> The gray radio mast is being returned by LMS (the skill's own fallback
> radio icon is a yellow wave-pattern) from your
> http://lmsip:9000/imageproxy. No idea why it's a default icon instead of
> the real deal.
> 
> You can use Google to find how to check firmware version on your
> particular Show (the sub-menus move around from version to version). But
> pull down the Show's screen at the top and going for settings would
> likely reveal it.

Okay firmware is latest. 

It seems that the only streaming Favs which work are those from tuneib. 
Favs from Global Player and BBC Sounds refuse to play. 
Global shows metadata but SOUNDS just gives a blank black screen.





castalla's Profile: http://forums.slimdevices.com/member.php?userid=15624
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2021-12-28 Thread philchillbill


castalla wrote: 
> Still getting the radio mast. 
> 
> The LBC favourite shows the full metadata with logo but totally silent. 
> 
> How do I check the Show is upto date?
> 
> Edit::  added another favourite from Global Player.  Same outcome
> metadata but no sound.

The gray radio mast is being returned by LMS (the skill's own fallback
radio icon is a yellow wave-pattern) from your
http://lmsip:9000/imageproxy. No idea why it's a default icon instead of
the real deal.

You can use Google to find how to check firmware version on your
particular Show (the sub-menus move around from version to version). But
pull down the Show's screen at the top and going for settings would
likely reveal it.



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


  1   2   3   4   5   6   7   8   9   10   >