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
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
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)
@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
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
33422
+---+
|Filename: 2.png|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=33422|
+---+
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
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.
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
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
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
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:
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.
>
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
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.
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-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:
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
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
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
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
@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
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
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
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
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
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
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
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
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
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
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
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.
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'
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
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'
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.
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'
>
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:
>
@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
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).
philchillbill wrote:
>
> Im 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
I agree with you that going against the fast and lite philosophy of pCP
should be avoided. Even 15s is unacceptable.
Ive 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
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
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
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
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
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
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
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
philchillbill wrote:
> Great to hear. Ill 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
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
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
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
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
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:
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
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:
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
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 >
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
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
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
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
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 !
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
>
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.
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
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.
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
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
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-
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
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.
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
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
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:
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:
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
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.
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
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
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
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
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
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
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:
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
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.
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
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:
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:
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
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
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
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
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?
@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?
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
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.
301 - 400 of 1194 matches
Mail list logo