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

2021-01-28 Thread philchillbill
I agree with you that going against the fast and lite philosophy of pCP should be avoided. Even 15s is unacceptable. I’ve been contemplating for a while now to have a page on my site where you answer a question or 2 and select a radio button for your platform. Then a PHP script builds a zip that

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

2021-01-28 Thread philchillbill
chill wrote: > One reason that Paul- was reluctant to make an ngrok package is "Binary > re-distribution licensing is not clear", so I guess you'll have to > figure out if that's something you want to do. > > If you want to go ahead, I can prepare the two tcz files if you wish. Thanks. I'll re

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

2021-01-28 Thread philchillbill
chill wrote: > Understandably, Paul doesn't want to include the ngrok executable as a > package in pCP since it appears to be closed source. > > So pCP users have a choice of where to put the ngrok executable: > > 1) Place it in /home/tc/.local/bin > Pro: This will mean that it's in the execut

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

2021-01-27 Thread philchillbill
chill wrote: > Well indeed both of those details were worth investigating. > > 1) ngrok can be run as root by simply including the path to the yml > configuration file with the --config option, e.g.: > > Code: > > ngrok start mediaservertunnel --config=/home/tc/.ngrok2/

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

2021-01-27 Thread philchillbill
chill wrote: > My Echo Dot arrived today, so I was able to subscribe to try out the > full set of commands. I was impressed that Alexa was able to find my > 'My Shazam tracks' playlist on Spotty. > > I moved the ngrok setup to another pCP device and it was very > straightforward - I just had

Re: [SlimDevices: Plugins] Use Squeezebox Boom as default media player for Google Home?

2021-01-27 Thread philchillbill
I added the favorite functionality to LMS-lite a while back. It knows which skill to use because of the smart home discovery process. I changed nothing in the last 24 hours though so what worked yesterday should still work today. Somehow, your setup is confused about what player is what and what

Re: [SlimDevices: Plugins] Use Squeezebox Boom as default media player for Google Home?

2021-01-27 Thread philchillbill
I added the favorite functionality to LMS-lite a while back. It knows which skill to use because of the smart home discovery process. I changed nothing in the last 24 hours though so what worked yesterday should still work today. Somehow, your setup is confused about what player is what and what

Re: [SlimDevices: Plugins] Use Squeezebox Boom as default media player for Google Home?

2021-01-27 Thread philchillbill
itm wrote: > "Pause" and "Resume" work OK. If the Boom is switched off then > "Favourite 6" turns it on, but doesn't select Preset 6 (it just > continues playing whatever it was playing before). "Preset 6 on Kitchen" > does the same. So it seems that the command is being recognised in some > way

Re: [SlimDevices: Plugins] Use Squeezebox Boom as default media player for Google Home?

2021-01-27 Thread philchillbill
didjean wrote: > Argh Feeling so close and so far at the same time :-). I have > dropped the ngrok arm file on the root on max2paly PI. have tried to run > the /ngrok authtokenexecute but doesn't work, I get a permission not > granted message. Did you chmod +x the ngrok.exe file?

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

2021-01-27 Thread philchillbill
chill wrote: > It was from the first part of your instructions 'II. ngrok'. I only > skimmed the following section, where the 'start' option is clear, > because I wasn't using systemd. Oh well, learned that lesson now. > > New problem. Your account linking page now tells me "Other smartskills

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

2021-01-27 Thread philchillbill
chill wrote: > Which of course means the AUTH and SVR variables aren't needed in the > script. I was curious why you had them in there but thought it might be a pCP thing :cool: philchillbill's Profile: http://forums.sli

Re: [SlimDevices: Plugins] Use Squeezebox Boom as default media player for Google Home?

2021-01-27 Thread philchillbill
itm wrote: > "Pause" and "Resume" work OK. If the Boom is switched off then > "Favourite 6" turns it on, but doesn't select Preset 6 (it just > continues playing whatever it was playing before). "Preset 6 on Kitchen" > does the same. So it seems that the command is being recognised in some > way,

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

