Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?

2022-03-09 Thread slartibartfast


Hellsblade wrote: 
> It came to my attention that when searching for "The Eagles" I got no
> bio. 
> After searching and changing the Album artist to "Eagles" I got the
> bio.
> When I search all music "The Beatles" You will get the bio.
> But when searching for "Beatles" you get nothing.
> So the opposite.
> 
> Maybe you can add the same trick as with the sort option.
> Do a second search without;
> > 
Code:

  >   > The El La Los Las Le Les

> > :cool:
> 
> Greetings,
> HenkThis would be a Music and Artist Information plugin issue. The daft
thing is the first line of the bio under "Eagles" starts "The Eagles"
[emoji1787]

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=116052

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


Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?

2022-03-09 Thread Hellsblade


It came to my attention that when searching for "The Eagles" I got no
bio. 
After searching and changing the Album artist to "Eagles" I got the
bio.
When I search all music "The Beatles" You will get the bio.
But when searching for "Beatles" you get nothing.
So the opposite.

Maybe you can add the same trick as with the sort option.
Do a second search without;

Code:

The El La Los Las Le Les

:cool:

Greetings,
Henk



Hellsblade's Profile: http://forums.slimdevices.com/member.php?userid=4283
View this thread: http://forums.slimdevices.com/showthread.php?t=116052

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


Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?

2022-03-02 Thread Hellsblade


bpa wrote: 
> Not sure if you're still using the ncat script but completeness. 
> 
> Attached is a V2 of the script which is more efficient
> 
> 1. It uses CLI "status" command to return all metadata in one call.
> 2. It uses the "subscribe" option of the "status" command so that status
> message are generated unsolicited when changes happens (e.g. new track,
> player mode) or after a time lime (currently 20 secs). 
> 
> So no need for polling loop in batch file.

Thank you @bpa. But yesterday I got this
https://forums.slimdevices.com/showthread.php?112809-Pipe-Squeezelite-to-Icecast=1049301=1#post1049301
from Matt. As you can read I gave it a shot. And I got it work. So for
now I use his concept with success.

Regards,
Henk



Hellsblade's Profile: http://forums.slimdevices.com/member.php?userid=4283
View this thread: http://forums.slimdevices.com/showthread.php?t=116052

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


Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?

2022-03-02 Thread bpa


Not sure if you're still using the ncat script but completeness. 

Attached is a V2 of the script which is more efficient

1. It uses CLI "status" command to return all metadata in one call.
2. It uses the "subscribe" option of the "status" command so that status
message are generated unsolicited when changes happens (e.g. new track,
player mode) or after a time lime (currently 20 secs). 

So no need for polling loop in batch file.


+---+
|Filename: cli_status_v2.lua.txt|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=37389|
+---+


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

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


Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?

2022-03-01 Thread Michael Herger

Jellyfin also writes out an album.nfo in the album dir. But it's not
used yet by LMS or at least it gives no error :D.


MAI would read reviews from album.nfo, but none of the other 
information. Therefore the sample file you sent me would be ignored.

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


Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?

2022-03-01 Thread Hellsblade


mherger wrote: 
> >Thanks a lot for those file! That .nfo file indeed was causing the
> issue. I'll have a fix ready soon.

Jellyfin also writes out an album.nfo in the album dir. But it's not
used yet by LMS or at least it gives no error :D.

I uploaded it so you can have a look.

Greetings, Henk



Hellsblade's Profile: http://forums.slimdevices.com/member.php?userid=4283
View this thread: http://forums.slimdevices.com/showthread.php?t=116052

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


Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?

2022-03-01 Thread Michael Herger

Yes I do have those kind of files. I will send example of what's in the
root of the artist folder. The most are crazy old. But there are also
some new ones created by a Jellyfin. Which I started to use when i
switched to the PI oktober last year.


Thanks a lot for those file! That .nfo file indeed was causing the 
issue. I'll have a fix ready soon.

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


Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?

2022-03-01 Thread Hellsblade


mherger wrote: 
> > I first turned on debug level on MAI in the logging. And i didn't see
> > new errors after that I turned on info and saw the new errors
> passing.
> > The log file is server.log (8).zip
> 
> Debug would give us more information than info. And that's what I need 
> here. Because it would tell us whether anything was found, the raw data
> 
> etc.
> 
> Would you have a local file with the biography of Jackson Browne or The
> 
> Eagles? Potential file names would be 'artist.nfo', 'biography.html?', 
> 'bio.html?', 'biography.txt', 'bio.txt'.

