PDA

View Full Version : Unable to play FLAC files, related somehow to service?



Jim
2005-04-27, 11:08
Server: All versions, Windows XP SP2.
Hardware: Squeezebox MK1

This has been happenig for around a month now, despite complete uninstalls of Slimserver, installs of official release versions, installs of latest nightly etc... etc... I've decided it is an issue with my system somewhere and had better report it before all hope is lost and I reinstall Windows.

I can play FLAC files on my SB1 if I run the Slimserver under my administrator account (not as a service).

If I run Slimserver as a service (under account SYSTEM) it skips over all FLAC files, yet plays everything else.

I've checked the Effective Permissions for the flac.exe and SYSTEM has full control, SYSTEM also has full control of all FLAC files and all programs in the Slimserver folder. A wav file will play, yet a FLAC file in the same folder will not.

Looking at the logs according to the Slimserver end of file was reached at 0?

Any other logs to check, or anyone else experienced this?

I'm getting sick of having to start SlimServer manually all the time.

fuzzyT
2005-04-27, 11:12
Jim wrote:

> I can play FLAC files on my SB1 if I run the Slimserver under my
> administrator account (not as a service).

You've checked the permissions on the FLAC files, have you checked
permissions on the decoder?

--rt

Ben Sandee
2005-04-27, 11:14
On 4/27/05, Jim <Jim.1o5sun (AT) no-mx (DOT) forums.slimdevices.com> wrote:

<snip>

> I can play FLAC files on my SB1 if I run the Slimserver under my
> administrator account (not as a service).
>
> If I run Slimserver as a service (under account SYSTEM) it skips over
> all FLAC files, yet plays everything else.

<snip>

> Any other logs to check, or anyone else experienced this?

Jim,