2021-01-27 Thread philchillbill
One small thing I just noticed. You use both curl and wget (which is valid sh for sure) but I thought curl was not installed on pCP (which is why wget was used as fallback) ? In order to make the script more tolerant of the existence of other ngrok tunnels around your household, the search/updat

Re: [SlimDevices: Plugins] Use Squeezebox Boom as default media player for Google Home?

2021-01-27 Thread philchillbill
itm wrote: > Thanks for the suggestion. I managed to get it to pick up the new name > by removing it and re-discovering devices. So now it is playing on the > Boom, but I have another problem > I can get it to play Favourite #2 (Radio2) using "Favourite 2 on > Kitchen". I have Favourite #6 s

Re: [SlimDevices: Plugins] Use Squeezebox Boom as default media player for Google Home?

2021-01-27 Thread philchillbill
itm wrote: > No - when I link the skill to my account I get asked for the URL and > login details, but don't get offered any more options after that. > If I go to the Smart Home...Devices section at alexa.amazon.co.uk > there's a Discover button there, but clicking on that doesn't seem to > pick

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

2021-01-27 Thread philchillbill
chill wrote: > Thanks for the explanations. Is it possible the backticks aren't > supported in pCP? > I have no idea if backticks are supported in pCP but your shell commands are perfectly valid without them. No errors that I can see in the script so good work !

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

2021-01-27 Thread philchillbill
chill wrote: > I think I'm there now. Not sure what I was doing wrong before, but my > script now autostarts and autoupdates after I reboot the pCP. I'll tidy > it up a bit and post what I have, so as to get feedback on my scripting > misconceptions :) > > The skill is working well. Unfortuna

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

2021-01-26 Thread philchillbill
chill wrote: > > I have installed the Alexa app on my iPhone and MediaServer is one of > 'my' skills, and seems to have linked successfully, but since I don't > have a device yet I can't test it any further. The Alexa app on the phone can act as an Echo if you give it mic permissions. When you

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

2021-01-26 Thread philchillbill
This is the sh script - it's a simplified but functional script that will update a single ngrok tunnel for the skill: Code: #!/bin/sh UUID="a84fb223c34002944701a9a70e5e82b65e01cda21b6e8914" URL="`wget -qO- http://localhost:4040/api/tunnels | grep -Po https://.

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

2021-01-26 Thread philchillbill
chill wrote: > I'm still hacking my way around to get a feel for what needs to be done > to get it working and then redone after a reboot. So far I have it set > up such that pCP runs a script at startup (via the built-in 'User > Command's' tweak) e.g. /home/tc/.ngrok2/ngrok_startup.sh, which s

Re: [SlimDevices: Plugins] Use Squeezebox Boom as default media player for Google Home?

2021-01-26 Thread philchillbill
itm wrote: > So I just renamed the Google Home Mini in the kitchen to "Google > Kitchen", but it made no difference - "favourite 6 on Kitchen" still > plays on the Google speaker, not the Boom called "Kitchen" > ??? Did you rediscover devices after that renaming? -

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

2021-01-26 Thread philchillbill
chill wrote: > Great, thanks. If you note any specifics for pCP that are different to a normal Debian install, I'd appreciate a summary so it can be added to the docs. philchillbill's Profile: http://forums.slimdevices.c

Re: [SlimDevices: Plugins] Use Squeezebox Boom as default media player for Google Home?

2021-01-26 Thread philchillbill
itm wrote: > > > That should do it. You do need the -exact -name of the player so > assuming it really is called Kitchen and not Kitchen Boom or some such. > Did you first say "Alexa, discover devices" ? > > The exact syntax would be "Alexa, favourite 6 on kitchen".

Re: [SlimDevices: Plugins] Use Squeezebox Boom as default media player for Google Home?

2021-01-26 Thread philchillbill
itm wrote: > I didn't restart the server, but restarted the tunnel when I got that > error message. It didn't seem to make any difference. > I used this command, and left the Terminal window open in Linux: > ngrok http -auth "myuser:mypassword" 9000 > /dev/null 2>&1 & Did you check on the :404

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

