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

2021-03-15 Thread FredFredrickson
philchillbill wrote: > Great to hear - thanks. You had the good fortune of the new easy-setup > being available instead of having to create files manually like the > pioneers here on the forums. :D > > As it's new , there has not been so much feedback on it. Was there any > step that you

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

2021-03-14 Thread philchillbill
FredFredrickson wrote: > Just wanted to let you know you've got a paid subscriber from me. I hope > my meager contribution helps keep this project alive. LMS for ever! Great to hear - thanks. You had the good fortune of the new easy-setup being available instead of having to create files

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

2021-03-14 Thread FredFredrickson
Just wanted to let you know you've got a paid subscriber from me. I hope my meager contribution helps keep this project alive. LMS for ever! 1 Touch 3 Receivers 1 Controller 3 Radios (I think I have a problem)

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

2021-03-03 Thread philchillbill
@staresy noticed a while ago that FollowMe/Transfer didn't work properly on Windows 10 and I noticed myself that it needed a tweak for pCP or it failed totally. Apparently, the method of saving a temporary playlist to the filesystem and resuming it is not foolproof on every OS. Looking in the

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

2021-03-02 Thread philchillbill
A freshly-certified version of the skill is now live with 4 new commands: *Play index* 5 from the album Musique by Daft Punk (for when you don't know the track title but do know it's the 5th track). *Stream index* 3 from Toulouse Street *by* The Doobie Brothers. *Transpose* Bathroom and Bedroom

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

2021-02-17 Thread philchillbill
33422 +---+ |Filename: 2.png| |Download: http://forums.slimdevices.com/attachment.php?attachmentid=33422| +---+

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

2021-02-17 Thread philchillbill
There's now no excuse for not trying out the skill(s) as the ngrok-setup process has been *completely automated* :cool: See https://forums.slimdevices.com/showthread.php?113966-Announce-Easy-ngrok-setup-for-MediaServer-amp-LMS-lite-Alexa-skills

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

2021-02-09 Thread philchillbill
wtnh wrote: > I think you meant ncat? I have not tried it in an LMS environment, but > you might want to try nmap. It is a lot more powerful. It is not usually > installed by default, though. Thanks for the suggestion but I need to work with core modules only.

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

2021-02-09 Thread wtnh
philchillbill wrote: > Playing around with a pushbutton ngrok install, it would be very > convenient if the user had nothing at all to edit after downloading the > script and only had to run it. The two 'unknowns' are his/her uuid > (which I have a nice solution for) and LMS IP address (I don't

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

2021-02-07 Thread philchillbill
Playing around with a pushbutton ngrok install, it would be very convenient if the user had nothing at all to edit after downloading the script and only had to run it. The two 'unknowns' are his/her uuid (which I have a nice solution for) and LMS IP address (I don't just want to assume it'll be

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

2021-02-05 Thread philchillbill
staresy wrote: > FYI, > There is a change in the latest 8.1.2 nightly build that allows you to > supress the onmysqueezebox.com favourite entry. This is useful if you > use the Mediaserver skill to search for favourites as it flattens the > library and speeds up the response. > > The details

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

2021-02-05 Thread staresy
FYI, There is a change in the latest 8.1.2 nightly build that allows you to supress the onmysqueezebox.com favourite entry. This is useful if you use the Mediaserver skill to search for favourites as it flattens the library and speeds up the response. The details are here:

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

2021-01-31 Thread wtnh
chill wrote: > I've improved the ngrok_installer script a bit. As well as a bit of > tidying up and clarifying, it now has the option to override the 32-bit > or 64-bit auto-detection, primarily in case the auto-detection fails > because of the rather weak, non-future-proof, detection rule. >

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

2021-01-31 Thread philchillbill
chill wrote: > In case it helps to make your scripts more future-proof, I spotted that > the download links are visible within the source of the ngrok download > page. So if, or instance, they notice that the ARM64 download is the > odd one out with its tgz format, or they change the

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

2021-01-31 Thread chill
After I posted, I sent the key from my Macbook to one of my pCP machines, just to check whether there was a compatibility issue between the Mac's RSA key and openssh on the Pi. I used ssh-copy-id on the Mac, and that worked fine, and I can now log in to the Pi from my Mac without a password.

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

2021-01-31 Thread philchillbill
chill wrote: > Re-reading your post, I'm sensing you knew all that! :) > > RSA versus openssh maybe? I have a key-pair I set up years ago that I keep reusing every time I add a new machine to my arsenal. I even used it successfully on this same pi when it was running OctoPi for my 3D printer.

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

2021-01-30 Thread chill
Re-reading your post, I'm sensing you knew all that! :) RSA versus openssh maybe? chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread:

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

2021-01-30 Thread chill
philchillbill wrote: > Thanks guys. I actually quite like pCP from this short exposure to it > and will definitely keep it as my certification machine. The only thing > I haven't got working yet is login via key instead of password. I > followed the same methods that I use on every platform

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

2021-01-30 Thread philchillbill
Thanks guys. I actually quite like pCP from this short exposure to it and will definitely keep it as my certification machine. The only thing I haven't got working yet is login via key instead of password. I followed the same methods that I use on every platform including Synology which is also

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

2021-01-30 Thread Paul Webster
philchillbill wrote: > how do you set the ngrok_startup.sh script to run when the machine > nboots? The installer script seems to add the ngrok.tcz file to onboot > but I see no reference to the updater? Form the pCP web interface ... Tweaks/User Commands (at the bottom of the page) Paul

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

2021-01-30 Thread chill
The installer isn't connected to the startup script - I think the mechanism for that is still TBD. If the startup script was hosted, say, on your site, then the installer script could fetch it. To make it run at boot, use the the pCP web interface - go to the 'Tweaks' tab and scroll to the

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

2021-01-30 Thread philchillbill
@chill, I got pCP working pretty easily and the ngrok installer script downloaded the correct version of ngrok. Yaay! It also survived a reboot so the tcz stuff seems to have worked too. As I have a free ngrok account, starting ngrok on the pi gave me a warning that I'm only allowed to run it

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

2021-01-30 Thread philchillbill
chill wrote: > Thanks for that - some more syntax for me to learn from! Feel free to > work your own magic on the scripts - you clearly know what you're doing > far more than I do! > > Yeah, the BusyBox version of unzip doesn't like tgz files, and the > BusyBox version of tar doesn't like zip

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

2021-01-30 Thread chill
philchillbill wrote: > > As you can see, I use unzip on all platforms rather than your mix of > tgz/zip depending on 32/64 bits. Is that actually necessary with pCP or > could unzip also handle both installs? If so, the script would be > simpler. Thanks for that - some more syntax for me to

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

2021-01-30 Thread philchillbill
Good timing because I'm just about to try setting up pCP from scratch on a pi 3B, having never done it before :cool: I started working on a shell script to install ngrok and configure autoupdate using systemd on 'heavier' machines. It's WIP but here's the part where I handle the platform

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

2021-01-30 Thread chill
I've improved the ngrok_installer script a bit. As well as a bit of tidying up and clarifying, it now has the option to override the 32-bit or 64-bit auto-detection, primarily in case the auto-detection fails because of the rather weak, non-future-proof, detection rule. I tried the 32-bit

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

2021-01-29 Thread philchillbill
chill wrote: > In case you do get around to playing with pCP tomorrow, the current > versions of my installer and startup scripts are in the attached zip > file. > > 33143 Thanks, and thanks also for the tip about warning pCP users to make sure they install LAME. I already added my own

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

2021-01-28 Thread chill
philchillbill wrote: > Nice. I was also doing tax-returns today so I'll have to wait until > tomorrow to play with pCP. In case you do get around to playing with pCP tomorrow, the current versions of my installer and startup scripts are in the attached zip file. 33143

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

2021-01-28 Thread chill
philchillbill wrote: > Missing LAME in the install is a pretty lame excuse :p > Haha, yes, but it's something to keep in mind for users of your skill. I just installed LMS on a fresh pCP7 setup, and lame is not present by default. So it's not something that I did, it's something that I

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

2021-01-28 Thread philchillbill
chill wrote: > Fixed it. For some reason my pCP was missing 'lame', which the rule for > converting FLAC to MP3 relies on. No idea how that happened! > > I installed the lame extension and it's working as expected now. Sounds > pretty good too, but don't ask me to give up my Booms for Echos

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

2021-01-28 Thread chill
philchillbill wrote: > Strange. My FLAC files are transcoded by LMS on the fly and I never had > to set up any special rules. What formats won't stream? Fixed it. For some reason my pCP was missing 'lame', which the rule for converting FLAC to MP3 relies on. No idea how that happened! I

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

2021-01-28 Thread philchillbill
chill wrote: > Ah, it might be something to do with audio formats - some playlists > play, but others don't. I'll investigate. > > EDIT: Yeah, only MP3 files are streaming. I guess I have to look into > format conversion rules. Ugh - I've never really grasped how to > configure that bit of

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

2021-01-28 Thread chill
Ah, it might be something to do with audio formats - some playlists play, but others don't. I'll investigate. EDIT: Yeah, only MP3 files are streaming. I guess I have to look into format conversion rules. Ugh - I've never really grasped how to configure that bit of LMS.

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

2021-01-28 Thread chill
Do I need to do anything special to make streaming to the Echo work? If I ask her "Alexa, ask MediaServer to stream the playlist 'Catchy'", she finds the playlist ok, tells me that it's now streaming, and in the LMS web interface I can see the playlist is loaded up under the 'Web Client'

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

2021-01-28 Thread chill
philchillbill wrote: > I've added a new section to the online docs which addresses built-in > commands and when the skill invocation name can be omitted vs when it is > required. This also explains why there can sometimes be a clash between > the MediaServer and LMS-lite skills for simple

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

2021-01-28 Thread chill
Tax calcs done - just the form filling bit to do now :) I now have an installation script that will fetch the correct version according the pCP platform (32-bit or 64-bit). I used the 'rule' that I found 'here'

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

2021-01-28 Thread philchillbill
I've added a new section to the online docs which addresses built-in commands and when the skill invocation name can be omitted vs when it is required. This also explains why there can sometimes be a clash between the MediaServer and LMS-lite skills for simple transport commands like pause.

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

2021-01-28 Thread philchillbill
chill wrote: > Tax calcs done - just the form filling bit to do now :) > > I now have an installation script that will fetch the correct version of > ngrok according the pCP platform (32-bit or 64-bit). I used the 'rule' > that I found 'here' >

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

