Re: [slim] Bug with MP3 player bitrate limiting... maybe?

2021-04-19 Thread bpa


ModelCitizen wrote: 
> Ah...
> 
> C:\Users\simon>C:\PROGRA~1\SQUEEZ~1\server\Bin\MSWin32-x86-multi-thread\lame.exe
> This version of
> C:\PROGRA~1\SQUEEZ~1\server\Bin\MSWin32-x86-multi-thread\lame.exe is not
> compatible with the version of Windows you're running. Check your
> computer's system information and then contact the software publisher.
> 
> OK. It's a 64 bit version on a 32 bit PC.  :-(
> 
> Install date is 2018. It beggars belief I've not noticed before.

Mismatched exe and kernel is a very common sort of problem  - happens on
Linux and Windows systems.  When installing an application required for
transcoding, it is a good idea to do a sanity check not only to see exe
run but also to check version and build options. 

64bit on 32 bit PC won't work but quite often a 32bit exe or even a
64kbit exe won't work on a 64 bit kernel because of missing
libraries/DLLs.

Many Windows exe's can fail if they don't have a full install package
which does checking and install compatibility libraries (due to
different version of compiler).  A quick look at the WinSxS directory
will show how many compatibility libraries have been installed.



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

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


Re: [slim] Bug with MP3 player bitrate limiting... maybe?

2021-04-19 Thread ModelCitizen


Ah...

C:\Users\simon>C:\PROGRA~1\SQUEEZ~1\server\Bin\MSWin32-x86-multi-thread\lame.exe
This version of
C:\PROGRA~1\SQUEEZ~1\server\Bin\MSWin32-x86-multi-thread\lame.exe is not
compatible with the version of Windows you're running. Check your
computer's system information and then contact the software publisher.

It's a bit old.

34266


How could that happen?


+---+
|Filename: Lame.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=34266|
+---+


Take care of your tongue. It is in a wet place and can easily slip.

ModelCitizen's Profile: http://forums.slimdevices.com/member.php?userid=446
View this thread: http://forums.slimdevices.com/showthread.php?t=114397

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


Re: [slim] Bug with MP3 player bitrate limiting... maybe?

2021-04-19 Thread bpa


ModelCitizen wrote: 
> I am still left with the original issue. Here's the log with the
> requested logging enabled.

Did you check whether
"C:\PROGRA~1\SQUEEZ~1\server\Bin\MSWin32-x86-multi-thread\lame.exe" runs
from a command prompt and it prodices a banner.
What version of lame is shown in the banner ?



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

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


Re: [slim] Bug with MP3 player bitrate limiting... maybe?

2021-04-19 Thread ModelCitizen


I've gone through my Playlists and corrected any oddities.

I also searched within files in the prefs directory for D:/Music/ and
replaced with D:/MyMusic/ (269 instances).
I deleted the cache.

Once scanning had finished I found I'd lost most of the my plugins.
Adding them back caused a few oddities but things seem to be back to
normal now and stuff works and the log file is cleaner. So thanks for
that.

I am still left with the original issue. Here's the log with the
requested logging enabled.

34264


+---+
|Filename: skipping 2.log   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=34264|
+---+


Take care of your tongue. It is in a wet place and can easily slip.

ModelCitizen's Profile: http://forums.slimdevices.com/member.php?userid=446
View this thread: http://forums.slimdevices.com/showthread.php?t=114397

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


Re: [slim] Bug with MP3 player bitrate limiting... maybe?

2021-04-19 Thread bpa


ModelCitizen wrote: 
> 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.
Post the log of player.source set to INFO for the problem to see what is
causing the issue now.

Since there is still the "old" problem and there is also a second
problem. I'd guess there could be remnant of the double install
somewhere in some file. For example something in new install found files
from old install and saved it in its prefs but these prefs have not been
updated since deleting directories. 

With LMS stopped, scan the contents of the prefs files (all text) for
all occurances of "Music"  (case insensitive search)

With LMS stopped, I'd also delete the contents of the Cache directory
just to be safe.



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

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


Re: [slim] Bug with MP3 player bitrate limiting... maybe?

2021-04-19 Thread Paul Webster


First guess ... playlists with old references



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

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=114397

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


Re: [slim] Bug with MP3 player bitrate limiting... maybe?

2021-04-19 Thread ModelCitizen


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::open (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::open (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.

ModelCitizen's Profile: http://forums.slimdevices.com/member.php?userid=446
View this thread: http://forums.slimdevices.com/showthread.php?t=114397

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


Re: [slim] Bug with MP3 player bitrate limiting... maybe?

2021-04-17 Thread bpa


ModelCitizen wrote: 
> 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



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

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


Re: [slim] Bug with MP3 player bitrate limiting... maybe?

2021-04-17 Thread ModelCitizen


bpa wrote: 
> 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.

ModelCitizen's Profile: http://forums.slimdevices.com/member.php?userid=446
View this thread: http://forums.slimdevices.com/showthread.php?t=114397

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


Re: [slim] Bug with MP3 player bitrate limiting... maybe?

2021-04-17 Thread bpa


Paul Webster wrote: 
> 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.



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

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


Re: [slim] Bug with MP3 player bitrate limiting... maybe?

2021-04-17 Thread Paul Webster


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

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=114397

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


Re: [slim] Bug with MP3 player bitrate limiting... maybe?

2021-04-17 Thread bpa


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]
  




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

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


Re: [slim] Bug with MP3 player bitrate limiting... maybe?

2021-04-17 Thread Paul Webster


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

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=114397

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


[slim] Bug with MP3 player bitrate limiting... maybe?

2021-04-17 Thread ModelCitizen


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
34235

Any help appreciated, as always...


+---+
|Filename: skipping.log |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=34235|
+---+


Take care of your tongue. It is in a wet place and can easily slip.

ModelCitizen's Profile: http://forums.slimdevices.com/member.php?userid=446
View this thread: http://forums.slimdevices.com/showthread.php?t=114397

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