2021-01-26 Thread philchillbill
chill wrote: > I have a 4th Gen Echo Dot on the way, specifically so that I can try out > this skill - I'm looking forward to having a bit more voice control over > LMS than I get through Siri by having iPeng running. > > I've been running through the ngrok setup on a pCP device in preparation >

Re: [SlimDevices: Plugins] Use Squeezebox Boom as default media player for Google Home?

2021-01-26 Thread philchillbill
itm wrote: > I also tried checking out LMS-Lite but when I tried to enable the Alexa > skill (using the same URL that I've previously created) I got an error: > "ngrok reports an invalid tunnel" Did you kill the tunnel in the meanwhile by restarting a server without auto update ? --

Re: [SlimDevices: Plugins] Use Squeezebox Boom as default media player for Google Home?

2021-01-26 Thread philchillbill
In those same docs: "...The skill implements 116 command categories, 72 of which are free to use with 44 requiring a subscription. " See https://mediaserver.smartskills.tech/mediaserverhelp.html#section-3-4. If all you want to do is play a numbered favorite, there is a companion smart home skil

Re: [SlimDevices: Plugins] Use Squeezebox Boom as default media player for Google Home?

2021-01-26 Thread philchillbill
didjean wrote: > is it possible to install ngrok on a Pi & Max2Play? > ngrok on: - Pi with any of the Debian variants = yes. - pCP = yes, but trickier because undocumented. It's on my todo list. - Max2Play = no idea, it was never discussed over at the MediaServer thread. I have no

Re: [SlimDevices: Plugins] Use Squeezebox Boom as default media player for Google Home?

2021-01-25 Thread philchillbill
itm wrote: > It seems that the Alexa skill can only be used if you have SSL and > remote access configured for the LMS server, which I don't (I only > access it from inside the LAN). I assume that the skill will only work > via an external connection? Yes, it’s an Amazon requirement to use SSL.

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

2021-01-25 Thread philchillbill
The instructions for setting up the skill have been refreshed with a new look and feel. Here's an example: 33090 Hope it's deemed an improvement by all :cool: Also, some people with slow hardware and/or poor internet speeds have been triggering unhandled timeouts lately - this should now error

Re: [SlimDevices: Plugins] Use Squeezebox Boom as default media player for Google Home?

2021-01-24 Thread philchillbill
d6jg wrote: > I really should revisit it yes Several new features were added back in August and you'll find a summary of the changes in post #560 in the MediaServer thread https://forums.slimdevices.com/showthread.php?111016-Announce-MediaServer-*certified*-Alexa-skill-for-LMS&p=985022&viewfull

Re: [SlimDevices: Plugins] Use Squeezebox Boom as default media player for Google Home?

2021-01-24 Thread philchillbill
d6jg wrote: > Try telling Alexa that you want to play Pink Floyd, Dark Side of the > Moon and you’ll probably get a decent response but try telling her you > want to play Pink Floyd, Dark Side of the Moon 1992 release from the > Shine On box set or the second disc from the Experience Edition and

Re: [SlimDevices: Plugins] Use Squeezebox Boom as default media player for Google Home?

2021-01-24 Thread philchillbill
didjean wrote: > That's strange that there is only a tiny number of people willing to use > voice control for their SB devices. I really think this is the only > missing feature. > Is MediaServer available in limited countries? I can't find it on the > Skill section? Yeah. The demographic for L

Re: [SlimDevices: Plugins] Use Squeezebox Boom as default media player for Google Home?

2021-01-24 Thread philchillbill
didjean wrote: > it seems it's about time for me to bring back my old Echo to life and > test your Alexa Skill. > I moved away from Alexa as the French version is quite bad compared to > Google Assistant. Any chance to see your great dev being ported one day > to GA? I’ve never even looked at ho

Re: [SlimDevices: Plugins] Use Squeezebox Boom as default media player for Google Home?

2021-01-24 Thread philchillbill
If you’re not married to the Google Home them flog it and get an Amazon Echo. What you want to do is a standard feature of the MediaServer LMS skill. Tell MediaServer to always assume ‘Kitchen Boom’. Tell MediaServer to Play favorite ‘Seaside FM’. Audio comes from the Boom via WiFi. -

Re: [SlimDevices: Plugins] LMS and Apple

2021-01-21 Thread philchillbill
I'm the author of the Alexa skills for LMS so let me address your point on voice control of LMS via Siri and why it is (currently) not available. The voice control paradigm is complementary to using a GUI and not intended to replace it. If you want to browse a library then nothing beats a touchs

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

2021-01-16 Thread philchillbill
wtnh wrote: > Has anyone succeeded in getting ngrok installed and running (with > autostart) on piCorePlayer? I've seen several posts where people have > had problems, but no workarounds. > > I would really like to try the Alexa skills but piCorePlayer is not > exactly a standard Linux distro a

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

2021-01-10 Thread philchillbill
The code has been widely refactored in preparation for supporting other spoken languages in the near future. As a result: * Latency is reduced and error-trapping is greatly improved. * Errors during streaming are now reported. * When library matches fail, some extra fallback searches are perform

Re: [SlimDevices: Plugins] [Announce] LMS-lite certified Smart Home skill for Alexa

2020-12-29 Thread philchillbill
samoth wrote: > Thanks for the quick response :-) > > But > > Alexa, Lied/Stück 3 auf [Squeezeboxname] or Alexa, Favorit/Lieblings 1 > auf [Squeezeboxname] > > Do not work on my side :-( > > If I use a Alexa routine I can correctly adress track/song or the > favorite. :-) > > Strange ...

