Re: [SlimDevices: Unix] Memory Leak in Perl Engine on piCorePlayer?

2020-12-12 Thread philippe_44
psketch wrote: > Not sure if it's transcoding, or just flac. I saw the problem yesterday > playing a tidal album that was flac, played on pcp with native. When I > use transporter, I do have a custom re-encode set as the older hardware > can't handle flac files which are really heavily

Re: [SlimDevices: Unix] Memory Leak in Perl Engine on piCorePlayer?

2020-12-12 Thread paul-
It happens when LMS is using an external helper (at least some of them). It might be tied to only certain plugins too. I tested bit faad->flac from Tidal, And sox converting mp3 to flac from Pandora. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage:

Re: [SlimDevices: Unix] Memory Leak in Perl Engine on piCorePlayer?

2020-12-12 Thread psketch
paul- wrote: > So I signed up for a tidal account..got a month free to play. Here > in the US, tidal is using AWS Cloudfront. > > I started testing with no transcoding in the LMS server. pCP players > handle AAC natively. > > When a track is played from tidal, it sends to complete

Re: [SlimDevices: Unix] Memory Leak in Perl Engine on piCorePlayer?

2020-12-12 Thread philippe_44
You can look at Slim::Networking::Async::HTTP.pm Code: if ( !defined $result || $result == 0 || (defined $self->response->headers->header('Content-Length') && length($self->response->content) == $self->response->headers->header('Content-Length')) ) {

Re: [SlimDevices: Unix] Memory Leak in Perl Engine on piCorePlayer?

2020-12-12 Thread philippe_44
paul- wrote: > So I signed up for a tidal account..got a month free to play. Here > in the US, tidal is using AWS Cloudfront. > > I started testing with no transcoding in the LMS server. pCP players > handle AAC natively. > > When a track is played from tidal, it sends to complete track

Re: [SlimDevices: Unix] Success piCorePlayer 7.0 0b6, Pi Zero WH, HifiBerry DAC2 Pro

2020-12-12 Thread Greg Erskine
Thanks for letting us know about your success! Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=113415

Re: [SlimDevices: Unix] Memory Leak in Perl Engine on piCorePlayer?

2020-12-12 Thread paul-
So I signed up for a tidal account..got a month free to play. Here in the US, tidal is using AWS Cloudfront. I started testing with no transcoding in the LMS server. pCP players handle AAC natively. When a track is played from tidal, it sends to complete track as fast as it can. All of

Re: [SlimDevices: Unix] Success piCorePlayer 7.0 0b6, Pi Zero WH, HifiBerry DAC2 Pro

2020-12-12 Thread b...@offsite.com
I answered my own question about mono. It seems the aplay test that I performed was not sending left or right audio. I performed a valid test, and L and R work perfectly. -- BHA b...@offsite.com's Profile:

Re: [SlimDevices: Unix] Memory Leak in Perl Engine on piCorePlayer?

2020-12-12 Thread bpa
mvordeme wrote: > One thing I found out just now: Whenever I skip the currently playing > track, the connection is closed properly. The new connection is using a > different port, so I don't think it is the old connection reused. Only > when a track is played to the end does the connection hang

Re: [SlimDevices: Unix] Memory Leak in Perl Engine on piCorePlayer?

2020-12-12 Thread mvordeme
One thing I found out just now: Whenever I skip the currently playing track, the connection is closed properly. The new connection is using a different port, so I don't think it is the old connection reused. Only when a track is played to the end does the connection hang around. I could have a

Re: [SlimDevices: Unix] Memory Leak in Perl Engine on piCorePlayer?

2020-12-12 Thread bpa
mvordeme wrote: > I don't know about Perl, but in Java, not closing a resource explicitly > in the "finally" block but relying on garbage collection is a sin, and > code inspectors will flag occurrences as a critical bug. Can I check the > Perl code myself? Garbage collection is normal in

Re: [SlimDevices: Unix] Success piCorePlayer 6.1, Pi Zero WH, Allo miniBoss and another with Merus Amp

2020-12-12 Thread mboxler
b...@offsite.com wrote: > > #3 is a Merus 40w amp hat on a pi Zero WH. The hat sits right on top of > the pi Zero (makes me uncomfortable, so I will get an extender header > with proper pins to put it 5mm or so higher). Again, just follow a > little configuration (see this post: >

Re: [SlimDevices: Unix] Memory Leak in Perl Engine on piCorePlayer?

2020-12-12 Thread mvordeme
bpa wrote: > I'm not sure of the Tidal and new AAC support details, but within Perl, > normally a TCP connection is an "object". > TCP conection is closed when an explicit "close" is performed or when > TCP connection object is destroyed (i.e. no variable has a references to > it). > Object

Re: [SlimDevices: Unix] Memory Leak in Perl Engine on piCorePlayer?

2020-12-12 Thread bpa
Is this another user with the same problem https://forums.slimdevices.com/showthread.php?112300-Attention-TIDAL-users-changes-ahead!=998883=1#post998883 bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806

Re: [SlimDevices: Unix] Memory Leak in Perl Engine on piCorePlayer?

2020-12-12 Thread bpa
mvordeme wrote: > Restarting the LMS moved the counters a little. > > > Code: > > tc@piCoreServer:~$ head -n2 /proc/net/netstat | cut -d' ' -f 51-55 > TCPAbortOnData TCPAbortOnClose TCPAbortOnMemory TCPAbortOnTimeout TCPAbortOnLinger > 191 3667 46 503 0

Re: [SlimDevices: Unix] Memory Leak in Perl Engine on piCorePlayer?

2020-12-12 Thread bpa
mvordeme wrote: > It does, but the output doesn't look interesting to me. Pity because "lsof -i" can show something like below. Note the "CLOSE_WAIT" on chrome. Code: firefox 2229 testuser 387u IPv4 8306345 0t0 TCP

Re: [SlimDevices: Unix] HOWTO: piCorePlayer disable power light and activity light on RPi2 and RPi3

2020-12-12 Thread Paul Webster
edwin2006 wrote: > Nice, thank for sharing! > One question, is it also possible to reverse this behavior and how? Just delete the user command and reboot - or if you want to keep it handy then I expect that changing the echo 0 to echo 1 should work (in theory the brightness can go from 1 to

Re: [SlimDevices: Unix] HOWTO: piCorePlayer disable power light and activity light on RPi2 and RPi3

2020-12-12 Thread Paul Webster
psl2806 wrote: > Ive got a Pi Zero, but its not working for me. When I open a ssh > session it works, but not as a user command. That implies a copy/paste error when putting it into the user command.. Did you copy from the user command screen in the web browser and paste it into ssh session?