2021-01-28 Thread chill
philchillbill wrote: > @chill, Nice work :cool: This stuff gets addictive when the creativity > adrenaline flows. Indeed. It'll be a sad day when I stop enjoying a new challenge. And it beats doing my tax return, which sadly has to be a priority this afternoon :( philchillbill wrote: >

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

2021-01-28 Thread philchillbill
@chill, Nice work :cool: This stuff gets addictive when the creativity adrenaline flows. I'll give it a try myself later as I actually want to play with pCP and have never set it up before so I will be a perfect noob ! Hope you're enjoying the skills. If you're new to Alexa it takes a little

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

2021-01-28 Thread chill
This script should download the 64-bit ngrok binary, convert it to a tcz package and make it load on boot. To use it, create a file 'ngrok_installer.sh' in your home directory (/home/tc aka ~), paste the lines of the script into it, and make the script executable (chmod +x ngrok_installer.sh).

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

2021-01-28 Thread chill
philchillbill wrote: > > I’m just worried that supporting that may turn out to be more work than > supporting and improving the skills themselves [emoji23] Sounds like a great idea, but yeah, it would no doubt take a lot of effort to make it foolproof! I may have a tinker with a pCP-specific

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

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

2021-01-28 Thread chill
philchillbill wrote: > > I have to admit I'm surprised that backing up a 24MB file is slow on any > modern system. This is the GB and TB era so we're talking crumbs here > :confused: Yeah, it's not -slow--slow (maybe 20 seconds or so? - not sure, haven't timed it), but you have to keep in

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: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2021-01-28 Thread chill
philchillbill wrote: > Appreciate your looking into this topic. Is a prepared tcz file (2 > versions for 32 and 64 bit) something that I can host on my site to > reduce the number of steps? One reason that Paul- was reluctant to make an ngrok package is "Binary re-distribution licensing is not

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

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

2021-01-28 Thread chill
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 executable path so can be invoked

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

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

2021-01-27 Thread chill
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/ngrok.yml > /dev/null 2>&1

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

2021-01-27 Thread chill
philchillbill wrote: > Great to hear. I’ll add pCP instructions to the website so that others > can benefit from your pioneering spirit [emoji41] Thanks again ! Thanks. There's a couple of details that I'd like to check in the script before it should be considered definitive. 1) There's a bit

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] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2021-01-27 Thread chill
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 to copy over the ngrok

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

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

2021-01-27 Thread chill
So as an interim update, until I find the next thing I've done wrong, here's my current ngrok_startup.sh Code: ##!/bin/sh # autostart and autoupdate ngrok for Media Server skill # enter your own details here TUNNELNAME="mediaservertunnel" # whatever you

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

