mkkyah wrote:
>
> There is one thing I want to ask, is there a chance that the script
> reacts faster? With some stations the announcement starts before the
> mute, even with lower sleep values. I think the script is checking the
> track 3 times before react, is that always necessary?
The
Dear Roland,
I was using the script for a while and it's working very well on my
system with a few radios. Thanks again.
There is one thing I want to ask, is there a chance that the script
reacts faster? With some stations the announcement starts before the
mute, even with lower sleep values. I
Roland0 wrote:
> Well, maybe your setup doesn't need to have the volume restored. Try
> changing
> >
Code:
> > echo "$PLID mixer volume $VOL"|nc6 --send-only $LMS 9090 &>/dev/null
> >
> to
> >
Code:
> > #echo "$PLID mixer
mkkyah wrote:
> I have tested it with Volume set to 72 and it couldn't unmute again.
> Mute and TRIGGER match was very successful. Debug is like this:
>
> P: [99%3A22%3A09%3Af2%3A5f%3A77] CSONG:
> [ABC%20Lounge%20Radio%20-%20Sweep%2046 ] (old:
> [Peter%20Pearson%20-%20Smooth%20talking ] ):
Roland0 wrote:
> So what is the volume of your player before, while and after muting?
I have tested it with Volume set to 72 and it couldn't unmute again.
Mute and TRIGGER match was very successful. Debug is like this:
P: [99%3A22%3A09%3Af2%3A5f%3A77] CSONG:
mkkyah wrote:
>
> But "unmute" problem exist. Unmute volume is negative. I don't know why
> it worked a few times normally.
>
Roland0 wrote:
>
> Check the volume of your player before, while and after muting (for some
> reason, when testing with squeezelite, it wasn't enough to unmute after
Roland0 wrote:
> In the script, try changing
> >
Code:
> >
> if [[ $CSONG == "$TRIGGER" ]]; then
>
> >
> to
> >
Code:
> >
> if [[ $CSONG == $TRIGGER ]]; then
>
> >
>
> to check your
mkkyah wrote:
> I have tried several versions of your pattern but shouldn't
> TRIGGER="@(ABC%20Lounge*) work?
In the script, try changing
Code:
if [[ $CSONG == "$TRIGGER" ]]; then
to
Code:
if [[ $CSONG ==
Roland0 wrote:
> And what is the song name (as reported by the script) which isn't
> matched?
>
this is the announcement and it's ending with different numbers all the
time, I have tried several versions of your pattern but shouldn't
TRIGGER="@(ABC%20Lounge*) work?
P:
mkkyah wrote:
>
> I'm trying to use a pattern for ABC Lounge Jazz Radio
> TRIGGER="@(*Sweep*ABC%20Lounge*)"
>
And what is the song name (as reported by the script) which isn't
matched?
mkkyah wrote:
> Mute is working all the time, but unmute is problematic again. Output
> seems ok to me:
>
mkkyah wrote:
> I'm trying to use a pattern for ABC Lounge Jazz Radio
> TRIGGER="@(*Sweep*ABC%20Lounge*)"
Mute is working all the time, but unmute is problematic again. Output
seems ok to me:
P: [99%3A22%3A09%3Af2%3A5f%3A77] CSONG:
[Martine%20Girault%20-%20The%20Revival%20(Radio%20Mix) ] (old:
mkkyah wrote:
> Sorry I forgot to paste the output.
> -- This time I did test it with an actual radio station, not Deezer. The
> output difference is that after unmute no volume level is printed, but
> audio came back.
> -- I couldn't make the wildcard part work.
>
>
Roland0 wrote:
> What's the exact output?
>
>
>
> After
> #!/bin/bash
> add
> >
Code:
> > shopt -s extglob
> >
> then you can use pattern lists like this:
> >
Code:
> > TRIGGER="@(*pattern1*|*pattern2)"
mkkyah wrote:
>
> -- I read unmute command when TRIGGER changes, but *LMS stays on mute*.
> -- This is not important for real use purpose, but skipping on the test
> track causes unmute.
>
What's the exact output?
>
> Can we use wildcards like *,? and can we use a TRIGGER list seperated
>
Roland0 wrote:
> Seems not. Check with >
Code:
> > uname -n
> > in the shell, or use the IP address, or use localhost if the script
> is running on the server itself.
>
>
> You should always use an unprivileged user for stuff like this.
Ok,
mkkyah wrote:
>
> nc6: forward host lookup failed for remote endpoint OdroidLMS: Name or
> service not known
> Am I using correct "LMS="?
>
Seems not. Check with
Code:
uname -n
in the shell, or use the IP address, or use localhost if the script
Roland0 wrote:
> Don't use -x, execute the script normally
> if DEBUG=1 you should see some output just by running the script,
> provided the connection to your LMS server works, check with
> >
Code:
> > echo "players 0 99"|nc6 -q1 OdroidLMS 9090
mkkyah wrote:
> This is what I get when using bash -x:
>
Don't use -x, execute the script normally
if DEBUG=1 you should see some output just by running the script,
provided the connection to your LMS server works, check with
Code:
echo "players 0 99"|nc6 -q1
Roland0 wrote:
> Change the line
> >
Code:
> >
> DEBUG=
>
> >
> to
> >
Code:
> >
> DEBUG=1
>
> >
> and check the output.
> Make sure your trigger matches exactly (e.g. incl. the encoded
mkkyah wrote:
>
> I'm trying to use the script, but no success..
> When I use test track with the TRIGGER name nothing happens..
Change the line
Code:
DEBUG=
to
Code:
DEBUG=1
and check
Roland0 wrote:
> fyi, there's a shell script for this posted 'here'
> (http://forums.slimdevices.com/showthread.php?107846-Werbung-bei-Internet-Radio-ausblenden=892324=1#post892324)
Hi Roland,
I'm trying to use the script, but no success.. Here is what I did so
far:
-- I did install netcat6
Roland0 wrote:
> fyi, there's a shell script for this posted 'here'
> (http://forums.slimdevices.com/showthread.php?107846-Werbung-bei-Internet-Radio-ausblenden=892324=1#post892324)
Yes, Thank you for that. I've been on that thread.
Although I don't know how to use it, I believe I will search
fyi, there's a shell script for this posted 'here'
(http://forums.slimdevices.com/showthread.php?107846-Werbung-bei-Internet-Radio-ausblenden=892324=1#post892324)
SW: extGUI4LMS - new web UI: 'forum'
(http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta))
*SqueezeBoxes:* 2x SB2 (Living room and study), 1x Radio (Kitchen), 1x
Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x piCorePlayer (Garden)
1x OSMC + Squeezelite (Movie room), 1x Touch (Bedroom)
*Server:* LMS on Pi3 7.9.1. on PcP 3.21
*Network:* AVM Fritzbox, D-Link Smart Switch 24p, 3x
Hi,
As I still have no skills to create a new plugin, I'm just suggesting.
Can we have a simple plugin which has a blacklist in settings for the
artist name or/and track name. Than if one of the names on the list
matched, LMS can mute or skip the track.
This can be useful for any plugin playing
25 matches
Mail list logo