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

2020-09-04 Thread arressen


OK, so here's a long shot, but if you don't ask...

One problem I'm coming across is that Alexa doesn't always hear what's
being said while there is noise in the room, such as audio playing on
squeezebox.

Is there any way to have media server automatically duck the volume when
somebody says "Alexa" - or possibly do it when the light ring is on?

Thx, Richard


Sent from my iPad using Tapatalk





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

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


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

2020-09-04 Thread philchillbill

arressen wrote: 
> OK, so here's a long shot, but if you don't ask...
> 
> One problem I'm coming across is that Alexa doesn't always hear what's
> being said while there is noise in the room, such as audio playing on
> squeezebox.
> 
> Is there any way to have media server automatically duck the volume when
> somebody says "Alexa" - or possibly do it when the light ring is on?
> 
> Thx, Richard
> 
> 
> Sent from my iPad using Tapatalk

Unfortunately no. Skills are not informed when only the Alexa portion of
a command is said - we have to wait for the full command and that’s
already likely messed up by loud music in the background anyway. An
exception is that audio from an Echo is muted the moment Alexa is said
but it’s not the skill doing that, it’s the Echo itself. 

It would be possible to lower the volume on the assumed player as soon
as a LaunchRequest is received so that the ‘real’ command portion has a
better chance of being understood. But that’s also tricky because the
player volume is not the only thing in the equation (the amp setting is
unknown, for example). So mute is then better than duck. To be honest,
just saying ‘Alexa, mute livingroom’ to LMSlite before issuing a
MediaServer command is effective and less likely to have unwanted side
effects.





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

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


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

2020-09-04 Thread arressen


Thanks Phil. I suspected that the Alexa architecture would be the
limiting factor here, but can't help thinking that having the capability
to notify skills of early events like this will eventually be desirable
or necessary (if it isn't already). There are lots of A/V-related skills
available now, all of which are creating noise and limiting Alexa's
ability to listen

Good point on muting. I hadn't considered when the player was set to
fixed volume at 100%, so ducking isn't entirely straightforward. I can
see how this might work, but any command runs the risk of being
mis-heard, even a simple mute request.


Sent from my iPad using Tapatalk





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

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


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

2020-09-04 Thread mecouc


Following on from my earlier posts, I decided to get a Pi to (possibly)
contain music that my elderly parents can listen to by voice. After my
third re-imaging of the Pi I've got that going successfully.

I've copied ngrok onto the pi and given it my authtoken. I have got a
tunnel!

The instructions for ngrok autostart say to edit ngrok.yml in my home
directory on the Pi. But I've been told elsewhere that on PiCoreplayer
this directory is only in RAM and it's therefore a bad idea to use it. 

If I'm understanding correctly, what's the best way around this?

I'm rapidly getting the headache I expected from messing with linux all
day making this all work! 

Thanks :)



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

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


Re: [SlimDevices: Plugins] Announce: CDplayer plugin

2020-09-04 Thread bpa


P1GOU1 wrote: 
> Hello bpa,
> 
> I have raspbian buster OS on raspberry pi, your plugin is set on my
> server.
> But impossible to play cd with him.
> 
> My first error was "Error loading CD index - (-1) No CD in drive"
> 
> after having followed device on this topic, section 'how to configure a
> cd player),
> 
> I hear my cd turn into player but nothing, and this new message on
> plugin :
> 
> Error loading CD index - (-2) Error - failed to get response from either
> CDDB or MusicBrainz'
> 
> Could you help me ? 
> 
> It's the last step for finished my multiroom !
> 
> Jeremy

It's not a plugin I use much now so I have to get things set up.  Be
warned a lot has changed in systems and internet service since plugin
was written 12 years ago and it relies on cdda2wav (aka icedax) which
was written in 1990s.

One of the changes is that the Freedb CDDB service is now gone and only
MusicBrainz is available and so CDplayer settings "Select the database
used to lookup CD title & track info" should be set to the "Lookup CDs
on MusicBrainz" option as the CDDB will not work.

