Paul Webster wrote:
> Would this help in setting the user-agent header?
> https://github.com/axios/axios/issues/2560
I'm not unhappy with using 'axios' as the string. In LMS, the name
appearing in the GUI is set in Slim::Web::HTTP.pm with
Code:
--------------------
$client->name( $agent . ' ' . string('FROM') . ' ' . $address );
--------------------
so no matter what I choose, the player will always have a name like 'XXX
from Alexa'.
Maybe updating Slim::Web::HTTP.pm so that if the player name contains
the string 'Alexa' the $client becomes 'Amazon Echo' would be more
elegant.
------------------------------------------------------------------------
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
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins