Re: [SlimDevices: Plugins] Announce: Music & Artist Information plugin

2022-02-01 Thread Paul Webster


mherger wrote: 
> > The example is
> > Roxy Music - In every dream home a heartache
> 
> Well, those lyrics come with invalid characters in them. See 
> http://api.chartlyrics.com/apiv1.asmx/GetLyric?lyricId=11751=82782698d7b702867a23970c14da081b.
> 
> It's literally returning this line:
> 
> Theyamp;acute;re rising daily
> 
> That's invalid HTML encoding. & is the encoded ampersand sign. The 
> rest there is missing the leading... ampersand! I guess this has gone 
> through too many encodings/decodings. I can't do much about this kind of
> 
> error. Garbage in - garbage out. You can only hope that over time they 
> would fix it. And until then you can modify the cached copy on your
> disk.

Maybe a link to the source via ...More would be useful for people using
via a web enabled device.

>From http://www.chartlyrics.com/api.aspx

"We require applications that make use of our APIs to encourage users to
contribute to our free community, Allow your users to add lyrics,
correct lyrics or visits to the lyrics page by using the links the APIs
provide."



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

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

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


Re: [SlimDevices: Plugins] Announce: Music & Artist Information plugin

2022-02-01 Thread Paul Webster


d6jg wrote: 
> Good knowledge or did you Google?

I searched ... and during that time you posted your response.



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

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

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


Re: [SlimDevices: Plugins] Announce: Music & Artist Information plugin

2022-02-01 Thread d6jg


Paul Webster wrote: 
> I think it was Roxy Music
> https://genius.com/Roxy-music-in-every-dream-home-a-heartache-lyrics

Good knowledge or did you Google?



Jim
https://jukeradio.double6.net


VB2.4[/B] STORAGE *QNAP TS419P (NFS)
[B]Living Room* Joggler & Pi4/Khadas  -> Onkyo TXNR686 -> Celestion F20s

*Office* Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s 
*Dining Room* SB Radio
*Bedroom (Bedside)* Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV) & Bathroom* SB Touch ->Denon AVR ->Mordaunt Short M10s +
Kef ceiling speakers
*Guest Room* Joggler > Topping Amp -> Wharfedale Modus Cubes

d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=99537

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


Re: [SlimDevices: Plugins] Announce: Music & Artist Information plugin

2022-02-01 Thread Michael Herger

The example is
Roxy Music - In every dream home a heartache


Well, those lyrics come with invalid characters in them. See 
http://api.chartlyrics.com/apiv1.asmx/GetLyric?lyricId=11751=82782698d7b702867a23970c14da081b. 
It's literally returning this line:


Theyamp;amp;acute;re rising daily

That's invalid HTML encoding.  is the encoded ampersand sign. The 
rest there is missing the leading... ampersand! I guess this has gone 
through too many encodings/decodings. I can't do much about this kind of 
error. Garbage in - garbage out. You can only hope that over time they 
would fix it. And until then you can modify the cached copy on your disk.

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


Re: [SlimDevices: Plugins] Announce: Music & Artist Information plugin

2022-02-01 Thread Paul Webster


I think it was Roxy Music
https://genius.com/Roxy-music-in-every-dream-home-a-heartache-lyrics



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

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

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


Re: [SlimDevices: Plugins] Announce: Music & Artist Information plugin

2022-02-01 Thread d6jg


The example is 
Roxy Music - In every dream home a heartache 

Thanks



Jim
https://jukeradio.double6.net


VB2.4[/B] STORAGE *QNAP TS419P (NFS)
[B]Living Room* Joggler & Pi4/Khadas  -> Onkyo TXNR686 -> Celestion F20s

*Office* Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s 
*Dining Room* SB Radio
*Bedroom (Bedside)* Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV) & Bathroom* SB Touch ->Denon AVR ->Mordaunt Short M10s +
Kef ceiling speakers
*Guest Room* Joggler > Topping Amp -> Wharfedale Modus Cubes