The plugin cannot tell whether you have a slot drive or a drive with a
door & tray so some error about CD not being loaded may not be accurate
as it assumes a drive with a door & tray.

What version of LMS ?
What model of Pi 
What UI & player ?  (there is a quirk in Squeezeplay & Touch) 

In order to check that problem is plugin related or not 
- From a shell prompt can cdda2wav produce track table

Code:


  cdda2wav device=/dev/cdrom -verbose-level=toc -N -g -J
  



- Can you rip a track - the following will rip track #2 into a file
called track2.wav in WAV format. After ripping check it plays.

Code:


  cdda2wav device=/dev/cdrom -verbose-level=all -t 2 track2.wav
  



If the above two step cannot be done then need to check whether CD drive
is working properly over USB.

USB powered external CD drive can erratically fail due to lack of power.

* Is the CD player USB powered (single or double headed USB cable) or a
separate PSU ? 
* What is model of Pi ? 
* what is the model of External CD drive ?
* Is there anything else (er.hg. a HDD) attached to Pi's USB ?
* Version of LMS 

if cdda2wav commands worked OK & tracks rips OK - then issues is
probably with plugin.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=47288

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


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

2020-09-04 Thread Paul Webster


mecouc wrote: 
> 
> The instructions for ngrok autostart say to edit ngrok.yml in my home
> directory on the Pi. But I've been told elsewhere that on PiCoreplayer
> this directory is only in RAM and it's therefore a bad idea to use it.  
> 

It is a bad idea deal to put a large files (like an entire music
library) in there (because it is held in memory) but it is fine to put
small scripts or a configuration file in there because they do not use
much memory and that directory is automatically included in the pCP
backup.



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc), kcrw,
supla finland, abc australia, cbc/radio-canada and rte ireland

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

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


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

2020-09-04 Thread castalla


So, how do I install ngrok on picoreplayer?   I thought it was only via
extensions ... ?



LMS server: O2 Joggler with Jivelite, Pi Zero W with PcP 6.0

Amp: Denon PMA-50

Players/Speakers:  Touch, Logitech Radios, Sonos Play 1s & Beam,
Libratone Zipp, GGMM E2 & E3, Yamaha WXAD-010, Loewe Airspeaker, Google
Chromecast Audio, Home Mini & Nest Hub, Amazon Echo 2,3 and Show5,
Pioneer WX-SMA1, Roberts S1, O2 Joggler, Cisco Joggler, Fiio M6,
Avantree Priva BT transmitter





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

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


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

2020-09-04 Thread Paul Webster


>From ssh session or attached screen + keyboard.

wget it



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc), kcrw,
supla finland, abc australia, cbc/radio-canada and rte ireland

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

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


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

2020-09-04 Thread castalla


Paul Webster wrote: 
> From ssh session or attached screen + keyboard.
> 
> wget it

... and then how to install?  I'm used to dpkg installs.



LMS server: O2 Joggler with Jivelite, Pi Zero W with PcP 6.0

Amp: Denon PMA-50

Players/Speakers:  Touch, Logitech Radios, Sonos Play 1s & Beam,
Libratone Zipp, GGMM E2 & E3, Yamaha WXAD-010, Loewe Airspeaker, Google
Chromecast Audio, Home Mini & Nest Hub, Amazon Echo 2,3 and Show5,
Pioneer WX-SMA1, Roberts S1, O2 Joggler, Cisco Joggler, Fiio M6,
Avantree Priva BT transmitter





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

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


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

2020-09-04 Thread Paul Webster


wget then unzip it

unzip ngrok-stable-linux-arm.zip

Then run it!



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc), kcrw,
supla finland, abc australia, cbc/radio-canada and rte ireland

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

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


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

2020-09-04 Thread philchillbill

There is no real install. It’s a single file when unpacked. Put it in
/usr/local/bin when unpacked and that’s it. The beauty of ngrok.





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

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


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

2020-09-04 Thread Paul Webster