Re: [SlimDevices: Plugins] [Announce] LMS-lite certified Smart Home skill for Alexa

2020-12-29 Thread philchillbill
samoth wrote: > > Alexa.RangeController Examples: > > Alexa, track 7 on Touch > Alexa, song 9 on Touch > Alexa, what track is the Touch at? > Alexa, what track is the Touch on? > Alexa, favorite 3 on Touch > > RangeController does work, you just need to know the friendlyNames for the capabil

Re: [SlimDevices: Plugins] [Announce] LMS-lite certified Smart Home skill for Alexa

2020-12-27 Thread philchillbill
samoth wrote: > @philchillbill: Great thanks for that skill works really good. :-) > > Would you please post the full list of the German commands in detail. > > Thanks and all the best, Thomas The very first post in this thread lists them all in English. Try saying the same t

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

2020-12-26 Thread philchillbill
The session-continuation *Brian *voice has been replaced by *Amy* for en-GB users. It's still Matthew for en-US as nobody ever complained about that. philchillbill's Profile: http://forums.slimdevices.com/member.php?userid

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

2020-12-25 Thread philchillbill
By the way, lifting the subscription requirement for premium commands has a *side-effect* with respect to Alexa's built-in commands for play/resume, pause, previous, next and stop. When you are not subscribed, these commands target the -assumed -player automatically but when subscribed or a promo

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

2020-12-24 Thread philchillbill
32663 IN THE SPIRIT OF CHRISTMAS, THE SKILL WILL PROVIDE ACCESS TO ALL COMMANDS WITHOUT THE NEED FOR A SUBSCRIPTION, UNTIL JAN 1ST. ENJOY! p.s. to existing subscribers, apologies for the fact that the amazon isp process doesn't provide a means to credit or extend your subscription accordingly.

Re: [SlimDevices: Plugins] [Announce] LMS-lite certified Smart Home skill for Alexa

2020-12-19 Thread philchillbill
maxzampieri wrote: > Hello philchillbill, I can translate the skill commands in Italian and > even in Spanish, if you agree contact me in PM. I saw that LMS is an > amazing system, simple but very powerful. > > Max Thank you very much for volunteering. Unfortunately, if you l

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

