Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 10 of 14

Hybrid View

  1. #1
    Senior Member ModelCitizen's Avatar
    Join Date
    May 2005
    Location
    Sussex UK
    Posts
    3,217

    Bug with MP3 player bitrate limiting... maybe?

    Having discovered the Squeeze Config Android app I have successfully resurrected an old Receiver. Whoohooo!

    But I have an issue with the Player 'Bitrate Limiting' function. If I have it set to anything other than 'No Limit' the Receiver will play the first few seconds of a track and then skip to play the next few seconds of the next track, ad infinitum. It does this silently. There is no sound. I've tried with MP3 and Flacs and with a different player, with the same result. I am told I have Lame installed correctly.

    Here's the server log showing the skipping bit skipping.log....

    Any help appreciated, as always...
    Take care of your tongue. It is in a wet place and can easily slip.

  2. #2
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    4,437
    One thing that strikes me as odd:
    Code:
    "C:\PROGRA~1\SQUEEZ~1\server\Bin\MSWin32-x86-multi-thread\socketwrapper.exe"  -D -i 52264 -o 52263 -c "\"C:\PROGRA~1\SQUEEZ~1\server\Bin\MSWin32-x86-multi-thread\flac.exe\" -dcs -- - | \"C:\Program Files\Squeezebox\Bin\MSWin32-x86-multi-thread\lame.exe\" --silent -q 5 --abr 160 - -"
    This has a quoted section inside quotes ... does that work on Windows?

    @bpa is always good on these things.
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

  3. #3
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    20,666
    The error shows problem in processing - no output from the chain. So you should first check out the components that they run OK from a command prompt.

    The two application to test are
    C:\PROGRA~1\SQUEEZ~1\server\Bin\MSWin32-x86-multi-thread\flac.exe
    C:\Program Files\Squeezebox\Bin\MSWin32-x86-multi-thread\lame.exe

    I think it is a bit strange that "lame.exe" has a different path even though they should be in the same directory.


    Code:
    [21-04-17 15:04:01.9598] Slim::Player::TranscodingHelper::tokenizeConvertCommand2 (662) Using command for conversion: "C:\PROGRA~1\SQUEEZ~1\server\Bin\MSWin32-x86-multi-thread\flac.exe" -dcs -- - | "C:\Program Files\Squeezebox\Bin\MSWin32-x86-multi-thread\lame.exe" --silent -q 5 --abr 160 - -
    [21-04-17 15:04:01.9599] Slim::Player::Song::open (567) Tokenized command: "C:\PROGRA~1\SQUEEZ~1\server\Bin\MSWin32-x86-multi-thread\flac.exe" -dcs -- - | "C:\Program Files\Squeezebox\Bin\MSWin32-x86-multi-thread\lame.exe" --silent -q 5 --abr 160 - -
    [21-04-17 15:04:01.9613] Slim::Player::Pipeline::new (95) Launching process with command: "C:\PROGRA~1\SQUEEZ~1\server\Bin\MSWin32-x86-multi-thread\socketwrapper.exe"  -D -i 52264 -o 52263 -c "\"C:\PROGRA~1\SQUEEZ~1\server\Bin\MSWin32-x86-multi-thread\flac.exe\" -dcs -- - | \"C:\Program Files\Squeezebox\Bin\MSWin32-x86-multi-thread\lame.exe\" --silent -q 5 --abr 160 - -"
    [21-04-17 15:04:01.9952] Slim::Player::SongStreamController::new (30) live=2
    [21-04-17 15:04:01.9958] Slim::Player::StreamingController::_Stream (1282) 00:04:20:16:01:bd: stream
    [21-04-17 15:04:01.9984] Slim::Player::StreamingController::_Stream (1319) Song queue is now 0
    [21-04-17 15:04:01.9986] Slim::Player::StreamingController::_setPlayingState (2377) new playing state BUFFERING
    [21-04-17 15:04:01.9987] Slim::Player::StreamingController::_setStreamingState (2386) new streaming state STREAMING
    [21-04-17 15:04:01.9988] Slim::Player::StreamingController::_eventAction (302) 00:04:20:16:01:bd: NextTrackReady - new state BUFFERING-STREAMING
    [21-04-17 15:04:01.9990] Slim::Player::StreamingController::_eventAction (302) 00:04:20:16:01:bd: Play - new state BUFFERING-STREAMING
    [21-04-17 15:04:02.0041] Slim::Player::Pipeline::acceptReader (202) Pipeline reader connected
    [21-04-17 15:04:02.0045] Slim::Player::Pipeline::acceptWriter (235) Pipeline writer connected
    [21-04-17 15:04:02.0093] Slim::Player::StreamingController::_eventAction (270) 00:04:20:16:01:bd: StatusHeartbeat in BUFFERING-STREAMING -> Slim::Player::StreamingController::_NoOp
    [21-04-17 15:04:02.0131] Slim::Player::StreamingController::_eventAction (270) 00:04:20:16:01:bd: StatusHeartbeat in BUFFERING-STREAMING -> Slim::Player::StreamingController::_NoOp
    [21-04-17 15:04:02.0137] Slim::Player::StreamingController::_eventAction (270) 00:04:20:16:01:bd: StatusHeartbeat in BUFFERING-STREAMING -> Slim::Player::StreamingController::_NoOp
    [21-04-17 15:04:02.0156] Slim::Player::Source::_readNextChunk (314) Sending 0 bytes of silence.
    [21-04-17 15:04:02.0158] Slim::Player::Pipeline::sysread (281) Pipeline doesn't have pending bytes - trying to get some from source
    [21-04-17 15:04:02.0160] Slim::Player::Pipeline::sysread (304) Attempting to write to pipeline writer
    [21-04-17 15:04:02.0163] Slim::Player::Pipeline::sysread (310) Wrote 32768 bytes to pipeline writer]

  4. #4
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    4,437
    Also - regarding my comment about extra quotes ... have stared at them again I see that the embedded ones are escaped with \ - which is what makes them OK.
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

  5. #5
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    20,666
    Quote Originally Posted by Paul Webster View Post
    Also - regarding my comment about extra quotes ... have stared at them again I see that the embedded ones are escaped with \ - which is what makes them OK.
    It doesn't look right because the escape char is the same as a backslash in directory name - after unescaping there is no "" after .exe - it is a quote.
    ""C:\PROGRA~1\SQUEEZ~1\server\Bin\MSWin32-x86-multi-thread\flac.exe"
    becomes
    "C:\PROGRA~1\SQUEEZ~1\server\Bin\MSWin32-x86-multi-thread\flac.exe"

    First quote is because whole command chain is a single parameter ( -c) of socketwrapper matched with ending quote after the following -abr 160 - -"

    but first OP should check the executable - I didn't expect two different Bin directories with the same subdirectory MSWin32-x86-multi-thread.

  6. #6
    Senior Member ModelCitizen's Avatar
    Join Date
    May 2005
    Location
    Sussex UK
    Posts
    3,217
    Quote Originally Posted by bpa View Post
    I think it is a bit strange that "lame.exe" has a different path even though they should be in the same directory.
    Ah, thanks.

    It is strange indeed. It is because I seem to have two LMS installations. The one I made originally when I set up the machine in 2018 contained in C:\Program Files\Squeezebox and then another in C:\Program Files\Squeezebox\server installed in 03/2021... which I assume must have been an update.

    The best thing is I recover from this first I think. Any suggestions as to how I might best get this done with my settings intact would be very welcome indeed. I am due to rescan my library so that's not a problem.
    Take care of your tongue. It is in a wet place and can easily slip.

  7. #7
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    20,666
    Quote Originally Posted by ModelCitizen View Post
    Ah, thanks.

    It is strange indeed. It is because I seem to have two LMS installations. The one I made originally when I set up the machine in 2018 contained in C:\Program Files\Squeezebox and then another in C:\Program Files\Squeezebox\server installed in 03/2021... which I assume must have been an update.

    The best thing is I recover from this first I think. Any suggestions as to how I might best get this done with my settings intact would be very welcome indeed. I am due to rescan my library so that's not a problem.
    The problem is the two version have a common root and LMS in some circumstances searches for files (e.g. executables) in ALL subdirectories so for example I think (depending on the root) all conf file in both installation could be scanned and merged with confusing results.

    I think you have to delete (or for safety move so you could revert) one by one any directory that is in in C:\Program Files\Squeezebox that is also in C:\Program Files\Squeezebox\server

  8. #8
    Senior Member ModelCitizen's Avatar
    Join Date
    May 2005
    Location
    Sussex UK
    Posts
    3,217
    Hello.

    Following your instructions BPA my two installations are now one... under the correct directory, server.
    I still get the same issue with file not found when I attempt player bit rate limiting... but I also have another problem which I'm not sure is related but in an attempt not to flood the forum with my problem posts I'll mention it here.

    Extra info: In a recent successful attempt to set up library views I changed the name of the directory my main music library is held in.

    it was D:\Music
    It is now
    D:\MyMusic

    I have rescanned from scratch (twice) but my log file is stuffed with lines like this... all pertaining to either the first album (by A-Z) in my main library or the first track in that album. I'm assuming there just be some other entry someone where in LMS that still refers to the old directory path (and it is not in my playlists as this album is not included in any). You'll know this I'm sure but the 'open (91) Warning' error line is when I tried to play a track.

    Again, any help very appreciated (and I am all too aware that this is all a bit one-way).

    [21-04-19 09:04:39.2990] Slim::Formats::readTags (176) File missing: D:\Music\Music\00_VA\10 Tons Heavy\Disk 1\01 - Pinch - Qawwali.flac
    [21-04-19 09:04:43.0387] Slim::Formats::readTags (176) File missing: D:\Music\Music\00_VA\10 Tons Heavy\Disk 1\01 - Pinch - Qawwali.flac
    [21-04-19 09:04:43.0515] Slim::Formats::readTags (176) File missing: D:\Music\Music\00_VA\10 Tons Heavy\Disk 1\01 - Pinch - Qawwali.flac
    [21-04-19 09:05:09.3112] Slim::Formats::readTags (176) File missing: D:\Music\Music\00_VA\10 Tons Heavy\Disk 1\01 - Pinch - Qawwali.flac
    [21-04-19 09:05:09.3237] Slim::Formats::readTags (176) File missing: D:\Music\Music\00_VA\10 Tons Heavy\Disk 1\01 - Pinch - Qawwali.flac
    [21-04-19 09:05:20.4826] Slim::Formats::readTags (176) File missing: D:\Music\Music\00_VA\MC Electronic Mix Crash CD [ModelCitizen 2007]\11 - Younger Brother - The Finger.flac
    [21-04-19 09:05:20.4969] Slim::Player::Protocols::File:pen (91) Warning: [file:///D:/Music/Music/00_VA/MC%20Electronic%20Mix%20Crash%20CD%20[ModelCitizen%202007]/11%20-%20Younger%20Brother%20-%20The%20Finger.flac] not bothering opening file with zero size or duration
    [21-04-19 09:05:20.4980] Slim::Player::Song:pen (480) Warning: stream failed to open [file:///D:/Music/Music/00_VA/MC%20Electronic%20Mix%20Crash%20CD%20[ModelCitizen%202007]/11%20-%20Younger%20Brother%20-%20The%20Finger.flac].
    [21-04-19 09:05:39.3388] Slim::Formats::readTags (176) File missing: D:\Music\Music\00_VA\10 Tons Heavy\Disk 1\01 - Pinch - Qawwali.flac
    [21-04-19 09:05:39.3512] Slim::Formats::readTags (176) File missing: D:\Music\Music\00_VA\10 Tons Heavy\Disk 1\01 - Pinch - Qawwali.flac
    [21-04-19 09:05:43.0397] Slim::Formats::readTags (176) File missing: D:\Music\Music\00_VA\10 Tons Heavy\Disk 1\01 - Pinch - Qawwali.flac
    [21-04-19 09:05:43.0544] Slim::Formats::readTags (176) File missing: D:\Music\Music\00_VA\10 Tons Heavy\Disk 1\01 - Pinch - Qawwali.flac
    [21-04-19 09:06:09.3617] Slim::Formats::readTags (176) File missing: D:\Music\Music\00_VA\10 Tons Heavy\Disk 1\01 - Pinch - Qawwali.flac
    [21-04-19 09:06:09.3741] Slim::Formats::readTags (176) File missing: D:\Music\Music\00_VA\10 Tons Heavy\Disk 1\01 - Pinch - Qawwali.flac
    Take care of your tongue. It is in a wet place and can easily slip.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •