Re: [SlimDevices: SqueezeCenter] LMS 7.9.3 on MacOS 10.11.6 does not play some ALAC files

2020-10-15 Thread roryking


Success!

I believe the new version of faad did the trick (thanks to ralphy).

I tried a different track without any unusual characters and it also
didn't play; good suggestion though.

I also managed to get openssl updated to 1.1.h (thanks to mherger).

I'm really impressed and humbled by the community's efforts to help me
solve this. Thanks to everyone who chimed in!



roryking's Profile: http://forums.slimdevices.com/member.php?userid=70758
View this thread: http://forums.slimdevices.com/showthread.php?t=113049

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


Re: [SlimDevices: SqueezeCenter] LMS 7.9.3 on MacOS 10.11.6 does not play some ALAC files

2020-10-15 Thread ralphy


There's a 'newer faad build available'
(https://sourceforge.net/projects/lmsclients/files/utility/faad/20200908-d0a0bca/faad-osx/download)
that fixes a few more CVE issues.
Please try it to decode one of the problem file.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=113049

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


Re: [SlimDevices: SqueezeCenter] LMS 7.9.3 on MacOS 10.11.6 does not play some ALAC files

2020-10-15 Thread bpa


Is it possible the version of faad is out of date. 

Up to mar 2020 - darwin 64 bit build of LMS have a Jun 2017 version of
faad.

In Aug 2017 Ralphy fixed a lot of CVE-2017 bugs - admittedly these fixes
are aimed at crafted mp4 files.



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

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


Re: [SlimDevices: SqueezeCenter] LMS 7.9.3 on MacOS 10.11.6 does not play some ALAC files

2020-10-15 Thread mrw


roryking wrote: 
> Good track "Barroom Girls" converted just fine. Bad track "The Way It
> Goes" did not convert at all. Had to Control-c to stop it. The whole
> album "The Harrow & The Harvest" will not play via squeezebox. It's
> unfortunately not the only album I've discovered so far.
> 

I notice that the "good track" seems to have been created with iTunes,
as indicated by the tag display -TOO: iTunes 10.5.2-. (The actual tag in
the file would be -@too-). The "bad track" does not carry an "encoded
by" tag.

Is this common to all your "good" and "bad" tracks ?

If so, it might suggest that a solution, or an understanding of the
problem, may lie in understanding how the "bad tracks" have been
constructed.



mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299
View this thread: http://forums.slimdevices.com/showthread.php?t=113049

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


Re: [SlimDevices: SqueezeCenter] LMS 7.9.3 on MacOS 10.11.6 does not play some ALAC files

2020-10-15 Thread Michael Herger

The SSL modules are all out of date which means you'll have problem with
LMS repository and internet services - if you use them.  Unlikely to be
able to update the SSL stuff without updating MacOS.


Don't give up: somebody came up with instructions to update SSL stuff on 
macOS which have helped many already.


https://forums.slimdevices.com/showthread.php?109738-Error-Can-t-connect-to-remote-server-to-retrieve%85=925539=1#post925539

--

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


Re: [SlimDevices: SqueezeCenter] LMS 7.9.3 on MacOS 10.11.6 does not play some ALAC files

2020-10-15 Thread bpa


roryking wrote: 
> Squeezelite v1.9.1-1139
> 
> IO::Socket::SSL: 1.966
> 
> OpenSSL 0.9.8zh 14 Jan 2016
> 
> MacOS 10.11.6 (last supported OS for that machine)

It looks the main problem is in faad, but a few comments on https
support.
Squeezelite is over a year old and there has been a lot of bug fixes.

The SSL modules are all out of date which means you'll have problem with
LMS repository and internet services - if you use them.  Unlikely to be
able to update the SSL stuff without updating MacOS.

> Good track "Barroom Girls" converted just fine. Bad track "The Way It
> Goes" did not convert at all. Had to Control-c to stop it. The whole
> album "The Harrow & The Harvest" will not play via squeezebox. It's
> unfortunately not the only album I've discovered so far.

So the problem is in either the file content or more unlikely perhaps
the full file name - some strange letter encodings (perhaps of the &)
have caused problems in the past for some applications ?

To check the name copy the file and give it a simple name. 

faad is the problem - to fix faad, a copy of a "bad" file needs to be
made available so the problem  (e.g. content format, name handling) can
be fixed .
A workaround might be to use ffmpeg and add a custom-convert.conf to use
faad - do you know if ffmpeg is available for your system ?



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

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


Re: [SlimDevices: SqueezeCenter] LMS 7.9.3 on MacOS 10.11.6 does not play some ALAC files

2020-10-14 Thread roryking


Squeezelite v1.9.1-1139

IO::Socket::SSL: 1.966

OpenSSL 0.9.8zh 14 Jan 2016

MacOS 10.11.6 (last supported OS for that machine)

Good track "Barroom Girls" converted just fine. Bad track "The Way It
Goes" did not convert at all. Had to Control-c to stop it. The whole
album "The Harrow & The Harvest" will not play via squeezebox. It's
unfortunately not the only album I've discovered so far.


Code:

[MasterShakeNouveau]:~ roryking$ 
"/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Bin/darwin-x86_64/faad"
 -w -f 1 "/Volumes/Big iTunes/Music/Gillian Welch/Revival/04 Barroom Girls.m4a" 
>testoutput.wav
  *** Ahead Software MPEG-4 AAC Decoder V2.7 **
  
  Patched for Squeezebox Server:
  * ALAC decoder integrated
  * Seeking support with -j and -e switches
  * STDIN support
  * utgg win32 STDOUT patch
  * Source at https://github.com/ralph-irving/faad2
  
  Build: Jun  7 2017
  Copyright 2002-2004: Ahead Software AG
  http://www.audiocoding.com
  Floating point version
  
  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License.
  
  **
  
  file info:
  
  254.027 secs, 2 ch, samplerate=44100, timescale=44100
  
  title: Barroom Girls
  artist: Gillian Welch
  album: Revival
  track: 4
  totaltracks: 10
  disc: 1
  totaldiscs: 1
  compilation: 
  unknown: 
  tempo: 0 BPM
  tool: iTunes 10.5.2
  Encoding Params: vers
  iTunNORM:  01EF 01F3 2445 2176 E679 E679 54FF 
52CC 0001FA07 0003A56B
  iTunes_CDDB_1: 
9709C10A+187487+10+150+17947+36237+54025+73077+93692+110207+128037+148475+162437
  iTunes_CDDB_TrackNumber: 4
  writer: Gillian Welch & David Rawlings
  genre: Country
  date: 1996
  
  Decoding /Volumes/Big iTunes/Music/Gillian Welch/Revival/04 Barroom Girls.m4a 
took:  1.76 sec. 144.41x real-time.
  [MasterShakeNouveau]:~ roryking$ 
"/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Bin/darwin-x86_64/faad"
 -w -f 1 "/Volumes/Big iTunes/Music/Gillian Welch/The Harrow & The Harvest/04 
The Way It Goes.m4a" >testoutput.wav
  *** Ahead Software MPEG-4 AAC Decoder V2.7 **
  
  Patched for Squeezebox Server:
  * ALAC decoder integrated
  * Seeking support with -j and -e switches
  * STDIN support
  * utgg win32 STDOUT patch
  * Source at https://github.com/ralph-irving/faad2
  
  Build: Jun  7 2017
  Copyright 2002-2004: Ahead Software AG
  http://www.audiocoding.com
  Floating point version
  
  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License.
  
  **
  
  ^C
  [MasterShakeNouveau]:~ roryking$ openssl version
  OpenSSL 0.9.8zh 14 Jan 2016
  [MasterShakeNouveau]:~ roryking$ 
  




roryking's Profile: http://forums.slimdevices.com/member.php?userid=70758
View this thread: http://forums.slimdevices.com/showthread.php?t=113049

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


Re: [SlimDevices: SqueezeCenter] LMS 7.9.3 on MacOS 10.11.6 does not play some ALAC files

2020-10-14 Thread bpa


This may be "off the wall" but there is a lot of "spinning" going on in
the log - which will hog CPU.

Code:


  0-10-14 09:29:25.6958] Slim::Player::Source::_wakeupOnReadable (408) 