So no surpise that when I deleted the files in the artist dir the error
was gone :mad:

I will turn of the option in jellyfin and delete all the nfo files from
the artist (or any other dir). Can put them in a separate dir for
jellyfin if I still want to use them.

I'm sorry I've wasted your time with this.:confused::rolleyes:



Hellsblade's Profile: http://forums.slimdevices.com/member.php?userid=4283
View this thread: http://forums.slimdevices.com/showthread.php?t=116052

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


Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?

2022-03-01 Thread Hellsblade


mherger wrote: 
> > I first turned on debug level on MAI in the logging. And i didn't see
> > new errors after that I turned on info and saw the new errors
> passing.
> > The log file is server.log (8).zip
> 
> Debug would give us more information than info. And that's what I need 
> here. Because it would tell us whether anything was found, the raw data
> 
> etc.
> 
> Would you have a local file with the biography of Jackson Browne or The
> 
> Eagles? Potential file names would be 'artist.nfo', 'biography.html?', 
> 'bio.html?', 'biography.txt', 'bio.txt'.

OK. I turned debug back and will send a new file.

Yes I do have those kind of files. I will send example of what's in the
root of the artist folder. The most are crazy old. But there are also
some new ones created by a Jellyfin. Which I started to use when i
switched to the PI oktober last year.
I can see in the log it tries to work with the artist.nfo which is a
file created by Jellyfin.


+---+
|Filename: Screenshot 2022-03-01 at 14.04.29.jpg|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=37381|
+---+


Hellsblade's Profile: http://forums.slimdevices.com/member.php?userid=4283
View this thread: http://forums.slimdevices.com/showthread.php?t=116052

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


Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?

2022-03-01 Thread Michael Herger

I first turned on debug level on MAI in the logging. And i didn't see
new errors after that I turned on info and saw the new errors passing.
The log file is server.log (8).zip


Debug would give us more information than info. And that's what I need 
here. Because it would tell us whether anything was found, the raw data 
etc.


Would you have a local file with the biography of Jackson Browne or The 
Eagles? Potential file names would be 'artist.nfo', 'biography.html?', 
'bio.html?', 'biography.txt', 'bio.txt'.

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


Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?

2022-03-01 Thread Hellsblade


Hellsblade wrote: 
> I will try and find the logging for MAI and send a new logfile.

I first turned on debug level on MAI in the logging. And i didn't see
new errors after that I turned on info and saw the new errors passing.
The log file is server.log (8).zip



Hellsblade's Profile: http://forums.slimdevices.com/member.php?userid=4283
View this thread: http://forums.slimdevices.com/showthread.php?t=116052

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


Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?

2022-03-01 Thread Hellsblade


mherger wrote: 
> > Happy it contained the new MAI, because it's a bit of hassle to push
> > only MAI to a docker image :)
> > So I just rolled out the dev docker image version.
> 
> Are you sure you're using the latest MAI version? Please enable logging
> 
> for plugin.musicartistinfo, until you get a whole lot of output plus the
> 
> old error.

Server

Version: 8.3.0 - 1646025508 @ Mon Feb 28 06:51:28 CET 2022
Hostname: 82e2e296dceb
Server IP Address: 172.24.0.2
Operating system: Debian (Docker) - EN - utf8
Platform Architecture: armv7l-linux
Perl Version: 5.32.1 - arm-linux-gnueabihf-thread-multi-64int
Audio::Scan: 1.02
IO::Socket::SSL: 2.069
Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)
Library

Total genres: 68
Total artists: 4990
Total albums: 1872
Total songs: 31118
Total duration: 96 days 10:19:29
Last scan: 27/02/2022 20:52:47
Plugins

Additional Browse Modes 1.0
Customize Device 1.0
Date and Time 1.0
Don't Stop The Music 1.0.0
Drag & drop music files to play 0.1
Full text search 1.0.0
Info Browser 1.0
Last.fm Audioscrobbler 1.0
Material Skin 2.9.1
Music and Artist Information 1.7.4
Music Information Screen 4.4.12
mysqueezebox.com services handler 1.0
Network Test 1.0
Online Music Library Integration 1.0
Playlist Manager 6.1
Presets Editor 1.0
Radio 1.0
Random Mix 1.0
Remote Music Libraries 1.0
Rescan Music Library 1.0
RSS News Ticker 1.0
Save Playlist 1.0
Song Scanner 2.0
Visualizer Screensaver 1.0