2020-12-19 Thread philchillbill
I noticed in the logs that somebody who asked to list all his/her Dylan albums got a boatload of repeated entries in the response due to *library duplicates*. I've updated the code to remove duplicates from the spoken listing. A side effect of this is that if you have multiple versions of the sam

Re: [SlimDevices: Plugins] [Announce] LMS-lite certified Smart Home skill for Alexa

2020-12-16 Thread philchillbill
The online setup instructions now have sections addressing the setup of ngrok with autostart and autoupdate under *Windows*. Thanks to @staresy for sharing how he did it. philchillbill's Profile: http://forums.slimdevices.

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

2020-12-16 Thread philchillbill
The online setup instructions now have sections addressing the setup of ngrok with autostart and autoupdate under *Windows*. Thanks to @staresy for sharing how he did it. philchillbill's Profile: http://forums.slimdevices.

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

2020-12-15 Thread philchillbill
Ok, I'll see what that warning was about. The new code is live and should allow you to play or stream anything either locally or online. It even played a Spotify album for me which I know was not local. So you can re-enable online music services and all should work. Thanks for finding this issu

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

2020-12-15 Thread philchillbill
OK, progress. I can see that Material is playing playlists using e.g. ["playlistcontrol","cmd:load","playlist_id:1402","library_id:0"] instead of the ["playlist","play","Spotty: bla bla"] variant that I am using (which works fine in LMS7.9.x when playlists are local). When MediaServer's code is

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

2020-12-15 Thread philchillbill
I can indeed see that ["playlists" 0, 300] is now returning only local playlists after you disabled the online services. Maybe restarting LMS would help? In my trial here, I could play local playlists once I disabled online services. But I'm on a newer LMS than you so maybe there was a change. I

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

2020-12-14 Thread philchillbill
@raglencross, I've noticed that if Online Music Library Integration is disabled then local playlists still play fine (after a library rescan). Can you please verify that works for you too so I can absolutely rule out Axios as the culprit?

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

2020-12-14 Thread philchillbill
I've enabled Spotty on my dev rig and can indeed see all the Spotty playlists showing up in the library query with "Spotty: bla bla" in their name. But when I try to play one of these via jsonrpc.js, there is indeed no audio and it does not matter whether I try to load the playlist by id or by na

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

2020-12-13 Thread philchillbill
I've added some debug lines to the code and can now see what JSON my query returns for your library when you ask for a playlist. Indeed, multiple "Spotify: bla bla" ones are there by name, with an id to boot. LMS is not returning an error when I ask to play it for you via jsonrpc.js so it looks l

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

2020-12-13 Thread philchillbill
It's unfortunate that your single regular Squeezebox player is not available to help debug. I can see that you did a 'list players' command and the result of that uncovered (for me) that -all- your player names are incompatible with the skill's room-based naming expectation - "You have 5 players

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

2020-12-12 Thread philchillbill
raglencross wrote: > Thanks for the reply. > > 1. No audio from a local non-Spotty playlist. > > 2. Unfortunately, my only normal Squeezebox player, a SB3, is not > working right now. As well as Echoes, I am using chromecast and airplay > devices instead. > > 3. "Alexa resume" still does not

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

2020-12-12 Thread philchillbill
raglencross wrote: > I can no longer get playlists from my library or Spotify to stream > without a long delay on any of my Alex devices. Alexa confirms that it > is playing them, but the audio does not play and "axios from Alexa" is > not displayed as a player in the web interface until several

Re: [SlimDevices: Plugins] [Announce] LMS-lite certified Smart Home skill for Alexa

2020-12-10 Thread philchillbill
PoppyDad wrote: > First of all philchillbill, a big thank you for sharing the fruits of > your hard work and making this brilliant system even better (and to all > others in the community doing the same). > > To set the scene I'm not an IT professional but have written c

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

2020-12-10 Thread philchillbill
Paul Webster wrote: > Would this help in setting the user-agent header? > https://github.com/axios/axios/issues/2560 I'm not unhappy with using 'axios' as the string. In LMS, the name appearing in the GUI is set in Slim::Web::HTTP.pm with Code: $client->name( $agent

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

2020-12-10 Thread philchillbill
The underlying nodejs http client engine in MediaServer has been migrated to the *Axios* NPM library (the old 'request' library has been fully deprecated). Axios has much better error handling and assembles chunked responses itself, plus it handles JSON natively. Because the Axios engine uses the

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

2020-12-09 Thread philchillbill
I'm starting to re-factor the code for MediaServer so that it will be easier to extend support for other languages like German and French. :cool: It would -greatly -reduce the amount of work involved if the *brief response* mode was removed and if the *cardtext *placement in the Alexa phone app

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

2020-12-02 Thread philchillbill
dperrigan wrote: > I restarted LMS and it showed the local address. No luck. Then I > changed the WIFI config on the echo from a guest network to the home > network (in case it couldn't "see" 192.168.x.y). No luck. Then I had > alexa ask mediaserver to discover players. It listed them and t

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

2020-12-01 Thread philchillbill
dperrigan wrote: > Aha! The 10.2.x.y address reminded me that I was running a VPN on that > server. I stopped the vpn and used the normal 192.168.x.y address and > it works in a browser now. But still doesn't on the echo. Do you mind > checking the logs again? Do I need to refresh ngrok aft

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

2020-12-01 Thread philchillbill
dperrigan wrote: > I can't find the model number on it, but it's the tall cylinder. I just > tried again -- this time streaming one song instead of an album. Same > thing. In fact I haven't gotten it to stream yet. Other functions seem > to work fine though. I'm on LMS 7.9.0, running on Win

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

2020-12-01 Thread philchillbill
dperrigan wrote: > > Any suggestions? Is there a log file I can check? > There's no local log available to the user but I can examine the Amazon cloud log for you. This is what I see: 32383 It would indicate that the interaction between the skill and LMS went OK but Amazon failed to proces

Re: [SlimDevices: Plugins] [Announce] LMS-lite certified Smart Home skill for Alexa

2020-11-24 Thread philchillbill
Ok, favorites support is live. Enjoy ! philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=111443 _

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

2020-11-22 Thread philchillbill
slartibartfast wrote: > Found this and it works [emoji3] > https://forums.slimdevices.com/showthread.php?p=988187 > > Sent from my Pixel 3a using Tapatalk Yep, the online docs were updated with that at the time so I assumed you had already implemented. -

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

2020-11-22 Thread philchillbill
slartibartfast wrote: > That works [emoji3]. How do I run it automatically? > > Sent from my Pixel 3a using Tapatalk Make sure the python command in the service file mentions the correct path for python3. It’s very likely /usr/bin/python3 ---

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

2020-11-22 Thread philchillbill
slartibartfast wrote: > Just typing python is 2.7.16 > Typing python3 gives me 3.7.3 > Do I need to edit something? > Run the script with python3, so Code: python3 updater.py --

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

2020-11-22 Thread philchillbill
slartibartfast wrote: > That gives me > > Code: > > pi@raspberrypi:~ $ python updater.py > Traceback (most recent call last): > File "updater.py", line 8, in > import urllib.parse > ImportError: No module named parse > > > That explain

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

2020-11-22 Thread philchillbill
slartibartfast wrote: > It says the tunnel no longer exists, maybe you restarted the server. Then the updating failed. Just run the python script from the command line. philchillbill's Profile: http://forums.slimdevices.

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

2020-11-22 Thread philchillbill
slartibartfast wrote: > Hmm. My tunnel exists but the skills don't work. What does Alexa give as the reason? The message via MediaServer will be more telling than via LMS-lite. philchillbill's Profile: http://forums.slim

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

2020-11-22 Thread philchillbill
slartibartfast wrote: > Do I need to relink the skills? Absolutely not. The whole idea of the autoupdater is to make that redundant. philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View thi

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

2020-11-22 Thread philchillbill
slartibartfast wrote: > I "think" I did set it up to run automatically, does that mean it should > just work after a reboot? > Yes. Provided that you didn't unlink/re-link using a different uuid in the meanwhile (meaning that the uuid in your updater.py script is invalid). If in doubt, run the

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

2020-11-22 Thread philchillbill
slartibartfast wrote: > I set up ngrok updater ages ago and have had no need to reboot the > server since then. What steps do I need to take after a reboot to get > both the skills up and running again? > Just run the updater script from the command line. e.g. Code: p

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

2020-11-19 Thread philchillbill
ashceryth wrote: > Hi @philchillbill > > Since it is now possible to configure your Echo device to understand > English together with another language (like German + English), will > there be a possibility to publish the skill in .de skill store? I would > love to use the sk

Re: [SlimDevices: Plugins] [Announce] LMS-lite certified Smart Home skill for Alexa

2020-11-11 Thread philchillbill
Actually, @Simon74's request got me thinking it should be possible to *play favorites by number *using the Alexa.RangeController interface and I got that working easily in a beta skill. The syntax is "*Alexa, favorite 2 on Livingroom*" -without -mentioning "play". Once the targeted player has voi

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

2020-11-11 Thread philchillbill
@philippe_44, did you ever get a chance to play with this subsequently? philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=111016

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

2020-11-11 Thread philchillbill
@philippe44, did you ever get a chance to play with this subsequently? philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=111016

Re: [SlimDevices: Plugins] [Announce] LMS-lite certified Smart Home skill for Alexa

2020-11-07 Thread philchillbill
Simon74 wrote: > können radio favoriten direkt (per name oder nummer) angesprochen werden > ? > can radio favorites be addressed directly (by name or number) ? Not with this skill (limitation if smart home skills). The ‘other’ skill (MediaServer) can do that because it has a custom voice model.

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

2020-10-17 Thread philchillbill
The logs show that Amazon sends the skill the AudioPlayer.PlaybackNearlyFinished every ~23 seconds or so, which appears to be how long the buffer is lasting with an Echo Dot 3. Same for an Echo Show 2 so it does not seem to depend on the hardware of the Echo itself. The Show displays a dotted-lin

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

2020-10-15 Thread philchillbill
Thanks @philippe. I created a test install of logitechmediaserver_8.0.0_1602603940_amd64.deb on my Ubuntu box and replaced the file HTTP.pm in /usr/share/perl5/Slim/Player by your modified file. In a test version of the skill, I added &throttle to the stream's URL. What happens is that playback

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

2020-10-13 Thread philchillbill
Paul Webster wrote: > I'm not suggesting that the player necessarily has to be permanently > visible. > I use Philippe's bridge for UPnP. > I have it set so that the LMS player only appears when the UPnP device > is switched on and has been detected. > I know that play cannot be initiated from o

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

2020-10-13 Thread philchillbill
Paul Webster wrote: > The situation I was thinking of is if someone using the LMS web UI or > controller other than Echo to pause (and maybe resume if quick) the > stream to an Echo would want to select the player in the UI via a > friendly name in LMS. > > e.g. household has more than one Echo

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

2020-10-13 Thread philchillbill
Paul Webster wrote: > I suggest that, initially at least, you allow users to provide host name > (preferred) or IP address of their Alexa devices. > > A skill does not know the local IP address of an Echo (ideas below for > how it could be done) and I do not think that Alexa devices respond to

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

2020-10-12 Thread philchillbill
Currently, I don't -discover -the Alexaplayer but -create -it deliberately. Only one is created, regardless of how many physical Echos a user has. When the user issues a 'Stream' command, I perform a GET to "/stream.mp3?player=Alexa" which creates a network client in LMS which I then control via

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

2020-10-11 Thread philchillbill
Would that choice affect the player in the GUI? It would be great if the Alexaplayer behaved in the GUI or iPeng just as a normal squeezebox does without having to say “Alexa, resume” after every manual change to the now-playing track. --

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

2020-10-11 Thread philchillbill
The metadata is not expected as part of the stream but via the separate audioItem.metadata object. It's what I use currently to display a static image during streaming. It would be up to the skill to refresh that when a title change happens. To do that, the PlaybackNearlyFinished directive from A

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

2020-10-11 Thread philchillbill
All the docs are in the url I posted earlier. It’s just a https url as far as Alexa is concerned. In the case of this skill, that url is one I control and it creates a pls playlist file using a php script, where the contents of the pls just point to the /stream.mp3 url on your lan. Paul’s invent

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

2020-10-11 Thread philchillbill
Would be really great to have it because those big touchscreens on the Echo Show devices are going to waste currently with this skill. It would also be very helpful if there was a JSON command to create a named network player. Right now the only way to do it is to GET the LMS url with “/stream.m

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

2020-10-11 Thread philchillbill
philippe_44 wrote: > Oh I was not expecting to provide you with sync with other LMS players. > I've only been able to do that with AirPlay as it uses RTSP/RTP and I > was able to "proxy" RTP to LMS way of controlling playback timing. > > I was referring to your comment of sync between LMS disp

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

2020-10-11 Thread philchillbill
philippe_44 wrote: > I mean if the source controls the stream, will alexa buffer for a very > long time before starting to play? I’d assume, like for my other > bridges, there is a min buffer size before it starts to play and of > course it will try to get as much it can but if the source does no

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

2020-10-11 Thread philchillbill
philippe_44 wrote: > There is one thing that could be done (I started a LMS-Alexa bridge a > while ago and stopped as I had other priorities) and that's to act as a > real time stream and send data accordingly to Alexa. I don't remember > exactly where I left that, but I think Alexa can be told t

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

2020-10-10 Thread philchillbill
BrantonAudio wrote: > I see. So I need to have the echo acting as its own independent player > connected to LMS? Sorry if I wasn’t clear. What you want to do is not possible. philchillbill's Profile: http://forums.slimd

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

2020-10-10 Thread philchillbill
BrantonAudio wrote: > First of all, thanks for making this project and all the documentation! > > I'm new to the concept of LMS and hope someone can answer this: > > I want to use my existing player (squeezelite) in LMS as a master and > then listen to the same stream on my Echo. I don't want t

Re: [SlimDevices: Plugins] [Announce] LMS-lite certified Smart Home skill for Alexa

2020-10-04 Thread philchillbill
pacc wrote: > It would be great if this were extended to support discontinued products > (as squeezebox) and open-source projects like WLED, > the most valuable effect would being able to use 'smart' devices with > alexa even after their manufacturer goes belly-up and takes their > servers with t

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

2020-09-26 Thread philchillbill
staresy wrote: > Phil, would this mean no need for ngrok tunnels etc for both LMS-Lite > and Mediaserver? That’s the idea, yes. It’s listed under Smart Home so not sure if a Custom skill like MediaServer could piggyback on the capability too, but LMS-lite definitely should work for sure. I’ll ha

Re: [SlimDevices: Plugins] [Announce] LMS-lite certified Smart Home skill for Alexa

2020-09-26 Thread philchillbill
Amazon has just announced an upcoming capability that will effectively have your Echo act as a proxy server for smart home skills to control devices in your local network. Info is scarce but I've applied to beta test it (no idea if I will be selected). If it works the way I think it will work the

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

2020-09-26 Thread philchillbill
Amazon has just announced an upcoming capability that will effectively have your Echo act as a proxy server for smart home skills to control devices in your local network. Info is scarce but I've applied to beta test it (no idea if I will be selected). If it works the way I think it will work the

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

2020-09-18 Thread philchillbill
raglencross wrote: > From my experience, that may very well be the case. The first time I > installed ngrok on a Pi4 months ago, I was able to complete Part 2 with > no problems and no requirement for an authtoken until Part 3. The > second time I installed ngrok after reinstalling the Raspbia

<    1   2   3   4   5   6   7   8   >