b8:27:eb:0a:a8:f6
  [20-10-14 09:29:25.6995] Slim::Player::Source::_wakeupOnReadable (408) 
b8:27:eb:0a:a8:f6
  [20-10-14 09:29:25.7020] Slim::Player::Source::_wakeupOnReadable (408) 
b8:27:eb:0a:a8:f6
  [20-10-14 09:29:25.7047] Slim::Player::Source::_wakeupOnReadable (408) 
b8:27:eb:0a:a8:f6
  [20-10-14 09:29:25.7073] Slim::Player::Source::_wakeupOnReadable (408) 
b8:27:eb:0a:a8:f6
  [20-10-14 09:29:25.7114] Slim::Player::Source::_wakeupOnReadable (408) 
b8:27:eb:0a:a8:f6
  [20-10-14 09:29:25.7139] Slim::Player::Source::_wakeupOnReadable (408) 
b8:27:eb:0a:a8:f6
  [20-10-14 09:29:25.7165] Slim::Player::Source::_wakeupOnReadable (408) 
b8:27:eb:0a:a8:f6
  



There are also https related errors 

Code:


  [20-10-14 09:25:17.8351] Slim::Formats::XML::gotErrorViaHTTP (339) Error: 
getting https://www.mysqueezebox.com/api/sounds/v1/opml
  Couldn't resolve IP address for: www.mysqueezebox.com
  



What version IO::Socket::SSL is installed ?  See WebUI
Settings/Infomation  ?
What version of OpenSSL is installed ?  (not sure if this the right
module on MacOS)



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

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


Re: [SlimDevices: SqueezeCenter] LMS 7.9.3 on MacOS 10.11.6 does not play some ALAC files

2020-10-14 Thread bpa


File sort of looks OK.  You didn't show the "File Format" but the screen
shot shows enough (i.e file type = alc)

Tags seem to be read OK by LMS.

>From the log it looks like player is not capable of native ALAC or
native ALAC is disabled.

So ALAC is being transcoded into Flac and since ALAC may be hi-res - the
ALC->FLC transcode rule is set up to use sox so that it can resample if
necessary
The resulting transcode command looks OK as resampling part of sox is
not "active" 

Code:


  
"/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Bin/darwin-x86_64/faad"
 -q -w -f 1 "/Volumes/Big iTunes/Music/Gillian Welch/Revival/04 Barroom 
Girls.m4a" | 
"/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Bin/darwin-x86_64/sox"
 -q -t wav - -t flac -C 0 - 
  



So time to verify that faad can really handle the problem files.

Can you check this command works from a Terminal

Code:


  
"/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Bin/darwin-x86_64/faad"
 -w -f 1 "/Volumes/Big iTunes/Music/Gillian Welch/Revival/04 Barroom Girls.m4a" 
>testoutput.wav
  


It should generate a wav file called testoutput.wav . The "-q" option is
removed so I think it will generate log output to stderr.

Try the same command with good/bad file instead of "04 Barroom
Girsl.m4a"



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

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


Re: [SlimDevices: SqueezeCenter] LMS 7.9.3 on MacOS 10.11.6 does not play some ALAC files

2020-10-14 Thread CJS


roryking wrote: 
> 
> Using HiFiBerryOS 20200708. Unsure how to check which version of
> Squeezelite is installed. Same problems exist when streaming to Sonos
> via the UPnP DLNA bridge.
The version of the squeezelite player is usually shown on the LMS
information page (LMS => Settings => Information). Close to the bottom
of this page there is a section "Player Information" with information
about players that are connected with LMS.

For example, following information is shown for my piCorePlayer:
Player Model: SqueezeLite
Player Type: squeezelite
Firmware: v1.9.7-1278-pCP

In this example the version of Squeezelite is v1.9.7-1278-pCP



| LMS 8.0 | Squeezebox Boom | RPi0W + pCP 6.1.0 + HiFiBerry DAC Zero |
SqueezeAMP |

CJS's Profile: http://forums.slimdevices.com/member.php?userid=68700
View this thread: http://forums.slimdevices.com/showthread.php?t=113049

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


Re: [SlimDevices: SqueezeCenter] LMS 7.9.3 on MacOS 10.11.6 does not play some ALAC files

2020-10-14 Thread roryking


Log output file:

31858


+---+
|Filename: server_20-10-14.log  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=31858|
+---+


roryking's Profile: http://forums.slimdevices.com/member.php?userid=70758
View this thread: http://forums.slimdevices.com/showthread.php?t=113049

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


Re: [SlimDevices: SqueezeCenter] LMS 7.9.3 on MacOS 10.11.6 does not play some ALAC files

2020-10-14 Thread roryking


bpa wrote: 
> Are good and bad files in MPEG4 format ? 

Yes.

> * Metadata layout - is metadata mdat at start or end of file ?

Unsure how to check this.

> * what metadata are in the files ?
> * When you drill down to a bad track in LMS Web GUI - what "File Format"
> is shown for the file ? What metadata tags does LMS find under "View
> Tags" ?
> * Are File Format and tags different to a good track ?

They are indeed different. But know that these tracks play fine using
iTunes Home Sharing, Sonos, OpenHome, and Roon (in Trial Mode).

Bad Track screenshot:

31856

Good Track screenshot:

31857

> If the files are really 44.1Khz - *why is sox being used - that is
> invoked for resampling ?*  player.source log is needed to understand.
> What is the player ? version of squeezelite ?

Using HiFiBerryOS 20200708. Unsure how to check which version of
Squeezelite is installed. Same problems exist when streaming to Sonos
via the UPnP DLNA bridge.