I will try and find the logging for MAI and send a new logfile.



Hellsblade's Profile: http://forums.slimdevices.com/member.php?userid=4283
View this thread: http://forums.slimdevices.com/showthread.php?t=116052

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


Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?

2022-03-01 Thread Michael Herger

Happy it contained the new MAI, because it's a bit of hassle to push
only MAI to a docker image :)
So I just rolled out the dev docker image version.


Are you sure you're using the latest MAI version? Please enable logging 
for plugin.musicartistinfo, until you get a whole lot of output plus the 
old error.

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


Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?

2022-03-01 Thread Hellsblade


Goodmorning Michael,

I just saw the new image.

Happy it contained the new MAI, because it's a bit of hassle to push
only MAI to a docker image :)
So I just rolled out the dev docker image version.
I had to restart the pulseaudio system service, the container two times
,squeezelite and darkice before i got the stream and sound back on HDMI
and they all seem to work OK.:D
I've uploaded the log to your dropbox. (no difference in the error.)
Empty response is from what i read a timeout from the local browser?
But i'm no expert in that field.

Greetings, Henk



Hellsblade's Profile: http://forums.slimdevices.com/member.php?userid=4283
View this thread: http://forums.slimdevices.com/showthread.php?t=116052

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


Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?

2022-02-28 Thread Hellsblade


mherger wrote: 
> Please give MAI 1.7.4 a try. It should be available in a few hours.

OK sure, I will try.
I have one more observation. I have all my URL's behind NGINX proxy
manager with https
If I look into my browser console (f12) i see on the jason request

Code:

VM12:1  POST https://lms.rpi-lite.lan/jsonrpc.js 502


If i go straight to http:/192.198.1,29:9000 see

Code:

POST http://192.168.1.29:9000/jsonrpc.js net::ERR_EMPTY_RESPONSE



As the time passes I now only get errors with every request on the bio.



Hellsblade's Profile: http://forums.slimdevices.com/member.php?userid=4283
View this thread: http://forums.slimdevices.com/showthread.php?t=116052

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


Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?

2022-02-28 Thread Michael Herger

Please give MAI 1.7.4 a try. It should be available in a few hours.
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?

2022-02-28 Thread Hellsblade


bpa wrote: 
> ncat was only suggested becuase you needed to run on Windows.
> There are much better solution for a Linux based system.

Must be:D

I have a windows background (Was a system engineer in a datacenter for
many years) So i started on a VM. Because ices2 on the PI did not seem
work stable. I started using darkice and there is no option to insert
metadata unless you use some http method which i am not familiar with
(yet).



Hellsblade's Profile: http://forums.slimdevices.com/member.php?userid=4283
View this thread: http://forums.slimdevices.com/showthread.php?t=116052

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


Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?

2022-02-28 Thread bpa


Hellsblade wrote: 
> I'm running everything on the RPI now. There is also an ncat for the PI.
> That was my aim. The windows VM is no longer in play.
> The other metadata script was not working well for me. I don't know why.
> Different platform? It was presented in combination with ices2. which
> also did not work for me.
> Just to be clear i'm not blaming anyone. I'm very thankful for all the
> help i already received. 
> 
> My script to loop looked liked this;
> > 
Code:

  >   > #!/bin/bash
  > while [ 1 ]; do  ncat 192.168.1.29  9090 --lua-exec cli_status.lua 
>/dev/null 2>&1 ; sleep 5; done
  > 

> > 
> 
> Greetings Henk.

ncat was only suggested becuase you needed to run on Windows.

There are much better solution for a Linux based system.



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

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


Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?

2022-02-28 Thread bpa


Hellsblade wrote: 
> That's was because I wanted the timing to be OK when the song changes.
> You don't want it change the artist album and track 20 seconds into the
> song or something.
Polling is not the best way to do especially short polling - as I said
in a post 
> 2. If you want notification on changes you use the CLI command "listen
> 1" - then unsolicited changes will be sent. The script then has to
> change into a loop whose action looks at strings received, waits for a
> "newmetadata" message, then does inquiry.
> look at LMS WebGUI /Help/Technical Information/Command Line Interface as
> there are alternatives such as "subscribe status" 

At least change to 10 secs.

> By the way read my remark to Michael I forgot to add that the errors
> still appears even without the script running.
> So I think the script has nothing to do with it.

I wouldn't be so sure.  I've known Windows to leave TCP connections
hanging, so script may close but for a while after closing the
connection is half in place and maybe causing the error.



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

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


Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?

2022-02-28 Thread Hellsblade


bpa wrote: 
> The OP was given another Linux based solution for metadata - I thought
> they had gone with that.
> 
> I think "ncat" has closing connection down issues and sometimes Windows
> is not good at frequent TCP setups.
> "ncat" provided a simple scripting facility without having to installing
> Python or write a Powershell script.
> I think the ncat Lua scripts are intended to be linear - do one action -
> couldn't see how to do loops safely in the script as I didn't any "read
> with timeout" facility.

I'm running everything on the RPI now. There is also an ncat for the PI.
That was my aim. The windows VM is no longer in play.
The other metadata script was not working well for me. I don't know why.
Different platform? It was presented in combination with ices2. which
also did not work for me.
Just to be clear i'm not blaming anyone. I'm very thankful for all the
help i already received. 

My script to loop looked liked this;

Code:

#!/bin/bash
  while [ 1 ]; do  ncat 192.168.1.29  9090 --lua-exec cli_status.lua >/dev/null 
2>&1 ; sleep 5; done
  



Greetings Henk.



Hellsblade's Profile: http://forums.slimdevices.com/member.php?userid=4283
View this thread: http://forums.slimdevices.com/showthread.php?t=116052

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


Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?

2022-02-28 Thread Hellsblade


bpa wrote: 
> Why runs every 5 seconds ? 
> No audio track will change every 5 secs !!
> 
> IIRC There were other suggestion made to to make it a proper script and
> deal with real states (e.g. what to display if player is stopped, when
> player is paused ?)

That's was because I wanted the timing to be OK when the song changes.
You don't want it change the artist album and track 20 seconds into the
song or something.

By the way read my remark to Michael I forgot to add that the errors
still appears even without the script running.
So I think the script has nothing to do with it.

Greetings Henk.



Hellsblade's Profile: http://forums.slimdevices.com/member.php?userid=4283
View this thread: http://forums.slimdevices.com/showthread.php?t=116052

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


Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?

2022-02-28 Thread bpa


mherger wrote: 
> > Why runs every 5 seconds ?
> > No audio track will change every 5 secs !!
> 
> It's the evil nature of polling: it's always too fast, or too slow :-).

The OP was given another Linux based solution for metadata - I thought
they had gone with that.

I think "ncat" has closing connection down issues and sometimes Windows
is not good at frequent TCP setups.
"ncat" provided a simple scripting facility without having to installing
Python or write a Powershell script.
I think the ncat Lua scripts are intended to be linear - do one action -
couldn't see how to do loops safely in the script as I didn't any "read
with timeout" facility.



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

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


Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?

2022-02-28 Thread Michael Herger

Why runs every 5 seconds ?
No audio track will change every 5 secs !!


It's the evil nature of polling: it's always too fast, or too slow :-).
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?

2022-02-28 Thread Hellsblade


mherger wrote: 
> > When i killed that script (running every 5 seconds), both messages
> seem
> > to have disappeared. I will try to get in touch with him to ask about
> > this error.
> 
> I tried to reproduce the script's commands, and they IMHO look good. But
> 
> I personally believe it's way too convoluted for the task. But I might 
> be missing something - and that's probably not the point here. I must 
> assume you modified the script to use your MAC address. Maybe you post 
> it here to see whether something else accidentally changed?