Is flac.exe in your *system* path or your admin account path? You
might try dropping it into windows\system32 just for kicks (I know
it's not a good final resting place).

Ben

Jim
2005-04-27, 11:20
You've checked the permissions on the FLAC files, have you checked
permissions on the decoder?

--rt

As stated:


I've checked the Effective Permissions for the flac.exe and SYSTEM has full control, SYSTEM also has full control of all FLAC files and all programs in the Slimserver folder.

Also forgot to mention I have uninstalled firewall, and I've made sure Windows Firewall is not running.

Jim
2005-04-27, 11:31
Jim,

Is flac.exe in your *system* path or your admin account path? You
might try dropping it into windows\system32 just for kicks (I know
it's not a good final resting place).

Ben

Searching the entire computer flac.exe is in 1 location - the expected win32-multithread one.

Typing flac.exe from the command line errors, proving I don't have it hidden in a path somewhere.

I copied it to system32 as suggested, and the same error occurs.

flac.exe is valid, I can run this to decode a file from the command line.

Are there any logs it is worth me dumping that might assist?

fuzzyT
2005-04-27, 11:38
Jim wrote:

>>*I've checked the Effective Permissions for the flac.exe* and SYSTEM has
>>full control, SYSTEM also has full control of all FLAC files and all
>>programs in the Slimserver folder.

sorry about that, scanned too quickly.

next up: are the FLAC files on a local drive? SYSTEM only has
permissions to local resources. so, FLAC files on a network share could
have SYSTEM/read set correctly, but that is another instance of SYSTEM.

something to try: set up a service/user account for SlimServer and run
under this context. you can adjust security appropriate to the need and
not have to live under the strictures of SYSTEM. and it allows for
future expansion of the music library onto non-local fileservers.

--rt

Jim
2005-04-27, 11:53
As a test I've set my music & playlist library to point to C:\Program Files\Slimserver\Music

I copied a FLAC there, and again rechecked the permissions on the file.

I try to play the song and the same happens.

A temp playlist was created in this folder however, which again suggests that System has access to this folder.

I will try FuzzyT's suggestions about running the service under a specific Slimserver account which I'll create and give access to all.

One thing I've thought of is does flac.exe create a temp output file somewhere when transcoding to wav, is this possibly non-overrideable? Are there any other temp files/registry settings created outside of the C:\Program Files\SlimServer folder ?

Jim
2005-04-27, 11:58
Now I am baffled.

I've changed the Slimserver service to logon as my account (Jim).

When starting Slimserver manually under this account remember that it worked.

However running as a service under this account made it fail.

Created a new account - SlimServer with Admin permissions. Specifically granted "SlimServer" full access to C:\Program Files\Slimserver and all subfolders/files (remember my test FLACs are here now). Same story, WAV's work....MP3's work...FLAC's don't.

I have tweaked/disabled a few services on this XP install and it is not a standard install - is there anything that possibly the Slimserver relies on?

But I expect with any problems such as this all playing would fail, not just FLAC files.

Any ideas, again I ask - what logs are worth looking at?

kdf
2005-04-27, 12:20
Quoting Jim <Jim.1o5v60 (AT) no-mx (DOT) forums.slimdevices.com>:

> Any ideas, again I ask - what logs are worth looking at?

d_source is probably the only one useful for song playback command problems, but
it seemed from your backstory that you have already looked at those.

-kdf

Jim
2005-04-27, 12:36
Here's the output from my d_source / dsource_v:



2005-04-27 16:32:09.6350 Setting maxBitRate for Living Room to: 0
2005-04-27 16:32:09.6352 Setting maxBitRate for Living Room to: 0
2005-04-27 16:32:12.2343 Backtrace:

frame 0: Slim::Player::Source::playmode (/PerlApp/Slim/Control/Command.pm line 597)
frame 1: Slim::Control::Command::execute (/PerlApp/Slim/Web/HTTP.pm line 664)
frame 2: Slim::Web::HTTP::processURL (/PerlApp/Slim/Web/HTTP.pm line 532)
frame 3: Slim::Web::HTTP::processHTTP (/PerlApp/Slim/Networking/Select.pm line 115)
frame 4: Slim::Networking::Select::select (slimserver.pl line 623)
frame 5: main::idle (slimserver.pl line 40)
frame 6: PerlSvc::Startup (perlsvc line 1204)
frame 7: PerlSvc::_startup (slimserver.pl line 0)
frame 8: (eval) (slimserver.pl line 0)

2005-04-27 16:32:12.2344 00:04:20:05:8e:14: Switching to mode play from stop
2005-04-27 16:32:12.2349 openSong on: file:///C:/Program%20Files/SlimServer/MUSIC/01%20-%20Computer%20World.flac
2005-04-27 16:32:12.2361 openSong: getting duration 307.573333333333, size 28907974, endian and offset 0 for file:///C:/Program%20Files/SlimServer/MUSIC/01%20-%20Computer%20World.flac
2005-04-27 16:32:12.2363 Setting maxBitRate for Living Room to: 0
2005-04-27 16:32:12.2364 Setting maxBitRate for Living Room to: 0
2005-04-27 16:32:12.2507 Setting maxBitRate for Living Room to: 0
2005-04-27 16:32:12.2508 Setting maxBitRate for Living Room to: 0
2005-04-27 16:32:12.2509 undermax = 1, type = flc, squeezebox = 00:04:20:05:8e:14, lame =
2005-04-27 16:32:12.2510 checking formats for: flc-aif-squeezebox-00:04:20:05:8e:14
2005-04-27 16:32:12.2510 Checking to see if flc-aif-squeezebox-00:04:20:05:8e:14 is enabled
2005-04-27 16:32:12.2510 enabled
2005-04-27 16:32:12.2511 checking formats for: flc-aif-*-00:04:20:05:8e:14
2005-04-27 16:32:12.2511 Checking to see if flc-aif-*-00:04:20:05:8e:14 is enabled
2005-04-27 16:32:12.2511 enabled
2005-04-27 16:32:12.2511 checking formats for: flc-aif-squeezebox-*
2005-04-27 16:32:12.2512 Checking to see if flc-aif-squeezebox-* is enabled
2005-04-27 16:32:12.2512 enabled
2005-04-27 16:32:12.2512 checking formats for: flc-aif-*-*
2005-04-27 16:32:12.2513 Checking to see if flc-aif-*-* is enabled
2005-04-27 16:32:12.2513 enabled
2005-04-27 16:32:12.2513 checking formats for: flc-wav-squeezebox-00:04:20:05:8e:14
2005-04-27 16:32:12.2514 Checking to see if flc-wav-squeezebox-00:04:20:05:8e:14 is enabled
2005-04-27 16:32:12.2514 enabled
2005-04-27 16:32:12.2514 checking formats for: flc-wav-*-00:04:20:05:8e:14
2005-04-27 16:32:12.2514 Checking to see if flc-wav-*-00:04:20:05:8e:14 is enabled
2005-04-27 16:32:12.2515 enabled
2005-04-27 16:32:12.2515 checking formats for: flc-wav-squeezebox-*
2005-04-27 16:32:12.2515 Checking to see if flc-wav-squeezebox-* is enabled
2005-04-27 16:32:12.2515 enabled
2005-04-27 16:32:12.2516 checking formats for: flc-wav-*-*
2005-04-27 16:32:12.2516 Checking to see if flc-wav-*-* is enabled
2005-04-27 16:32:12.2516 enabled
2005-04-27 16:32:12.2517 Found command: [flac] -dcs --force-raw-format --endian=little --sign=signed --skip=$START$ --until=$END$ -- $FILE$
2005-04-27 16:32:12.2521 Setting maxBitRate for Living Room to: 0
2005-04-27 16:32:12.2522 Setting maxBitRate for Living Room to: 0
2005-04-27 16:32:12.2522 Matched Format: wav Type: flc Command: [flac] -dcs --force-raw-format --endian=little --sign=signed --skip=$START$ --until=$END$ -- $FILE$
2005-04-27 16:32:12.2523 openSong: this is an flc file: file:///C:/Program%20Files/SlimServer/MUSIC/01%20-%20Computer%20World.flac
2005-04-27 16:32:12.2523 file type: flc format: wav inrate: 751.775030345067 maxRate: 0
2005-04-27 16:32:12.2523 command: [flac] -dcs --force-raw-format --endian=little --sign=signed --skip=$START$ --until=$END$ -- $FILE$
2005-04-27 16:32:12.2527 Using command for conversion: "C:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\flac.exe" -dcs --force-raw-format --endian=little --sign=signed --skip=0 --until=-0 -- "C:\Program Files\SlimServer\MUSIC\01 - Computer World.flac" |
2005-04-27 16:32:12.2743 Streaming with format: wav
2005-04-27 16:32:12.3083 00:04:20:05:8e:14 New play mode: play
2005-04-27 16:32:12.3096 00:04:20:05:8e:14: Current playmode: play
2005-04-27 16:32:12.3207 Setting maxBitRate for Living Room to: 0
2005-04-27 16:32:12.3209 Setting maxBitRate for Living Room to: 0
2005-04-27 16:32:12.3320 Read to end of file or pipe
2005-04-27 16:32:12.3321 end of file or error on socket, opening next song, (song pos: 0(tell says: . ), totalbytes: 0)
2005-04-27 16:32:12.3322 opening next song...
2005-04-27 16:32:12.3325 Backtrace:

frame 0: Slim::Player::Source::playmode (/PerlApp/Slim/Player/Source.pm line 815)
frame 1: Slim::Player::Source::gotoNext (/PerlApp/Slim/Player/Source.pm line 1844)
frame 2: Slim::Player::Source::readNextChunk (/PerlApp/Slim/Player/Source.pm line 595)
frame 3: Slim::Player::Source::nextChunk (/PerlApp/Slim/Web/HTTP.pm line 1251)
frame 4: Slim::Web::HTTP::sendStreamingResponse (/PerlApp/Slim/Networking/Select.pm line 124)
frame 5: Slim::Networking::Select::select (slimserver.pl line 623)
frame 6: main::idle (slimserver.pl line 40)
frame 7: PerlSvc::Startup (perlsvc line 1204)
frame 8: PerlSvc::_startup (slimserver.pl line 0)
frame 9: (eval) (slimserver.pl line 0)

2005-04-27 16:32:12.3894 00:04:20:05:8e:14: Switching to mode playout-stop from play
2005-04-27 16:32:12.3895 00:04:20:05:8e:14 New play mode: playout-stop
2005-04-27 16:32:12.3904 00:04:20:05:8e:14: Current playmode: playout-stop
2005-04-27 16:32:12.3905 No pending chunks - we're dropping the streaming connection
2005-04-27 16:32:12.3924 00:04:20:05:8e:14: Can't opennext, returning no chunk.
2005-04-27 16:32:12.3997 00:04:20:05:8e:14: Underrun while this mode: playout-stop
2005-04-27 16:32:12.3999 Backtrace:

frame 0: Slim::Player::Source::playmode (/PerlApp/Slim/Player/Source.pm line 550)
frame 1: Slim::Player::Source::underrun (/PerlApp/Slim/Networking/Slimproto.pm line 491)
frame 2: Slim::Networking::Slimproto::process_slimproto_fra me (/PerlApp/Slim/Networking/Slimproto.pm line 236)
frame 3: Slim::Networking::Slimproto::client_readable (/PerlApp/Slim/Networking/Select.pm line 115)
frame 4: Slim::Networking::Select::select (slimserver.pl line 623)
frame 5: main::idle (slimserver.pl line 40)
frame 6: PerlSvc::Startup (perlsvc line 1204)
frame 7: PerlSvc::_startup (slimserver.pl line 0)
frame 8: (eval) (slimserver.pl line 0)

2005-04-27 16:32:12.4000 00:04:20:05:8e:14: Switching to mode stop from playout-stop
2005-04-27 16:32:12.4000 00:04:20:05:8e:14 New play mode: stop
2005-04-27 16:32:12.4001 Stopping and clearing out old chunks for client 00:04:20:05:8e:14
2005-04-27 16:32:12.4005 Resetting song queue
2005-04-27 16:32:12.4005 Song queue is now 0
2005-04-27 16:32:12.4008 00:04:20:05:8e:14: Current playmode: stop
2005-04-27 16:32:42.3792 Setting maxBitRate for Living Room to: 0
2005-04-27 16:32:42.3794 Setting maxBitRate for Living Room to: 0
2005-04-27 16:33:12.5526 Setting maxBitRate for Living Room to: 0
2005-04-27 16:33:12.5528 Setting maxBitRate for Living Room to: 0
2005-04-27 16:33:42.7724 Setting maxBitRate for Living Room to: 0
2005-04-27 16:33:42.7726 Setting maxBitRate for Living Room to: 0

Jim
2005-04-27, 12:46
SoftSqueeze works, but I guess that's because it is transcoding to FLAC like a Squeezebox 2.

kdf
2005-04-27, 12:48
Quoting Jim <Jim.1o5x0n (AT) no-mx (DOT) forums.slimdevices.com>:

>
> Here's the output from my d_source / dsource_v:

well, I haven't looked at enough flac source debugs to be sure, but the only
thing that stood out for me was the --skip=0 --until=-0. That could be the
proper output for a full single track, but again, I haven't paid enough
attention to flac outputs before.

now, you say this works when you run manually, so if you do exactly the same
steps as you have for this debug do you see anything different in the debug
output when it is working manually? Of course, I expect you won't get the end
of file notice, but I'm curious if there is anything at all different leading
up to playing.

As to your question of temp files, the conversion uses stdout so the data is in
memory only from original file, converting to PCM (WAV) and streamed to the
SqueezeBox.

-kdf

Jim
2005-04-27, 13:43
This is getting increasinly more complicated.

When I turn on the dsource logging whilst running the SlimServer in "working mode" (i.e. started as an application rather than a service) the server crashes!

I look at the processes and flac.exe has started and is doing nothing.

I'm running out of ideas, how the heck can anything else be making this happening? Do I need to take the drastic measure of reinstalling Windoze? And if I do who says that whatever configs I changed last time won't affect it again?

Jim
2005-04-27, 13:50
Managed to get a working log, cleared the cache:



2005-04-27 17:46:03.9242 00:04:20:05:8e:14: Switching to mode play from stop
2005-04-27 17:46:03.9359 openSong on: file:///C:/Program%20Files/SlimServer/MUSIC/01%20-%20Computer%20World.flac
2005-04-27 17:46:03.9389 openSong: getting duration 307.573333333333, size 28907974, endian and offset 0 for file:///C:/Program%20Files/SlimServer/MUSIC/01%20-%20Computer%20World.flac
2005-04-27 17:46:03.9392 Setting maxBitRate for Living Room to: 0
2005-04-27 17:46:03.9393 Setting maxBitRate for Living Room to: 0
2005-04-27 17:46:03.9556 Setting maxBitRate for Living Room to: 0
2005-04-27 17:46:03.9557 Setting maxBitRate for Living Room to: 0
2005-04-27 17:46:03.9558 undermax = 1, type = flc, squeezebox = 00:04:20:05:8e:14, lame =
2005-04-27 17:46:03.9559 checking formats for: flc-aif-squeezebox-00:04:20:05:8e:14
2005-04-27 17:46:03.9559 Checking to see if flc-aif-squeezebox-00:04:20:05:8e:14 is enabled
2005-04-27 17:46:04.3423 enabled
2005-04-27 17:46:04.3424 checking formats for: flc-aif-*-00:04:20:05:8e:14
2005-04-27 17:46:04.3424 Checking to see if flc-aif-*-00:04:20:05:8e:14 is enabled
2005-04-27 17:46:04.3424 enabled
2005-04-27 17:46:04.3425 checking formats for: flc-aif-squeezebox-*
2005-04-27 17:46:04.3425 Checking to see if flc-aif-squeezebox-* is enabled
2005-04-27 17:46:04.3425 enabled
2005-04-27 17:46:04.3425 checking formats for: flc-aif-*-*
2005-04-27 17:46:04.3426 Checking to see if flc-aif-*-* is enabled
2005-04-27 17:46:04.3426 enabled
2005-04-27 17:46:04.3426 checking formats for: flc-wav-squeezebox-00:04:20:05:8e:14
2005-04-27 17:46:04.3427 Checking to see if flc-wav-squeezebox-00:04:20:05:8e:14 is enabled
2005-04-27 17:46:04.3427 enabled
2005-04-27 17:46:04.3427 checking formats for: flc-wav-*-00:04:20:05:8e:14
2005-04-27 17:46:04.3428 Checking to see if flc-wav-*-00:04:20:05:8e:14 is enabled
2005-04-27 17:46:04.3428 enabled
2005-04-27 17:46:04.3428 checking formats for: flc-wav-squeezebox-*
2005-04-27 17:46:04.3428 Checking to see if flc-wav-squeezebox-* is enabled
2005-04-27 17:46:04.3429 enabled
2005-04-27 17:46:04.3429 checking formats for: flc-wav-*-*
2005-04-27 17:46:04.3429 Checking to see if flc-wav-*-* is enabled
2005-04-27 17:46:04.3430 enabled
2005-04-27 17:46:04.3430 Found command: [flac] -dcs --force-raw-format --endian=little --sign=signed --skip=$START$ --until=$END$ -- $FILE$
2005-04-27 17:46:04.3435 Setting maxBitRate for Living Room to: 0
2005-04-27 17:46:04.3437 Setting maxBitRate for Living Room to: 0
2005-04-27 17:46:04.3437 Matched Format: wav Type: flc Command: [flac] -dcs --force-raw-format --endian=little --sign=signed --skip=$START$ --until=$END$ -- $FILE$
2005-04-27 17:46:04.3437 openSong: this is an flc file: file:///C:/Program%20Files/SlimServer/MUSIC/01%20-%20Computer%20World.flac
2005-04-27 17:46:04.3438 file type: flc format: wav inrate: 751.775030345067 maxRate: 0
2005-04-27 17:46:04.3438 command: [flac] -dcs --force-raw-format --endian=little --sign=signed --skip=$START$ --until=$END$ -- $FILE$
2005-04-27 17:46:04.3442 Using command for conversion: "C:\PROGRA~1\SLIMSE~1\server\Bin\MSWin32-x86-multi-thread\flac.exe" -dcs --force-raw-format --endian=little --sign=signed --skip=0 --until=-0 -- "C:\Program Files\SlimServer\MUSIC\01 - Computer World.flac" |
2005-04-27 17:46:04.3475 Streaming with format: wav
2005-04-27 17:46:04.3630 00:04:20:05:8e:14 New play mode: play
2005-04-27 17:46:04.3642 00:04:20:05:8e:14: Current playmode: play
2005-04-27 17:46:04.3906 Setting maxBitRate for Living Room to: 0
2005-04-27 17:46:04.3907 Setting maxBitRate for Living Room to: 0
2005-04-27 17:46:04.4328 Read 16384 bytes from source
2005-04-27 17:46:04.4353 read a chunk of 16384 length
2005-04-27 17:46:04.4729 Read 4096 bytes from source
2005-04-27 17:46:04.4730 read a chunk of 4096 length
2005-04-27 17:46:04.4740 Read 16384 bytes from source
2005-04-27 17:46:04.4741 read a chunk of 16384 length
2005-04-27 17:46:04.5202 Read 16384 bytes from source
2005-04-27 17:46:04.5202 read a chunk of 16384 length
2005-04-27 17:46:04.5386 Read 4096 bytes from source
2005-04-27 17:46:04.5387 read a chunk of 4096 length


Hmmm.

The difference I can spot is in a path name, the working version is using DOS-Style 8 character paths, whereas the non-working is using long paths. The question now is, how the hell can these be different? Where is this coming from?

WORKING:



Using command for conversion: "C:\PROGRA~1\SLIMSE~1\server\Bin\MSWin32-x86-multi-thread\flac.exe" -dcs --force-raw-format --endian=little --sign=signed --skip=0 --until=-0 -- "C:\Program Files\SlimServer\MUSIC\01 - Computer World.flac" |


NON-WORKING:



Using command for conversion: "C:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\flac.exe" -dcs --force-raw-format --endian=little --sign=signed --skip=0 --until=-0 -- "C:\Program Files\SlimServer\MUSIC\01 - Computer World.flac" |

Jim
2005-04-27, 14:20
OK, so now I'm puzzled. Has a turd been planted somewhere in the registry or something?

I decide to uninstall Slimserver and install it again to C:\Program Files\Blah

The working log now says "C:\PROGRA~1\BLAH\", the non-working "C:\Program Files\Blah\"

So again I uninstall Slimserver and install it again to C:\Blah

The working log now says "C:\BLAH\", the non-working "C:\Blah\"

Now I'm getting ready to reinstall Windoze XP, but would like your comments first.

kdf
2005-04-27, 14:23
Quoting Jim <Jim.1o600z (AT) no-mx (DOT) forums.slimdevices.com>:

>
> This is getting increasinly more complicated.
>
> When I turn on the dsource logging whilst running the SlimServer in
> "working mode" (i.e. started as an application rather than a service)
> the server crashes!
>
what's the crash message?

-kdf

Jim
2005-04-27, 14:30
what's the crash message?

-kdf

Cannot replicate that again, think it's just a red herring.

The interesting thing now is why Slimserver is using the path/file to flac.exe "C:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\flac.exe" when running as a service, which doesn't work. And why it then uses "C:\PROGRA~1\SLIMSE~1\server\Bin\MSWin32-x86-multi-thread\flac.exe" when not running as a service, which works.

Where are these differences coming from?

If I delete flac.exe from the MSWin32-x86 folder then in either mode the debug log gives a message that it couldn't find a decoder.

Are there any startup logs worth posting, and how do I set it to log on startup?

Jim
2005-04-27, 15:34
Just installed SlimServer on my laptop.

All works absolutely fine on here.

So this proves 2 things:

1 - It is not a player (hardware) issue.

2 - I do know what I am doing.

So back to my server....

If all security settings were not correct 2 things would happen:

1 - Slimserver wouldn't be able to show stuff such as length of songs when browsing - it does.

2 - It would state it couldn't find a flac.exe - it doesn't.

So having uninstalled Slimserver, reinstalled to different directories, setup the service to run under different accounts etc... etc... what the heck is wrong with it?

I can only imagine something is being left behind in between reinstalls. I've searched the registry for any mention of slim after uninstalling, and deleted the keys/values.

I am absolutely baffled as to why my only course of action seems to be to reinstall the Operating System on my server.

Completely uninstalled Slimserver. Rebooted. Rebooted again.

Went thru registry, searched for slim and deleted anything to do with slimserver.

Rebooted.

Installed SlimServer again.

Same problem.

Are there possibly other registry entries created, should I be searching for more than just slim in regedit ?

kdf
2005-04-27, 16:04
Quoting Jim <Jim.1o62cb (AT) no-mx (DOT) forums.slimdevices.com>:

> The interesting thing now is why Slimserver is using the path/file to
> flac.exe "C:\Program
> Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\flac.exe" when
> running as a service, which doesn't work. And why it then uses
> "C:\PROGRA~1\SLIMSE~1\server\Bin\MSWin32-x86-multi-thread\flac.exe"
> when not running as a service, which works.

Those are the standard 'short forms' that windows uses when programs dont
understand the fat32 extended filenames, or can't handle spaces in filenames.
I have no idea why slimserver is changing which format it uses.

-kdf

JJZolx
2005-04-27, 16:06
Are there possibly other registry entries created, should I be searching for more than just slim in regedit ?
I don't think SlimServer uses the registry. Probably the only registry settings you'll find are related to Start Menu shortcuts and the SlimServer service parameters.

Are your flac files on a network share? If so, and you haven't already done so, try playing a flac file stored on the server itself.

You mentioned having messed with the XP installation. Can you reverse those changes? You'd certainly be no worse off than doing a full reinstall of the OS.
________
hot box vaporizers (http://hotboxvaporizers.com)

kdf
2005-04-27, 16:08
Quoting Jim <Jim.1o654b (AT) no-mx (DOT) forums.slimdevices.com>:

> I am absolutely baffled as to why my only course of action seems to be
> to reinstall the Operating System on my server.

why not? Having used windows since the 3.0 days, its almost always been a
prefectly viable way to relieve unexplainable compounding troubles. Win98 was a
classic. Every 6 months, a complete wipe kept everything running smoothly.
Thankfully, this does seem to be a requirement less and less.

-kdf

Jim
2005-04-27, 16:17
My XP installation is working fine for everything - except this.

Long ago (up this thread) I had resorted to having 1 test FLAC file in the same folder as Slimserver.

I also tested this from C:\MUSIC too.

Just one file.

Rather than reinstall XP I'd like to find out the root of the problem - and also it's quite a chore reinstalling all the other stuff on my server.

What I'm going to do now is install XP on another partition - I don't know why, but just so you guys can see that is is a problem somewhere with the SlimServer code or a turd that SlimServer has planted on my PC, and not with my PC/Disks/Files etc...

As for "messing" with my Windows, I don't mean I've blindly gone around screwing things up, what I mean is that I've not installed all services, I've removed a lot of the M$ bloatware crap from the install etc... etc.... This is exactly the same install which I used on my laptop, which if you see above has no problems with the server running as a service.

Jim
2005-04-27, 16:19
Every 6 months, a complete wipe kept everything running smoothly.
Thankfully, this does seem to be a requirement less and less.

-kdf

I installed the OS on the server < 1 month ago. Before this, for the last 2 years SlimServer was running fine with my SlimMP3, and for the last 4 months fine with my Squeezebox MK1.

I personally think the problem has appeared sometime during me installing a Nightly.

Of course now, wether I go back to a official release or a nightly build I have this problem.

aybee
2005-04-28, 12:00
Hi just adding my 'me too' to this thread (again).

I am experiencing the exact same problem and have been since moving to one of the 6.0 builds. None of the nightlies or changing permissions/accounts on files or folders have made any difference.

Kevin in support has been trying to help but I haven't been able to overcome this problem, which is just as you have described it.

Alan

Jim
2005-04-28, 14:29
Hi just adding my 'me too' to this thread (again).

I am experiencing the exact same problem and have been since moving to one of the 6.0 builds. None of the nightlies or changing permissions/accounts on files or folders have made any difference.

Kevin in support has been trying to help but I haven't been able to overcome this problem, which is just as you have described it.

Alan

Phew! Thank God I'm not the only one.

Now the question is, which one of us the most patience before doing a Windows reinstall (when our Windows installations are perfectly fine with everything else) ?

P.S. It ran fine from a new installation created on another partition.

JJZolx
2005-04-28, 14:56
Now the question is, which one of us the most patience before doing a Windows reinstall (when our Windows installations are perfectly fine with everything else) ?

P.S. It ran fine from a new installation created on another partition.

Which tells you what?

Elaborate on the "perfectly fine with everything else" statement. What other kinds of applications do you run on this machine and which other third-party services do you have installed and running?
________
box vaporizers (http://boxvaporizers.com)

Jim
2005-04-28, 15:36
Kaspersky Antivirus
Kerio Firewall
mySQL
PHP / Apache
Emule
Azeurus
Firefox
EAC
WinHex
Monkey's Audio
FLAC

(Obviously all were disabled during testing of this issue, and also I stopped every Windoze Service possible at one time too).

Jim
2005-04-28, 15:55
A little later (maybe tomorrow) I'll even let one of the lead programmers remote desktop into my server machine and check it out, do what they want with it to try and find the cause and/or get it working (I'll already have disconnected the disks to my personal stuff). That is someone here with moderator status, I'm not gonna let anyone into my machine !

PM me if interested, I've already resigned myself to a reinstall so have nothing to lose - this only helps SlimDevices if this problem starts occuring more often with others.

JJZolx
2005-04-28, 16:13
Kaspersky Antivirus
Kerio Firewall
mySQL
PHP / Apache
Emule
Azeurus
Firefox
EAC
WinHex
Monkey's Audio
FLAC

(Obviously all were disabled during testing of this issue, and also I stopped every Windoze Service possible at one time too).
Hmmm. A couple of those obviously run as services, but I'll bet none of them shell out to external exe's.

Something to try would be to run SlimServer as a server using Srvany.exe and see what happens. I realize it doesn't answer the question of what's going on, but if your main concern is that you have to run SlimServer manually, it might do the trick. Then again, you may run into exactly the same issue. Make sure that the installed SlimServer service isn't running at the same time.

Here's a short guide to using Srvany.exe and a download of the files you need:

http://www.tacktech.com/display.cfm?ttid=197
________
Honda CRF450R (http://www.cyclechaos.com/wiki/Honda_CRF450R)

Olav Sunde
2005-04-29, 14:59
Jim,
to debug a problem like this you could try Sysinternals FileMon and
RegMon apps and maybe Process Explorer. This will give you realtime view
to what happens when programs run. This is freeware, go to
http://www.sysinternals.com/ntw2k/utilities.shtml to download.
These apps have solved similar problems for me many times.

Olav