> Have you got custom convert rules to upsample ?

This is a very vanilla installation. I've installed these plugins:
UPnP/DLNA bridge
UPnP/DLNA Media Interface
Chromecast Bridge

No changes were made to upsampling on my part; still using the defaults.


+---+
|Filename: Screen Shot 2020-10-14 at 1.45.26 PM.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=31857|
+---+


roryking's Profile: http://forums.slimdevices.com/member.php?userid=70758
View this thread: http://forums.slimdevices.com/showthread.php?t=113049

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


Re: [SlimDevices: SqueezeCenter] LMS 7.9.3 on MacOS 10.11.6 does not play some ALAC files

2020-10-14 Thread bpa


roryking wrote: 
> Nothing obvious. Both 16-bit, similar bitrate, both VBR, both 44.1, both
> .m4a file extension.
I'm think there is some different in the file layout. (e.g. metadata at
end of file rather than at start) 

The error message & CPU indicates that faad has got stuck processing the
files.

Are good and bad files in MPEG4 format ? 

* Metadata layout - is metadata mdat at start or end of file ?
* what metadata are in the files ?
* When you drill down to a bad track in LMS Web GUI - what "File Format"
is shown for the file ? What metadata tags does LMS find under "View
Tags" ?
* Are File Format and tags different to a good track ?



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

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


Re: [SlimDevices: SqueezeCenter] LMS 7.9.3 on MacOS 10.11.6 does not play some ALAC files

2020-10-13 Thread slartibartfast


roryking wrote: 
> Nothing obvious. Both 16-bit, similar bitrate, both VBR, both 44.1, both
> .m4a file extension.Have you tried setting logging for player.source to 
> debug? That should
provide more info.

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=113049

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


Re: [SlimDevices: SqueezeCenter] LMS 7.9.3 on MacOS 10.11.6 does not play some ALAC files

2020-10-13 Thread roryking


Nothing obvious. Both 16-bit, similar bitrate, both VBR, both 44.1, both
.m4a file extension.



roryking's Profile: http://forums.slimdevices.com/member.php?userid=70758
View this thread: http://forums.slimdevices.com/showthread.php?t=113049

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


Re: [SlimDevices: SqueezeCenter] LMS 7.9.3 on MacOS 10.11.6 does not play some ALAC files

2020-10-13 Thread mrw


roryking wrote: 
> Some ALAC tracks play fine, others will not play at all.

Is there any discernible characteristic that differs between the files
that do play and those files that don't ?



mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299
View this thread: http://forums.slimdevices.com/showthread.php?t=113049

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


Re: [SlimDevices: SqueezeCenter] LMS 7.9.3 on MacOS 10.11.6 does not play some ALAC files

2020-10-13 Thread roryking


Yes for both of those commands.

One thing I have noticed: when I try to play one of those ALAC files the
server spins up an instance of faad. If I try to play another problem
file the server will spin up an additional instance of faad. I got up to
four instances of faad running this morning before moving on. Each
instance wants to split up the total available CPU% almost evenly and
this maxes out the computer's available CPU load making it very slow.
The sox instance drops to 0%. 

31835

Playing an ALAC file it "likes" will create an faad instance that uses
less than 2% available CPU and a sox instance that uses about the same
amount.

31836


+---+
|Filename: Screen Shot 2020-10-13 at 8.48.33 AM.png |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=31836|
+---+


roryking's Profile: http://forums.slimdevices.com/member.php?userid=70758
View this thread: http://forums.slimdevices.com/showthread.php?t=113049

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


Re: [SlimDevices: SqueezeCenter] LMS 7.9.3 on MacOS 10.11.6 does not play some ALAC files

2020-10-12 Thread ralphy


>From a terminal window if you run both of these commands, does sox and
faad display a usage help message?


Code:


/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Bin/darwin-x86_64/sox
  
  
/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Bin/darwin-x86_64/faad




Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=113049

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


[SlimDevices: SqueezeCenter] LMS 7.9.3 on MacOS 10.11.6 does not play some ALAC files

2020-10-11 Thread roryking


Trying to narrow down the problem. Some ALAC tracks play fine, others
will not play at all. For the tracks that won't play I see this in
server.log:

/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Bin/darwin-x86_64/sox
FAIL sox: `-' error writing output file: Broken pipe

MacOS 10.11.6
LMS 7.9.3

No obvious differences in bit rates or file sizes. Consistent across
players; main players are Raspberry Pi's running HiFiBerryOS (latest
version).



roryking's Profile: http://forums.slimdevices.com/member.php?userid=70758
View this thread: http://forums.slimdevices.com/showthread.php?t=113049

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