2021-01-27 Thread chill
Got there - I had to include the tunnel name in square brackets after the URL on your account linking page. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread:

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

2021-01-27 Thread chill
philchillbill wrote: > I was curious why you had them in there but thought it might be a pCP > thing :cool: 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

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:

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

2021-01-27 Thread chill
Which of course means the AUTH and SVR variables aren't needed in the script. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=111016

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

2021-01-27 Thread chill
D'Oh! Because the configuration is all in the yml file, the earlier ngrok command needs to be Code: $ngrok_exec http start $TUNNELNAME > /dev/null 2>&1 & instead of Code: $ngrok_exec http -auth $AUTH $SVR >

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

2021-01-27 Thread chill
Hmm. This works Code: wget http://localhost:4040/api/tunnels/ ...but this doesn't Code: wget http://localhost:4040/api/tunnels/mediaservertunnel I've checked and it's definitely called

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

2021-01-27 Thread chill
philchillbill wrote: > 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

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

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

2021-01-27 Thread chill
philchillbill wrote: > 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 ! Great stuff, thank you. chill's

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 chill
philchillbill wrote: > Good to hear. If you run the script manually from the command line, it > should respond with OK 1 if the updating went well (the '1' means one > tunnel was updated). > > Regarding brackets: > > [] delimits an array or list. In this case the array only has one member >

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.

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

2021-01-27 Thread chill
chill wrote: > > Any chance you could put me out of my misery and show me an example of > that last wget command exactly as it should be issued? 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

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

2021-01-26 Thread chill
philchillbill wrote: > If that works, "Alexa, ask Media Server to discover my players" That bit is working fine, so I can start to play with the skill tomorrow. So I just need to get that script working so that it can all be automated after a reboot.

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

2021-01-26 Thread chill
philchillbill wrote: > The Alexa app on the phone can act as an Echo if you give it mic > permissions. When you open the app just ask Alexa what time it is and > she will answer. If that works, "Alexa, ask Media Server to discover my > players" Oh that's useful, thank you. I'll give it a try

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

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

2021-01-26 Thread chill
philchillbill wrote: > 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-

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

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

2021-01-26 Thread chill
philchillbill wrote: > Would the Perl not be easier than Python, given that pCP needs Perl > itself? All the script does is a HTTPS GET to a specific url with some > url parameters filled out. It can be done from any language. If it helps > you at all, I have a tiny sh script that does it too.

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

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

2021-01-26 Thread chill
philchillbill wrote: > 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. 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

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:

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

2021-01-26 Thread chill
philchillbill wrote: > > EDIT: Fixed. An issue with relative vs absolute paths. Sorry for the > inconvenience. Great, thanks. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread:

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] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2021-01-26 Thread chill
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 for the Dot arriving.

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

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

2021-01-17 Thread wtnh
philchillbill wrote: > > > You do know that ngrok can run on any machine in your LAN and point > towards LMS on pCP ? Any Windows, Mac or Linux box can proxy over to > that pi for you. Yes - unfortunately, my home network setup no longer has an "always-on" network server (we now just use

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

2021-01-16 Thread Paul Webster
I'm pretty sure I had ngrok auto-running and updating on pCP - i think it is why I was using the Perl updater (because Perl was on the pCP machine to run LMS). I don't have that set-up now though. Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france

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

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

2021-01-15 Thread wtnh
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. It seems what is needed is a step-by-step procedure (to include getting the MediaServer skills working). I am running

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

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:

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

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] '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

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:

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

2020-12-15 Thread raglencross
Now works like a BOMB for all local and online content! Thanks... Also, appreciate your looking into the skill sign in error. Your explanation makes perfect sense. raglencross's Profile:

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

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

2020-12-15 Thread raglencross
I now have audio on local playlists! I don't know whether it's because of the code changes you have made there or that I disabled/re-enabled the skill which like for apps/programs can sometimes magically clear up baffling problems. From your post, I see that you are working on a solution for

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 raglencross
Still no audio from local playlists after turning off online integration and doing a clear and complete rescan of my library. I know you have asked already, but it's worth asking again, is anyone else experiencing a problem with no audio from local playlists?

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

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

2020-12-13 Thread raglencross
Thanks for continuing to look into this. I see Spotify is offering a free 3 month trial for their "Premium" tier as opposed to their free ad supported one. I don't think the latter will work with Spotty, but I'm not sure of that.

<    1   2   3   4   5   6   7   8   9   10   >