Help - Search - Members - Calendar
Full Version: foobar2000.cfg corrupted after rebooting
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Support - (fb2k)
audioslicker
foobar2000.cfg gets corrupt if I dont close out foobar2k prior to reboot/shutdown. any ideas?
Mr_Rabid_Teddybear
One obvious idea are to make backup. I had my foobar2000.cfg nuked a few times for different reasons, why it happens to you maybe some of the devs can answer, maybe not....(?) But luckily for me I had backup when it happend to me...

mixmixmix
QUOTE(Mr_Rabid_Teddybear @ Apr 27 2005, 02:47 PM)
One obvious idea are to make backup. I had my foobar2000.cfg nuked a few times for different reasons, why it happens to you maybe some of the devs can answer, maybe not....(?) But luckily for me I had backup when it happend to me...
*



this is probably my biggest gripe with foobar;

it's always deleting my playlists; and i mess with them each day adn dont always remember to make backups.

many's the time i've had foo_scheduler shut down my pc and woken up the next morning to 1 playlist (out of 15 from the night before) alive

seanyseansean
It seems that whenever there's a problem foobar just invalidates and resets its config. It happens more when Audioscrobbler has a large queue - I think the queue is saved in the cfg file and is kept open, so if foobar hangs on exit (due to audioscrobbler being down again) it'll reset the config. Damn annoying. Could the cfg file be moved to a more obvious xml format? That might help (you could tweak it manually), but the best idea is to stop dynamic data from being stored in the cfg, like audioscrobbler queues.

I have a scheduled task which backs up my foobar directory every hour now but since I set it up foobar hasn't gone wrong, bah!
jkwarras
I guess that having a foo_backup plugin that backup yoru important config files when you close fb2k will be nice. Of course this can de done manually (that's what I do) unsure.gif
eliazu
it happend to me twice in the last 2 weeks.
i went crazy. and i still didnt find why did it happen.
mixmixmix
would you be able to tell me how to schedule a backpu of the folder, please?
DotNoir
I'm not 100% certain, but i think that if you have enabled "fast shutdown" on some tweak program, foobar2000 doesn't have time enough to save the config. It has happened to me, but only on the installations i have turned fast shutdown on from xp-antispy for example. Now that i don't have the "option" turned on i can just power down with foobar2000 running.

Other thing is of course that you are using some component which is broken and corrupts the config file.

Two out of two user error and not foobars fault.
dano
that's my solution to the shutdown problem, maybe it helps someone
http://www.hydrogenaudio.org/forums/index....ndpost&p=224621
Mr_Rabid_Teddybear
Much of this are due to 3d party components... Like I had my foobar2000.cfg nuked by foo_shuffle a couple of times (fixed when I reduced "history size" from 100% to 99%), and I had foo_uie_albumart in for a short while, which wiped all my playlists once an hour.... now I backup the entire foobar2000 directory to a 7z once in a while....
And dano's suggestion fixes the shutdown problem with foo_scheduler... Even though I went for a different "shutdown.exe" from here, and renamed it shutdown1.exe to avoid confusion. This is my shutdown.bat batchfile with that one:

CODE
@echo off
title Shutdown
start D:\Multimedia\Audio\foobar2000\foobar2000.exe /exit
start D:\Multimedia\Audio\foobar2000\misc\shutdown1.exe -s shutdown -l 90 -f -m "Thank you, ladies and gentlemen! Thank you! And a really good night to you all!"
exit



Advantages over XP's buildt in shutdown.exe are among others that you cancel the shutdown...

mixmixmix
thanks for your help , guys.

mr teddybears post has helped me a lot.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.