Re: [SlimDevices: Plugins] [Plugin Request/Offer] Mute or Skip tracks on a Blacklist

2018-03-04 Thread Roland0
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

Re: [SlimDevices: Plugins] [Plugin Request/Offer] Mute or Skip tracks on a Blacklist

2018-03-02 Thread mkkyah
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

Re: [SlimDevices: Plugins] [Plugin Request/Offer] Mute or Skip tracks on a Blacklist

2018-01-15 Thread mkkyah
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

Re: [SlimDevices: Plugins] [Plugin Request/Offer] Mute or Skip tracks on a Blacklist

2018-01-06 Thread Roland0
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 ] ):

Re: [SlimDevices: Plugins] [Plugin Request/Offer] Mute or Skip tracks on a Blacklist

2018-01-06 Thread mkkyah
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:

Re: [SlimDevices: Plugins] [Plugin Request/Offer] Mute or Skip tracks on a Blacklist

2018-01-05 Thread Roland0
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

Re: [SlimDevices: Plugins] [Plugin Request/Offer] Mute or Skip tracks on a Blacklist

2018-01-04 Thread mkkyah
Roland0 wrote: > In the script, try changing > > Code: > > > if [[ $CSONG == "$TRIGGER" ]]; then > > > > to > > Code: > > > if [[ $CSONG == $TRIGGER ]]; then > > > > > to check your

Re: [SlimDevices: Plugins] [Plugin Request/Offer] Mute or Skip tracks on a Blacklist

2018-01-04 Thread Roland0
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 ==

Re: [SlimDevices: Plugins] [Plugin Request/Offer] Mute or Skip tracks on a Blacklist

2018-01-04 Thread mkkyah
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:

Re: [SlimDevices: Plugins] [Plugin Request/Offer] Mute or Skip tracks on a Blacklist

2018-01-03 Thread Roland0
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: >

Re: [SlimDevices: Plugins] [Plugin Request/Offer] Mute or Skip tracks on a Blacklist

2018-01-03 Thread mkkyah
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:

Re: [SlimDevices: Plugins] [Plugin Request/Offer] Mute or Skip tracks on a Blacklist

2018-01-03 Thread mkkyah
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. > >

Re: [SlimDevices: Plugins] [Plugin Request/Offer] Mute or Skip tracks on a Blacklist

2018-01-03 Thread mkkyah
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)"

Re: [SlimDevices: Plugins] [Plugin Request/Offer] Mute or Skip tracks on a Blacklist

2018-01-03 Thread Roland0
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 >

Re: [SlimDevices: Plugins] [Plugin Request/Offer] Mute or Skip tracks on a Blacklist

2018-01-03 Thread mkkyah
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,

Re: [SlimDevices: Plugins] [Plugin Request/Offer] Mute or Skip tracks on a Blacklist

2018-01-02 Thread Roland0
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

Re: [SlimDevices: Plugins] [Plugin Request/Offer] Mute or Skip tracks on a Blacklist

2018-01-02 Thread mkkyah
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

Re: [SlimDevices: Plugins] [Plugin Request/Offer] Mute or Skip tracks on a Blacklist

2018-01-01 Thread Roland0
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

Re: [SlimDevices: Plugins] [Plugin Request/Offer] Mute or Skip tracks on a Blacklist

2018-01-01 Thread mkkyah
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

Re: [SlimDevices: Plugins] [Plugin Request/Offer] Mute or Skip tracks on a Blacklist

2018-01-01 Thread Roland0
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

Re: [SlimDevices: Plugins] [Plugin Request/Offer] Mute or Skip tracks on a Blacklist

2018-01-01 Thread mkkyah
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

Re: [SlimDevices: Plugins] [Plugin Request/Offer] Mute or Skip tracks on a Blacklist

2017-09-05 Thread mkkyah
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

Re: [SlimDevices: Plugins] [Plugin Request/Offer] Mute or Skip tracks on a Blacklist

2017-08-27 Thread Roland0
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))

Re: [SlimDevices: Plugins] [Plugin Request/Offer] Mute or Skip tracks on a Blacklist

2017-08-20 Thread edwin2006
*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

[SlimDevices: Plugins] [Plugin Request/Offer] Mute or Skip tracks on a Blacklist

2016-10-08 Thread mkkyah
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