PDA

View Full Version : Mac OS, Squeezelite, Radio Paradise flac problem



Man in a van
2018-01-15, 03:54
At the weekend I spent most of my time struggling with a Mac Mini running Yosemite.

I installed LMS (the latest v7.9.1 nightly) and used it to control a pi, SBTouch, Boom and SBRadio.

Radio Paradise flac played through them all.

I then installed the “Local Player” plug-in and configured the Mini output for the USB dac I wished to use (NorthStar Essensio).

I tested the output with the BBC Radio Player and the dac played every channel I tried without a problem.

I switched to LMS, selected Squeezelite, configured the output and tried a few different streams.

Radio Paradise 320 stream was OK and so were the BBC live streams.

FIP and JB-Radio2 would not play on the NorthStar but would play on the SBT, Boom, etc.

The Radio Paradise flac also refused to play on the Northstar.

This morning I tried to repeat the exercise on a MacBookPro (13” Mid 2012) running El Capitan (v10.11.6).

Used a different dac, (iFi, 24397by AMR, HD USB Audio).

Same result, Radio stations played on a SBRadio but not via the USB Dac.

Is it a Squeezelite problem?

I would like to install Ralphy’s latest Squeezelite but would need somebody to give me a “how to”.


Any help would be appreciated.

Ronnie

I hope the attached file is sufficient.

24397

Man in a van
2018-01-15, 04:29
Just to add that if I go to the respective Radio Station web pages (JB-R2,fip,BBC) that the streams play through the default USB dac.

Man in a van
2018-01-15, 05:13
I have tried playing through Squeezelite using the MacBookPro internal speakers and Spotify works, the BBC Listen live streams work and so does Radio Paradise 320 stream.

JB-R2 and fip do not work.

A line from the log states


2018-01-15 11:39:26.334 squeezelite-osx-i386[234:1970] 11:39:26.322 WARNING: 140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h.


so I'm thinkink it's a Squeezelite thing.:confused:

24398

frozzers
2018-01-16, 01:20
I have tried playing through Squeezelite using the MacBookPro internal speakers and Spotify works, the BBC Listen live streams work and so does Radio Paradise 320 stream.

JB-R2 and fip do not work.

A line from the log states



so I'm thinkink it's a Squeezelite thing.:confused:

24398

I reported this a while back: http://forums.slimdevices.com/showthread.php?108189-Announce-Radio-Paradise-Lossless-Streaming-(Plugin-v2) (post 10).

Squeezelite still doesn't work for me but my hardware players are fine now so I just use Squeezeplay on the Mac.

Chris

Man in a van
2018-01-16, 02:21
Thanks for the reply Chris.

I did see your report of the problem when I did some searching, I also noted that it did not seem to be resolved.

Are you using the "Local Player" plug-in or have you installed Squeezelite on the Mac?

I see that you have the same failure line in your log as is in mine.

I don't know why it won't open the JB-R2 and fip files as they are mp3.

Yesterday I managed to install "lame" on the MacBookPro but it made no difference.

Do you have a link that will instruct me how to install Squeezelite on the Mac?

I would find that really helpful.:)

Ronnie.

bpa
2018-01-16, 02:48
I odn't know anything about MacOS and RP flac stream but the main difference between Squeezelite and Local Player is the "direct local file access" setting. Try unsetting it and see if it makes a difference for RP playback.

frozzers
2018-01-16, 03:31
Ronnie

I'm using 'Local Player'. I didn't think there was a Squeezelite standalone installation but I might be wrong.

BPA

Can you tell me where the 'direct local access' setting is please?

Chris

Man in a van
2018-01-16, 04:35
I odn't know anything about MacOS and RP flac stream but the main difference between Squeezelite and Local Player is the "direct local file access" setting. Try unsetting it and see if it makes a difference for RP playback.


Thanks bpa, but it makes no difference


[18-01-16 11:25:45.0437] Slim::Player::Song::open (409) Error: Couldn't create command line for mp3 playback for [http://chai5she.cdn.dvmr.fr/fip-midfi.mp3?ID=76zqey582k]
[18-01-16 11:25:45.0464] Slim::Player::Song::open (409) Error: Couldn't create command line for mp3 playback for [http://direct.fipradio.fr/live/fip-lofi.mp3?ID=76zqey582k]
[18-01-16 11:26:20.4146] Slim::Player::Song::open (409) Error: Couldn't create command line for flc playback for [radioparadise://4.flac]
[18-01-16 11:26:21.1356] Slim::Player::Song::open (409) Error: Couldn't create command line for flc playback for [radioparadise://4.flac]
[18-01-16 11:26:27.7991] Slim::Player::Song::open (409) Error: Couldn't create command line for flc playback for [radioparadise://4.flac]
[18-01-16 11:26:28.6636] Slim::Player::Song::open (409) Error: Couldn't create command line for flc playback for [radioparadise://4.flac]

I have a similar set-up on a Windows 10 laptop and the "Local Player" plays through the internal default speakers without a problem, Radio Paradise flac, JB-R2 and fip all work.

I'll try the usb connection on the Windows 10 later today if I get time.

Ronnie

Man in a van
2018-01-16, 04:37
Ronnie

I'm using 'Local Player'. I didn't think there was a Squeezelite standalone installation but I might be wrong.

BPA

Can you tell me where the 'direct local access' setting is please?

Chris

Chris, it's on the "Local Player" Settings page, the last line has a tick box.

Ronnie

Ralphy has a Squeezelite for Mac OS but the install instructions are scattered all over the web and all assume more knowledge than this "bear of little brain" has :(:p

ralphy
2018-01-16, 05:15
Chris, it's on the "Local Player" Settings page, the last line has a tick box.

Ronnie

Ralphy has a Squeezelite for Mac OS but the install instructions are scattered all over the web and all assume more knowledge than this "bear of little brain" has :(:p

There's a standard mac dmg package for the latest release (https://sourceforge.net/projects/lmsclients/files/squeezelite/osx/intel/) just drag it to the Applications folder and this post (http://forums.slimdevices.com/showthread.php?97046-Announce-Squeezelite-a-small-headless-squeezeplay-emulator-for-linux-(alsa-only)&p=902615&viewfull=1#post902615) explains how to have squeezelite start at boot and change the default output device.

Hope that helps.

bpa
2018-01-16, 07:44
Thanks bpa, but it makes no difference

LMS couldn't create command usually means there no applicable rules to create a compaitble stream - this may be related to output device capbilities.

Enable logging player.source to INFO to get a bit more detail.

frozzers
2018-01-16, 08:05
Chris, it's on the "Local Player" Settings page, the last line has a tick box.

Ronnie

Ralphy has a Squeezelite for Mac OS but the install instructions are scattered all over the web and all assume more knowledge than this "bear of little brain" has :(:p

Missed that Ronnie - probably just as well though!

Chris

Man in a van
2018-01-16, 08:37
There's a standard mac dmg package for the latest release (https://sourceforge.net/projects/lmsclients/files/squeezelite/osx/intel/) just drag it to the Applications folder and this post (http://forums.slimdevices.com/showthread.php?97046-Announce-Squeezelite-a-small-headless-squeezeplay-emulator-for-linux-(alsa-only)&p=902615&viewfull=1#post902615) explains how to have squeezelite start at boot and change the default output device.

Hope that helps.

It does Ralphy, it does:) (your my first "new best friend" for 2018)

Two paracetamol, a lot of head scratching (where the nuisance is the delete key?:rolleyes:). I don't know my way round a Mac at all:o.

Anyway I now have the MacBookPro "Built-in Audio" playing Radio Paradise flac, fip (hurrah;)) and JB-R2, plus "the usual suspects":p.

If I recover enough, later today I might give the Mac-Mini with the usb dac a shot (or wait until Thursday).

Ronnie

frozzers
2018-01-16, 11:38
It does Ralphy, it does:) (your my first "new best friend" for 2018)

Two paracetamol, a lot of head scratching (where the nuisance is the delete key?:rolleyes:). I don't know my way round a Mac at all:o.

Anyway I now have the MacBookPro "Built-in Audio" playing Radio Paradise flac, fip (hurrah;)) and JB-R2, plus "the usual suspects":p.

If I recover enough, later today I might give the Mac-Mini with the usb dac a shot (or wait until Thursday).

Ronnie