d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=99537

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


Re: [SlimDevices: Plugins] Spotty Issue

2022-02-01 Thread mherger


Is this a 32 bit Windows version? Platform says "586"



Michael

"It doesn't work - what shall I do?" - "Please check your server.log
and/or scanner.log file!"
(LMS: Settings/Information)

mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=115877

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


Re: [SlimDevices: Plugins] Announce: Music & Artist Information plugin

2022-02-01 Thread Michael Herger

 acute;

  instead of a ' - is it possible to trap this out for display?


Would you remember what track and artist this was?
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


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

2022-02-01 Thread MrC


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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

Re: [SlimDevices: Plugins] Announce: Denon AVP Control Plugin

2022-02-01 Thread SamY


oliverbg1 wrote: 
> By the way, I really like reading your post with the author of the
> plugin: If more people were like you in my job, we should develop
> better...
> 

Thanks for the positive feedback, Olivier. Chris very graciously invited
me into a co-developer role on the plugin after I showed up here out of
the ether about a year ago with some ideas on how to improve the plugin.
Over that time, we have developed a good working relationship --- as I
suppose you learned from reading all 75 pages of the forum posts! He's
the architect and I'm the plumber/electrician/exterminator. :D



Sam

SamY's Profile: http://forums.slimdevices.com/member.php?userid=63495
View this thread: http://forums.slimdevices.com/showthread.php?t=60114

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


Re: [SlimDevices: Plugins] Announce: Denon AVP Control Plugin

2022-02-01 Thread oliverbg1


When I have the idea to set up my piCoreplayer with a ser2net instance
in order to use your plugin, I had read the full thread, about 65 pages
(now about 78..) in hope finding another guy who had the same idea
...(By the way, I really like reading your post with the author of the
plugin: If more people were like you in my job, we should develop
better...)Even my google researches did not give me satisfaction.
So, it will be helpfull for others people, to have access to these steps
easily. Stick this post or copy it on a easy access place.

Olivier



oliverbg1's Profile: http://forums.slimdevices.com/member.php?userid=71652
View this thread: http://forums.slimdevices.com/showthread.php?t=60114

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


Re: [SlimDevices: Plugins] Announce : BBC Sounds Plugin

2022-02-01 Thread expectingtofly


Man in a van wrote: 
> For info
> 
> https://radiotoday.co.uk/2022/02/bbc-makes-some-radio-programmes-exclusive-to-sounds-for-28-days/
> 
> ronnie

All the exclusive content should be available through the plugin.  I'll
give it a check once it starts to be released.



Stuart McLean   

expectingtofly plugins :
'bbc sounds' (https://github.com/expectingtofly/lms_bbc_sounds_plugin),'
global player (uk)'
(https://github.com/expectingtofly/lms_globalplayer_plugin), 'times
radio' (https://github.com/expectingtofly/lms_times_radio_plugin),  'uk
radio player'
(https://github.com/expectingtofly/lms_ukradioplayer_plugin), 'virgin
radio (uk)' (https://github.com/expectingtofly/lms_virgin_radio_plugin) 
and the 'radio favourites plugin'
(https://github.com/expectingtofly/lms_radio_favourites_plugin)

for bbc sounds help see the 'bbc sounds wiki'
(https://github.com/expectingtofly/lms_bbc_sounds_plugin/wiki).

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

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


Re: [SlimDevices: Plugins] Announce: Denon AVP Control Plugin

2022-02-01 Thread SamY


Thanks for the detailed instructions, Olivier. I'm sure it will be
helpful to others in the same situation, although I would probably have
just chosen the easy way out with the '-u' command line option for
ser2net. ;)

Speaking of smiley faces, you might want to edit your post with smileys
disabled so that the ip and port example doesn't show up as a tongue
sticking out smiley, i.e.  
ip:port (or just use caps, i.e. IP:Port).

The patch to Plugin.pm will indeed be included in the next release.



Sam

SamY's Profile: http://forums.slimdevices.com/member.php?userid=63495
View this thread: http://forums.slimdevices.com/showthread.php?t=60114

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


Re: [SlimDevices: Plugins] Announce : BBC Sounds Plugin

2022-02-01 Thread Man in a van


For info

https://radiotoday.co.uk/2022/02/bbc-makes-some-radio-programmes-exclusive-to-sounds-for-28-days/

ronnie



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=113045

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


Re: [SlimDevices: Plugins] [Announce] Ratings Light

2022-02-01 Thread AF1

streifenleopard wrote: 
> I am in the process of moving my LMS from my Synology to an RPI
> (whenever it may arrive). So I can just reload the old ratings back into
> the new installation.
That should work if the file paths are exactly the same. Personally I
have my Music app write the current track rating to the file's comment
tag from time to time as yet another ratings backup. Good luck.



*Plugin repositories:* 'Ratings Light'
(https://github.com/AF-1/lms-ratingslight)  'Visual Statistics'
(https://github.com/AF-1/lms-visualstatistics)  'Use Comment Tag
Info' (https://github.com/AF-1/lms-usecommenttaginfo)  'Dynamic
Playlists 3 FAQ' (https://github.com/AF-1/lms-dynamicplaylists#faq) 
'Custom Skip 3 FAQ' (https://github.com/AF-1/lms-customskip#faq)

AF1's Profile: http://forums.slimdevices.com/member.php?userid=39306
View this thread: http://forums.slimdevices.com/showthread.php?t=113344

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


Re: [SlimDevices: Plugins] Announce: Music & Artist Information plugin

2022-02-01 Thread d6jg


@Michael

I've noticed a display issue in Material and Default with lyrics
recently - some lyric files downloaded by MAI contain the following
string 
Code:

acute;

 instead of a ' - is it possible to trap this out for display?

Example
In every dream home a heartache
And every step I take
Takes me further from heaven
Is there a heaven?
I`d like to think so <--- I edited the file to correct this instance
Standards of living
Theyacute;re rising daily < Yet to edit



Jim
https://jukeradio.double6.net


VB2.4[/B] STORAGE *QNAP TS419P (NFS)
[B]Living Room* Joggler & Pi4/Khadas  -> Onkyo TXNR686 -> Celestion F20s

*Office* Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s 
*Dining Room* SB Radio
*Bedroom (Bedside)* Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV) & Bathroom* SB Touch ->Denon AVR ->Mordaunt Short M10s +
Kef ceiling speakers
*Guest Room* Joggler > Topping Amp -> Wharfedale Modus Cubes

d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=99537

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


Re: [SlimDevices: Plugins] Announce Planet Radio / Bauer Media plugin - PlanetRock, Absolute, Kiss, Scala ++

2022-02-01 Thread Paul Webster

I've just pushed beta 0.0.5c that tries to handle the upcoming
requirements from Bauer for playing their on-premium streams.

You can see their FAQ for this on any of their stations by going to
/stream
https://jazzfm.com/stream
which redirects to
https://planetradio.co.uk/jazz-fm/station/on-air/changes-to-streaming-listening/
and they say:


Code:


  FAQ's
  Q: Why can I no longer find your station on TuneIn / other radio aggregator 
app?
  A: At Jazz FM we want to create the very best content for our listeners, as 
well as the best user experience. When listeners access our streams via a 
third-party platform such as TuneIn/Radio app, it creates a barrier that limits 
our ability to understand how you like to use our service.
  
  As a result, we are encouraging all listeners to now access us directly, be 
that via our own app or website. You can also download the RadioPlayer app 
where you can listen to us plus many other stations. We really value you as a 
listener, and hope that this change doesn’t cause too much inconvenience. You 
can find a list of all ways to listen, here.
  
  Q: Why can I no longer play Jazz FM on my Sonos / other connected speaker?
  A: It is likely that you have previously been using a third-party app to 
stream our station. We have now changed the way that we distribute our online 
streaming, and encourage you to now listen to us directly, via our own Planet 
Radio Music service on Sonos or via our own app or website. You can also 
download the RadioPlayer app where you can listen to us plus many other 
stations. We really value you as a listener, and hope that this change doesn’t 
cause too much inconvenience.
  
  Q. I own an Internet Radio. Will I still be able to access Jazz FM?
  A: If your radio has DAB digital radio capability, you will still be able to 
access Jazz FM. Enter your post code in the Get Digital Radio post code checker 
to see if we are available in your region.
  
  Unfortunately at this time, our online-only services will not be available on 
some selected internet and wi-fi radios. However, there may be lots of ways you 
can connect your device to a phone or laptop, such as via Bluetooth, 
Chromecast, aux lead or USB. Simply download the Jazz FM app, or find us on our 
website.
  



In this case ... a Squeezebox Player without this plugin is like "an
Internet Radio" ... in which case they suggest you tune in via DAB or
play it on your phone and use Bluetooth/Chromecast/AUX cable etc.

However, with this plugin it becomes more like their description for
Sonos ... where this plugin is like an App the helps to keep it
working.



Note though - I cannot guarantee that this update will work with
whatever they do in the next few days, weeks and months.
They do say that people can still use the UK RadioPlayer app ... so it
is possible that things will still work via the UK RadioPlayer plugin
however, RadioPlayer do not have all of the streams available and do not
provide song info for Bauer stations because Bauer do not provide it to
them (and I suspect that the two LMS plugins fight over matching the
stream URL so odd things happen when trying to show what is playing).

The beta repo link is not published - so drop me a PM if you want to try
it.



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

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

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


Re: [SlimDevices: Plugins] [Announce] ARD Audiothek Plugin - Browse and listen content of the ARD Audiothek

2022-02-01 Thread slimhase


slimhase wrote: 
> That's great news!
> Thanks a lot and I look forward to end of next week! :)

... it's just the beginning of the week and your plugin update showed
already up.

"New to old" sorting is is active and works like a charm.

Thank you, @mzedd !



slimhase's Profile: http://forums.slimdevices.com/member.php?userid=31958
View this thread: http://forums.slimdevices.com/showthread.php?t=114332

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


Re: [SlimDevices: Plugins] Announce: Denon AVP Control Plugin

2022-02-01 Thread oliverbg1


0 You must have a USB to serial adapter ('the FTDI one is a good deal'
(https://www.amazon.fr/gp/product/B07MYYCMJT) )


0.1 Plug in your usb adapter

1 Add extensions to your piCorePlayer instance

Go to the web interface 


Code:

http://YOUR_PCP_IP/cgi-bin/xtras_extensions.cgi?




On "Available Tab" choose :
-compile.tcz and click load
-squashfs-tools.tcz and click load
-usbutils
-usb-serial-X.X.X-pcpCore-v7.tcz (match your set up)

Reboot


1.1 SSH into your pcp instance


Code:

dmesg | grep tty

 command must return a thing like this :


Code:


  ...
  usb 1-1.4: FTDI USB Serial Device converter now attached to ttyUSB0
  ...
  !! this last thing is important and must be reported in your future ser2net 
conf file !! 



2 Have a coffee

3 SSh into your Pcp instance: login/pwd are tc/piCore


3.1 
Code:

cd /tmp



3.2 Download build script


Code:

wget http://tinycorelinux.net/8.x/armv7/tcz/src/ser2net/ser2net.build

 

3.3 Make some modifications to ser2net.build


Code:


sudo vi ser2net.build 



modifiy source name and folder name variables to match new 
version of
ser2net :


Code:



  SRCNAM=ser2net-3.5.4.tar.gz
  WRKDIR=ser2net-3.5.4



Disable the uucp locking (if you want to know what is uucp 
google
it...and good luck)

add
Code:


 --with-uucp-locking=no 

 option after
Code:


 ./configure --prefix=/usr/local 



Make the build optimized for your Rpi hardware :

Replace :


Code:


  export CFLAGS="-O2 -pipe -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp"
  xport CXXFLAGS="-O2 -pipe -fno-exceptions -fno-rtti -march=armv6zk 
-mtune=arm1176jzf-s -mfpu=vfp"
  



By :


Code:


  export CFLAGS="-O2 -pipe -march=native -mfpu=vfp"
  export CXXFLAGS="-O2 -pipe -fno-exceptions -fno-rtti -march=native -mfpu=vfp"



Save and quit

3.4 Make it executable



Code:

sudo chmod 775 ser2net.build



3.5 Download ser2net sources


Code:


wget 
https://sourceforge.net/projects/ser2net/files/ser2net/ser2net-3.5.4.tar.gz/download



3.6 Build the extension !


Code:


./ser2net.build



3.7 Move your new extension on the optional extension folder:


Code:


mv /tmp/ser2net/ser2net.tcz 
/etc/sysconfig/tcedir/optional/ser2net.tcz
mv /tmp/ser2net/ser2net.tcz.list 
/etc/sysconfig/tcedir/optional/ser2net.tcz.list
mv /tmp/ser2net/ser2net.tcz.md5.txt 
/etc/sysconfig/tcedir/optional/ser2net.tcz.md5.txt



3.8 Add the extension loading at boot :

Code:


sudo echo ser2net.tcz >> /etc/sysconfig/tcedir/onboot.lst



3.9 Add the ser2net conf file



Code:

sudo touch /etc/ser2net.conf
sudo echo 
protocol,src_ip,port_to_reach_onRpi:raw:0:/dev/ttyUSB0:9600 8DATABITS NONE 
1STOPBIT >> ser2net.conf



Replace with your params

-for my configuration I use:
protocol ipv4
src_ip 0.0.0.0 (all source)
port_to_reach_onRpi 1 (because I like 1)

If you want more information about this conf file you 
can check man
file of ser2net.-

3.10 We have to tell piCorePlayer to save these setting for future
reboots :
  

Re: [SlimDevices: Plugins] Don't Stop The Music DSTM and Tidal?

2022-02-01 Thread Jaca


DavidBulluss wrote: 
> Michael, TIDAL is working beautifully with DSTM. And not a Sptify track
> in sight! You are brilliant, thank you very much.
> 
> Cheers, David+1

Thank you Michael!



3x Squeezebox Touch, 4x Squeezebox Radio, Squeezelite (RPi 3B with
HiFiBerry DAC+Pro on OSMC), Material Skin Apk, Squeeze Commander,
Logitech Media Server Version: 8.2.0 with Material Skin (Docker in
DS218+)

Jaca's Profile: http://forums.slimdevices.com/member.php?userid=58187
View this thread: http://forums.slimdevices.com/showthread.php?t=115876

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


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

2022-02-01 Thread philchillbill


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

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



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

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


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

2022-02-01 Thread philchillbill


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

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

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

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



Re: [SlimDevices: Plugins] [Announce] Ratings Light

2022-02-01 Thread streifenleopard


AF1 wrote: 
> Choose -Backup / Restore-. This will reload part of the RL settings page
> to show the Backup / Restore settings. Some settings pages like Import,
> Export, and Back/Restore include -buttons- that trigger actions like
> manual back, import or export.

Ah, this was the part I had been missing! Excellent. Thanks so much for
your patience! Now I have a substantial xml-file with values backed up.



dsm 6.2.2 (synology disk station 115) running lms 8.0 -- rpi with a
hifiberry dac+ running picoreplayer -- plugins: material skin, mai,
podcasts, musik - folge mir, squeezelite-x, ratings light, exclude
folders

streifenleopard's Profile: http://forums.slimdevices.com/member.php?userid=42019
View this thread: http://forums.slimdevices.com/showthread.php?t=113344

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


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

2022-02-01 Thread chaug


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

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

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

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

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

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

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

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

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

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



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

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

[SlimDevices: Plugins] Spotty Issue

2022-02-01 Thread Ranz


Hi!

Any suggestions? [Microsoft Visual C++ 2015-2022 Redistributable (x64) -
14.30.30708 *IS* installed]
37083
37084

Thank you

Ranz


+---+
|Filename: server.log   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=37084|
+---+


Ranz's Profile: http://forums.slimdevices.com/member.php?userid=37745
View this thread: http://forums.slimdevices.com/showthread.php?t=115877

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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-02-01 Thread harrys


MichaelPr wrote: 
> Mmhhh... I don't know why but somehow I love this 'useless' plugin
> :cool: At this point thank you very much for all the effort you've
> put in.
> 
> And thanks for fixing this annoying Windows/UNIX CRLF mismatch that
> fast. I guess it will never die :mad:

seconded... another admirer of this "useless plugin" :)

Must be a PITA to maintain dealing with googles (probably necessary)
endless backend changes!



harrys's Profile: http://forums.slimdevices.com/member.php?userid=66525
View this thread: http://forums.slimdevices.com/showthread.php?t=105840

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


Re: [SlimDevices: Plugins] [Announce] Music Similarity DSTM mixer

2022-02-01 Thread cpd73


bakker_be wrote: 
> Initial testing seemed promising. Had a couple of strange ones though: I
> started out with the "Born Again" album by Black Sabbath, admittedly a
> bit of an outlier sonically, and while the overall mix was, expectedly,
> rather metal and hard rock based, to my astonishment it also included a
> 50's big band track. Looking through the log it seems as though there
> were more of those indicated as "USABLE" tracks, along with some
> classical music and other Jazz tracks ...

Musly uses a songs timbre to determine similar tracks - but it does not
analyse the whole track, only (usually) the middle. Essentia is then
used to filter out based opon key and bpm - and attributes, if
available. I've personally defined genre groups as I don't really want
Metal and Pop tracks bineg mixed.

If you have analysed with Essentia on Linux you can try using that for
the similarity - or even mix Musly and Essentia.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.

cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=115609

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


Re: [SlimDevices: Plugins] [Announce] Music Similarity DSTM mixer

2022-02-01 Thread bakker_be


cpd73 wrote: 
> So, only 67 hours to go :) Hope the mixes are worth it after that!

Initial testing seemed promising. Had a couple of strange ones though: I
started out with the "Born Again" album by Black Sabbath, admittedly a
bit of an outlier sonically, and while the overall mix was, expectedly,
rather metal and hard rock based, to my astonishment it also included a
50's big band track. Looking through the log it seems as though there
were more of those indicated as "USABLE" tracks, along with some
classical music and other Jazz tracks ...



Main System: Touch; Marantz SR-5004 + TMA Premium 905 + TMA Premium 901
+ Teufel Ultima 20 Mk 2 + BK Monolith+ FF + Lenovo T460 + Kodi + Pioneer
PDP-LX5090H
Workshop: iPad 32GB Wifi + Squeezepad (local playback activated)
Wherever needed: Acer Iconia Tab A700 + Squeezeplayer
Kitchen: iPhone 5s + iPeng (local playback activated) + NAD 312 + Teufel
Ultima 20 Mk 2
Headphone (cozy corner): Lenovo T550 + Squeezelite-X + Cyrus Soundkey +
Topping A30 + Focal Elear
Car: TBC ...

bakker_be's Profile: http://forums.slimdevices.com/member.php?userid=30369
View this thread: http://forums.slimdevices.com/showthread.php?t=115609

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


Re: [SlimDevices: Plugins] Announce: Denon AVP Control Plugin

2022-02-01 Thread oliverbg1


SamY wrote: 
> Hi, Oliver. From what I can make of the above thread, it looks as if you
> were able to resolve your problem getting ser2net (and thus the Denon
> Avp Control plugin) to work correctly on your piCorePlayer machine by
> adding the '-u' option to the command line (although it also seems that
> nobody completely understands why. ;-) .
> In any case, congratulations. Let us know if you need any more help with
> the plugin or have any more ideas for improving it.


Hello Sam,

I am working on a little workaround to post here (and everywhere). 

You're right the -u option is working... but, as you said it is a little
too magical for the time. My final goal is to remove this -u option by
compiling ser2net extension without the "uucp locking".

I went on holiday last week, so i just began my test yesterday. I can
say, I finally succeed removing the -u option to starting ser2net on my
piCorePlayer.

The AVP plugin is working as a charm in this configuration. Thank you
(and the creator) again for this great work. 

Olivier



oliverbg1's Profile: http://forums.slimdevices.com/member.php?userid=71652
View this thread: http://forums.slimdevices.com/showthread.php?t=60114

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2022-02-01 Thread cpd73


cpd73 wrote: 
> 
> > 
Code:

  >   > 
  > Slim::Formats::Playlists::M3U::write (270) Error: Couldn't retrieve 
objectForUrl 
  > 

> > 

To follow up on this, I've modified my DSTM mixer to call "Slim :: Utils
:: Misc :: fileURLFromPath(Slim :: Utils :: Misc ::
pathFromFileURL($path));" - in effect converting Python's URL to a plain
file path and then converting this to an LMS URL. This encoding then
seems to be correct, but I still get the above error. When I Look at the
path logged for that error it does exist in the DB, so I'm not sure what
is going wrong there - but the path is now correct (or rather now
matches what LMS expects).



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.

cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


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

2022-02-01 Thread philchillbill


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

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

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

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



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

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


Re: [SlimDevices: Plugins] [Announce] Music Similarity DSTM mixer

2022-02-01 Thread cpd73

bakker_be wrote: 
> A follow-up: Doing "-m" scan indeed populated the empty metadata fields,
> and mixing did indeed work. Given that the version I had was "older",
> I've done a new git clone and initiated a new scan. I can confirm that
> the current code indeed does populate *_all_* fields in one go. Only 78%
> of my ± 121000 tracks still to go (scanning at around 1400 tracks/hour
> and I'm in business again :)

So, only 67 hours to go :) Hope the mixes are worth it after that!



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.

cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=115609

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


Re: [SlimDevices: Plugins] [Announce] Music Similarity DSTM mixer

2022-02-01 Thread bakker_be

cpd73 wrote: 
> I -think- you are correct, and the missing metadata is the issue. I'll
> see if there is an issue in the code that is causing this missing
> metadata.

A follow-up: Doing "-m" scan indeed populated the empty metadata fields,
and mixing did indeed work. Given that the version I had was "older",
I've done a new git clone and initiated a new scan. I can confirm that
the current code indeed does populate *_all_* fields in one go. Only 78%
of my ± 121000 tracks still to go (scanning at around 1400 tracks/hour
and I'm in business again :)



Main System: Touch; Marantz SR-5004 + TMA Premium 905 + TMA Premium 901
+ Teufel Ultima 20 Mk 2 + BK Monolith+ FF + Lenovo T460 + Kodi + Pioneer
PDP-LX5090H
Workshop: iPad 32GB Wifi + Squeezepad (local playback activated)
Wherever needed: Acer Iconia Tab A700 + Squeezeplayer
Kitchen: iPhone 5s + iPeng (local playback activated) + NAD 312 + Teufel
Ultima 20 Mk 2
Headphone (cozy corner): Lenovo T550 + Squeezelite-X + Cyrus Soundkey +
Topping A30 + Focal Elear
Car: TBC ...

bakker_be's Profile: http://forums.slimdevices.com/member.php?userid=30369
View this thread: http://forums.slimdevices.com/showthread.php?t=115609

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


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

2022-02-01 Thread philchillbill


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

Good to hear :cool:

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

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

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

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

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

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

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

Indeed. 

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

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

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

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

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