I don't think it would be put there in pCP as I expect that is a
write-protected folder.
Simple leave it in the home directory.



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc), kcrw,
supla finland, abc australia, cbc/radio-canada and rte ireland

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

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


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

2020-09-04 Thread castalla


Thanks - I'll give it a go.



LMS server: O2 Joggler with Jivelite, Pi Zero W with PcP 6.0

Amp: Denon PMA-50

Players/Speakers:  Touch, Logitech Radios, Sonos Play 1s & Beam,
Libratone Zipp, GGMM E2 & E3, Yamaha WXAD-010, Loewe Airspeaker, Google
Chromecast Audio, Home Mini & Nest Hub, Amazon Echo 2,3 and Show5,
Pioneer WX-SMA1, Roberts S1, O2 Joggler, Cisco Joggler, Fiio M6,
Avantree Priva BT transmitter





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

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


Re: [SlimDevices: Plugins] Announce: Custom Clock applet for Touch/Radio/Controller

2020-09-04 Thread bluetdi

sakos wrote: 
> Whom did you recommend this?
> 
> For me it is not an option. I definitely want a classical radio device
> with hardware buttons. And I am happy with how they works now.
> Neither think a LIRC remote would solve the above mentioned customclock
> as Nowplaying window gets stuck issue.

I recommend it for you, it solves the stuck issue indeed. I know because
I use a Pi and Flirc with a original Transporter- or Touch-remote for
quite a long time. Also „classical“ radios can be operated with a remote
since decades. People like it to change the loudness or the station
without having to leave their sofa and walk through room to their radio.
That‘s why they invented the IR-remote which was a real success
instantly. And that is why the original Touch was sold with a remote
also.

But do as you like, no one forces you to use a remote.



3xPi3B-7"+pCP 6.0 | LMS 8 | Transporter | 2xTouch | 2xClassic | 2xBoom |
2xRadio | iPeng
[Discarded: 2xOdroid U3+m2p+LMS]

bluetdi's Profile: http://forums.slimdevices.com/member.php?userid=20633
View this thread: http://forums.slimdevices.com/showthread.php?t=68269

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


Re: [SlimDevices: Plugins] Announce: CDplayer plugin

2020-09-04 Thread P1GOU1


Ok BPA thank you for answer,

in fact, as say the error message and you, only MusicBrainz work, and
now i can listen my cd player !

Thanks a lot, and maybe do you have a tips for increase to play's cd ?



P1GOU1's Profile: http://forums.slimdevices.com/member.php?userid=70604
View this thread: http://forums.slimdevices.com/showthread.php?t=47288

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


Re: [SlimDevices: Plugins] Announce: CDplayer plugin

2020-09-04 Thread bpa


P1GOU1 wrote: 
> What main the message error "There is a data CD type 1 in the
> drive.(101)" ?
It's been a long time.  The message will havecome from cdda2wav.

IIRC a CD can be either audio CD or a data CD.  The message is
indicating a data CD was put into drive and not an audio CD.
Search will provide many articles on technical details such as 
https://www.soundonsound.com/sound-advice/q-whats-difference-between-audio-and-data-cd-rs

> do you have a tips for increase speed to play's cd ?

No - audio CDs play in realtime. It is a function of the drive reading
audio-CDs.  The plugin is not a ripper.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=47288

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


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

2020-09-04 Thread castalla


Paul Webster wrote: 
> I don't think it would be put there in pCP as I expect that is a
> write-protected folder.
> Simple leave it in the home directory.

It's so long since I set ngrok up on a debian pi that I'm lost (again).

I've downloaded ngrok and unzipped.  Went over to the ngrok website
(where my account is still active) - it talks there about adding an auth
token to the default yaml file - I don't have one on the picore.  So
what to do?

Apologies for denseness (I'm suspecting there'll be even more questions
as I move on).

Hope somebody can advise.

Thanks



LMS server: O2 Joggler with Jivelite, Pi Zero W with PcP 6.0

Amp: Denon PMA-50