I don't think you'll regret switching to Mac Ronnie. The great man himself (M Herger) is a Mac user so you'll never feel disadvantaged with LMS etc.

The 'delete key' is Fn + Backspace by the way ...

All the best.

Chris

Man in a van
2018-01-19, 10:41
LMS couldn't create command usually means there no applicable rules to create a compaitble stream - this may be related to output device capbilities.

Enable logging player.source to INFO to get a bit more detail.

Here you are bpa, I thought I would try your suggestion.

I started BBC Radio 2 and then switched to Radio Paradise flac

[QUOTE][18-01-19 17:22:46.4843] Plugins::BBCiPlayer::DASH::__ANON__ (732) Chunk fetch status 200 Long chunk fetch time 2155 ms[18-01-19 17:23:23.4678] Slim::Player::StreamingController::stop (2097) a8:20:66:25:4b:1f
[18-01-19 17:23:23.4682] Slim::Player::StreamingController::_Stop (603) Song queue is now 0
[18-01-19 17:23:23.4685] Slim::Player::StreamingController::_setPlayingStat e (2357) new playing state STOPPED
[18-01-19 17:23:23.4686] Slim::Player::StreamingController::_setStreamingSt ate (2366) new streaming state IDLE
[18-01-19 17:23:23.4688] Slim::Player::StreamingController::resetSongqueue (1776) Song queue is now
[18-01-19 17:23:23.4696] Slim::Player::StreamingController::play (2100) a8:20:66:25:4b:1f
[18-01-19 17:23:23.4698] Slim::Player::StreamingController::_setPlayingStat e (2357) new playing state STOPPED
[18-01-19 17:23:23.4700] Slim::Player::StreamingController::_setStreamingSt ate (2366) new streaming state IDLE
[18-01-19 17:23:23.4702] Slim::Player::Song::new (108) index 0 -> radioparadise://4.flac
[18-01-19 17:23:23.4705] Slim::Player::StreamingController::_setStreamingSt ate (2366) new streaming state TRACKWAIT
[18-01-19 17:23:23.4708] Slim::Player::StreamingController::_playersMessage (789) Fetching track details...: radioparadise://4.flac
[18-01-19 17:23:23.4710] Slim::Player::Song::getNextSong (229) radioparadise://4.flac
[18-01-19 17:23:23.4711] Slim::Player::Song::getNextSong (251) scanning URL radioparadise://4.flac
[18-01-19 17:23:23.4712] Slim::Player::Song::__ANON__ (297) Found a playlist
[18-01-19 17:23:23.4714] Slim::Player::Song::getNextSong (229) radioparadise://4.flac
[18-01-19 17:23:24.0231] Slim::Player::TranscodingHelper::getConvertCommand 2 (443) Error: Didn't find any command matches for type: flc
[18-01-19 17:23:24.2303] Slim::Player::StreamingController::_nextTrackReady (737) a8:20:66:25:4b:1f: nextTrack will be index 0
[18-01-19 17:23:24.2305] Slim::Player::StreamingController::_Stream (1203) Song queue is now 0
[18-01-19 17:23:24.2306] Slim::Player::StreamingController::_Stream (1206) a8:20:66:25:4b:1f: preparing to stream song index 0
[18-01-19 17:23:24.2308] Slim::Player::Song::open (363) radioparadise://4.flac
[18-01-19 17:23:24.2310] Slim::Player::Song::open (387) seek=false time=0 canSeek=0SEEK_ERROR_TYPE_NOT_SUPPORTEDflc
[18-01-19 17:23:24.2313] Slim::Player::TranscodingHelper::getConvertCommand 2 (443) Error: Didn't find any command matches for type: flc
[18-01-19 17:23:24.2315] Slim::Player::Song::open (409) Error: Couldn't create command line for flc playback for [radioparadise://4.flac]
[18-01-19 17:23:24.2316] Slim::Player::StreamingController::_playersMessage (789) Problem: Unable to play file type for:: radioparadise://4.flac
[18-01-19 17:23:24.2318] Slim::Player::StreamingController::_willRetry (1391) no retry data
[18-01-19 17:23:24.2324] Slim::Player::StreamingController::_setStreamingSt ate (2366) new streaming state IDLE
[18-01-19 17:23:24.2327] Slim::Player::StreamingController::_setStreamingSt ate (2366) new streaming state TRACKWAIT
[18-01-19 17:23:24.2332] Slim::Player::StreamingController::_playersMessage (789) Fetching track details...: radioparadise://4.flac
[18-01-19 17:23:24.2334] Slim::Player::Song::getNextSong (229) radioparadise://4.flac
[18-01-19 17:23:24.9133] Slim::Player::StreamingController::_nextTrackReady (737) a8:20:66:25:4b:1f: nextTrack will be index 0
[18-01-19 17:23:24.9135] Slim::Player::StreamingController::_Stream (1203) Song queue is now 0
[18-01-19 17:23:24.9137] Slim::Player::StreamingController::_Stream (1206) a8:20:66:25:4b:1f: preparing to stream song index 0
[18-01-19 17:23:24.9139] Slim::Player::Song::open (363) radioparadise://4.flac
[18-01-19 17:23:24.9143] Slim::Player::TranscodingHelper::getConvertCommand 2 (443) Error: Didn't find any command matches for type: flc
[18-01-19 17:23:24.9145] Slim::Player::Song::open (387) seek=false time=0 canSeek=0SEEK_ERROR_TYPE_NOT_SUPPORTEDflc
[18-01-19 17:23:24.9147] Slim::Player::TranscodingHelper::getConvertCommand 2 (443) Error: Didn't find any command matches for type: flc
[18-01-19 17:23:24.9149] Slim::Player::Song::open (409) Error: Couldn't create command line for flc playback for [radioparadise://4.flac]
[18-01-19 17:23:24.9150] Slim::Player::StreamingController::_playersMessage (789) Problem: Unable to play file type for:: radioparadise://4.flac
[18-01-19 17:23:24.9152] Slim::Player::StreamingController::_willRetry (1391) no retry data
[18-01-19 17:23:24.9154] Slim::Player::StreamingController::_setStreamingSt ate (2366) new streaming state IDLE [18-01-19 17:23:24.9155] Slim::Player::StreamingController::_getNextTrack (627) Giving up because of too many consecutive errors: 2/QUOTE]