I only added the second tip and it was running fine. But because i'm
using darkice at the moment I have no use for it, because my ices2
client is very unstable. It even locks my terminal until I kill it
(running in the background.

To come back to your question about the clients; I'm using 
squeezelite-x on windows, chrome on the mac/android and a squeezebox
radio. And the precompiled squeezelite connecting to the default output
being catched with darkice going to icecast.

I've uploaded the script to your dropbox together with the zipped
logfile.

Thanks in advance.
Greetings Henk



Hellsblade's Profile: http://forums.slimdevices.com/member.php?userid=4283
View this thread: http://forums.slimdevices.com/showthread.php?t=116052

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


Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?

2022-02-28 Thread bpa


Hellsblade wrote: 
> When i killed that script (running every 5 seconds), both messages seem
> to have disappeared. I will try to get in touch with him to ask about
> this error.

Why runs every 5 seconds ? 
No audio track will change every 5 secs !!

IIRC There were other suggestion made to to make it a proper script and
deal with real states (e.g. what to display if player is stopped, when
player is paused ?)



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

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


Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?

2022-02-28 Thread bpa


mherger wrote: 
> > When i killed that script (running every 5 seconds), both messages
> seem
> > to have disappeared. I will try to get in touch with him to ask about
> > this error.
> 
> I tried to reproduce the script's commands, and they IMHO look good. But
> 
> I personally believe it's way too convoluted for the task. But I might 
> be missing something - and that's probably not the point here. I must 
> assume you modified the script to use your MAC address. Maybe you post 
> it here to see whether something else accidentally changed?

The script was just a PoC for a request for a oneline request to get
playing data and it must runon WINDOWS. 

There are plenty of things to be done to make it better (e..g. validate
check the MAC address) 

As the file is now being used for metadata of a playing stream,  I'm
guessing there is an "outer loop" somewhere repeatedly calling this
"ncat command. The problem could be in the repeatedly calling. Could it
be calling too often - not shutting down TCP connections properly (it is
an issue with ncat scripts). Windows may also be a factor.



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

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


Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?

2022-02-28 Thread Michael Herger

When i killed that script (running every 5 seconds), both messages seem
to have disappeared. I will try to get in touch with him to ask about
this error.


I tried to reproduce the script's commands, and they IMHO look good. But 
I personally believe it's way too convoluted for the task. But I might 
be missing something - and that's probably not the point here. I must 
assume you modified the script to use your MAC address. Maybe you post 
it here to see whether something else accidentally changed?

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


Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?

2022-02-28 Thread Hellsblade


mherger wrote: 
> > 
> Anything's possible. We don't have enough information to say what is 
> causing the problem. Even piHole might be - though I'm using it 
> myself... are you using any kind of custom rules in piHole?

Thanks. But to single out the problem I started running only one client
to find the one that's causing the problem. Your question about what
clients i'm using made me realize I forgot to turn off one
client/script.
It's a LUA that i got from @bpa in this thread
https://forums.slimdevices.com/showthread.php?115989-Oneliner-to-get-currentsong-or-now-playing-artist-songtitle-on-specific-player/page2

https://forums.slimdevices.com/attachment.php?attachmentid=37268=1645357844

When i killed that script (running every 5 seconds), both messages seem
to have disappeared. I will try to get in touch with him to ask about
this error.
Or do you have an explanation?
When the error happens I also get failed to retrieve in the web
interface bio screen.
The lua script is maybe locking the MAI interface?

Greetings, Henk



Hellsblade's Profile: http://forums.slimdevices.com/member.php?userid=4283
View this thread: http://forums.slimdevices.com/showthread.php?t=116052

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


Re: [SlimDevices: SqueezeCenter] Bug or Raspberry Pi to slow?

2022-02-28 Thread Michael Herger

My log is flooded with this error;


What kind of clients are you using?


 [22-02-28 06:31:26.8521] Slim::Web::JSONRPC::requestMethod (455) Request 
failed with error: Bad dispatch!


This usually means that a client (web UI, Squeezeplay, mobile app etc.) 
is sending an invalid request. It has nothing to do with the MAI issue, 
has it?



   [22-02-28 07:03:52.6328] Slim::Control::Request::execute (1888) Error: While 
trying to run function coderef 
[Plugins::MusicArtistInfo::ArtistInfo::getBiographyCLI]: [Not an ARRAY 
reference at 
/config/cache/InstalledPlugins/Plugins/MusicArtistInfo/ArtistInfo.pm line 229.]


Is there more context? Can you reproduce this issue? If so: please 
enable logging for plugin.musicartistinfo, then reproduce the issue and 
send me the _full_ server.log.zip 
(https://www.dropbox.com/request/T3RctyzGgNg0oFDubq6a).



Or is maybe an old plugin interfering or can it be my adblocker (pihole)
is blocking (it does when i go the website).


Anything's possible. We don't have enough information to say what is 
causing the problem. Even piHole might be - though I'm using it 
myself... are you using any kind of custom rules in piHole?

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