Players/Speakers:  Touch, Logitech Radios, Sonos Play 1s & Beam,
Libratone Zipp, GGMM E2 & E3, Yamaha WXAD-010, Loewe Airspeaker, Google
Chromecast Audio, Home Mini & Nest Hub, Amazon Echo 2,3 and Show5,
Pioneer WX-SMA1, Roberts S1, O2 Joggler, Cisco Joggler, Fiio M6,
Avantree Priva BT transmitter





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

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


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

2020-09-04 Thread castalla


castalla wrote: 
> It's so long since I set ngrok up on a debian pi that I'm lost (again).
> 
> I've downloaded ngrok and unzipped.  Went over to the ngrok website
> (where my account is still active) - it talks there about adding an auth
> token to the default yaml file - I don't have one on the picore.  So
> what to do?
> 
> Apologies for denseness (I'm suspecting there'll be even more questions
> as I move on).
> 
> Hope somebody can advise.
> 
> Thanks

Oh dear.  Getting nowhere here.  Rebooted and the ngrok zip is gone. 
Maybe I should just reinstall buster and start again from scratch.



LMS server: O2 Joggler with Jivelite, Pi Zero W with PcP 6.0

Amp: Denon PMA-50

Players/Speakers:  Touch, Logitech Radios, Sonos Play 1s & Beam,
Libratone Zipp, GGMM E2 & E3, Yamaha WXAD-010, Loewe Airspeaker, Google
Chromecast Audio, Home Mini & Nest Hub, Amazon Echo 2,3 and Show5,
Pioneer WX-SMA1, Roberts S1, O2 Joggler, Cisco Joggler, Fiio M6,
Avantree Priva BT transmitter





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

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


Re: [SlimDevices: Plugins] Question on Chromecast Bridge Pluggin for PiCorePlayer

2020-09-04 Thread Cut-Throat


philippe_44 wrote: 
> That's good to hear, although self-repair is always worrisome :)

Well, I do have a different Version of LMS and since I re-installed the
CC Bridge Pluggin, I may have different settings in that also?



Cut-Throat's Profile: http://forums.slimdevices.com/member.php?userid=43167
View this thread: http://forums.slimdevices.com/showthread.php?t=112770

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


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

2020-09-04 Thread Paul Webster


You need to initiate a pCP backup (pcp bu) after things are setup and
before the next boot.

Follow the instructions at
https://mediaserver.smartskills.tech/mediaserverhelp.html
except where it says "ngrok" type "./ngrok" to run it in the current
directory rather than finding it on the path.

Do not follow the "systemd config" section ... instead user the pCP
startup mechanism to launch it
e.g. via the "User commands" in Tweaks



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc), kcrw,
supla finland, abc australia, cbc/radio-canada and rte ireland

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

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


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

2020-09-04 Thread castalla


Paul Webster wrote: 
> You need to initiate a pCP backup (pcp bu) after things are setup and
> before the next boot.
> 
> Follow the instructions at
> https://mediaserver.smartskills.tech/mediaserverhelp.html
> except where it says "ngrok" type "./ngrok" to run it in the current
> directory rather than finding it on the path.
> 
> Do not follow the "systemd config" section ... instead user the pCP
> startup mechanism to launch it
> e.g. via the "User commands" in Tweaks

Thanks again.



LMS server: O2 Joggler with Jivelite, Pi Zero W with PcP 6.0

Amp: Denon PMA-50

Players/Speakers:  Touch, Logitech Radios, Sonos Play 1s & Beam,
Libratone Zipp, GGMM E2 & E3, Yamaha WXAD-010, Loewe Airspeaker, Google
Chromecast Audio, Home Mini & Nest Hub, Amazon Echo 2,3 and Show5,
Pioneer WX-SMA1, Roberts S1, O2 Joggler, Cisco Joggler, Fiio M6,
Avantree Priva BT transmitter





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

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


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

2020-09-04 Thread Paul Webster


Thinking aloud ... if the ngrok file is marked as executable (chmod +x)
then running it without putting ./ in front should work (as long as you
are in the same directory as it).



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc), kcrw,
supla finland, abc australia, cbc/radio-canada and rte ireland

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

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