I do have it working sort of properly on the Mac-Mini but after about 90 minutes the RP flac begins to go all warbley and the stream stammers and begins to break up a bit.
If I switch to another streaming station the condition remains.
I can restart LMS and that does not make any difference, a restart of the computer clears it.
I'm going to carry on testing :rolleyes:
Learning by doing :)

Ronnie

bpa
2018-01-19, 12:36
[18-01-19 17:23:24.9137] Slim::Player::StreamingController::_Stream (1206) a8:20:66:25:4b:1f: preparing to stream song index 0
[18-01-19 17:23:24.9139] Slim::Player::Song::open (363) radioparadise://4.flac
[18-01-19 17:23:24.9143] Slim::Player::TranscodingHelper::getConvertCommand 2 (443) Error: Didn't find any command matches for type: flc
[18-01-19 17:23:24.9145] Slim::Player::Song::open (387) seek=false time=0 canSeek=0SEEK_ERROR_TYPE_NOT_SUPPORTEDflc
[18-01-19 17:23:24.9147] Slim::Player::TranscodingHelper::getConvertCommand 2 (443) Error: Didn't find any command matches for type: flc
[18-01-19 17:23:24.9149] Slim::Player::Song::open (409) Error: Couldn't create command line for flc playback for [radioparadise://4.flac]

The above indicates there is something going on with trasncoding but if you can play - then this is no longer the issue. A more detailed log (player.source set to DEBUG) would show what is going on but since it plays - I don't think it will change things.


I do have it working sort of properly on the Mac-Mini but after about 90 minutes the RP flac begins to go all warbley and the stream stammers and begins to break up a bit.
If I switch to another streaming station the condition remains.

"warbley" - can you characterise it a bit better ?
Stream bit slow
Stream bit fast
two streams interleaved ?
chunk of audio being dropped or swapped mid stream so audio is single stream but a bit jumbled ?

If "warbley" remains on next station then it sounds like a player issue - it has told LMS it is capable of a certain stream but there is some incompatibility - player.source at DEBUG level will show what format is being chosen for player.