IPB

Welcome Guest ( Log In | Register )

> foobar2000 Tech Support Forum Rules

Please read foobar2000 Tech Support Forum Rules before posting and comply with all the points.
Failure to provide all the information pointed out in the above document in your post is considered wasting other people's time and in extreme cases will lead to your topic getting locked without a reply.


See also: Hydrogenaudio Terms of Service.

 
Reply to this topicStart new topic
Playlists and playcount "lost" after supposed crash
BrutuZ
post May 28 2013, 18:04
Post #1





Group: Members
Posts: 85
Joined: 12-March 10
Member No.: 78963



As the title suggests, my playlists and playcount got a little funky after a crash. I can't precise what crashed since I was asleep and the system has a Scheduled Task to run a series of command-line commands to properly close Foobar2000 and then put Windows on stand-by.
It usually works fine, I have been using this for more than a year now in order to make Foobar2000 play an online radio to help me sleep and properly close Foobar2000 and suspend the PC at a given time.

The problem I had today was for some reason the suspension process didn't complete (the computer remained on, with fans spinning and all) and I suspect Foobar may have been involved since when I opened it all my playlists were lost ... actually they were kind of there, but there were many more playlists than should be, and most of them empty. But the most important thing was that they no longer had their names nor the Dynamic Playlist filter (since most of them were Dynamic, they were rendered useless).

I don't know where the playcounts are stored, but if there is any chance to recover my old playlists from that mess created after the crash it would be great. I only had about a dozen playlists but for some reason when I checked the folder there were now 30 playlist files blink.gif I RARed and uploaded the files in the playlists folder just in case https://dl.dropboxusercontent.com/u/34868554/playlists.rar

If there is any other file or information that could be helpful on solving this mystery just ask.

Not sure if it's relevant or not but in any case, I use a portable installation, I think it was v1.1.13, I'm not sure now since I updated hoping it would magically fix the situation.


Thanks in advance


--------------------
http://www.last.fm/user/BrutuZ
Go to the top of the page
+Quote Post
Robertina
post May 29 2013, 11:05
Post #2





Group: Members
Posts: 1306
Joined: 4-January 09
Member No.: 65169



QUOTE (BrutuZ @ May 28 2013, 06:04) *
I don't know where the playcounts are stored

They are stored in the folder foobar2000\index-data.

Beyond that I am afraid there cannot be much if anything done to get your previous, working configuration back:
  • Playlist names : From what I know, foobar2000 gets the names from the 'index.dat'. I looked into your dat-file and couldn't find hints referencing to playlist names other than those which your foobar does currently show.
  • Playlist content : I also looked into your playlists. Those that are shown as beeing empty by fb2k, are empty (don't contain track entries).
If I were you I would check the HDD for errors and use Autosave & Autobackup from now forth.

If foobar2000 crashes it normally welcomes you with an error message offering to start it either in normal or minimal mode and to send a bug report to the developers; these reports are saved in the directory foobar2000\dump, if I remember correctly. Are there any recently created files in? The Windows event viewer might also give you information about what has happened.
Go to the top of the page
+Quote Post
BrutuZ
post May 29 2013, 16:05
Post #3





Group: Members
Posts: 85
Joined: 12-March 10
Member No.: 78963



QUOTE (Robertina @ May 29 2013, 07:05) *
QUOTE (BrutuZ @ May 28 2013, 06:04) *
I don't know where the playcounts are stored

They are stored in the folder foobar2000\index-data.

Beyond that I am afraid there cannot be much if anything done to get your previous, working configuration back:
  • Playlist names : From what I know, foobar2000 gets the names from the 'index.dat'. I looked into your dat-file and couldn't find hints referencing to playlist names other than those which your foobar does currently show.
  • Playlist content : I also looked into your playlists. Those that are shown as beeing empty by fb2k, are empty (don't contain track entries).
If I were you I would check the HDD for errors and use Autosave & Autobackup from now forth.

If foobar2000 crashes it normally welcomes you with an error message offering to start it either in normal or minimal mode and to send a bug report to the developers; these reports are saved in the directory foobar2000\dump, if I remember correctly. Are there any recently created files in? The Windows event viewer might also give you information about what has happened.
That's sad to hear, but it was kinda of expected. Thanks for the plugin recommendation though, will start using it right away to prevent running into this issue again cool.gif

The problem was probably due my Windows' acquired attitude. It's the same installation since Seven was launched, which already makes it act funky sometimes, my recent trend of making it go to Stand-By instead of a full Shutdown as I used to probably doesn't help laugh.gif

Foobar wasn't the only one that crashed, it was a system-wide crash, therefore no dump file was created. ohmy.gif


--------------------
http://www.last.fm/user/BrutuZ
Go to the top of the page
+Quote Post
bernhold
post May 29 2013, 23:06
Post #4





Group: Members
Posts: 41
Joined: 22-March 13
Member No.: 107330



I have a very similiar problem. After a crash, I restored a system backup, overwriting my foobar2000 folder. Now my %playcount% column shows 0 for all tracks, but the correct playcount is still stored in the PLAY_COUNT tag of my files. Why doesn't foobar read it from the file tag? Anyone know how to fix this?
Go to the top of the page
+Quote Post
Robertina
post May 30 2013, 00:22
Post #5





Group: Members
Posts: 1306
Joined: 4-January 09
Member No.: 65169



QUOTE (bernhold @ May 29 2013, 11:06) *
Why doesn't foobar read it from the file tag?

Do you use $meta(play_count) as pattern for the column?

Playback Statistics v3.x documentation
Go to the top of the page
+Quote Post
bernhold
post May 30 2013, 12:30
Post #6





Group: Members
Posts: 41
Joined: 22-March 13
Member No.: 107330



Awesome, thank you! It works now! $meta(play_count) reads the play count directly from file tags. %playcount% reads the playcount from an internal database, which was reset when I overwrote my foobar folder.
Go to the top of the page
+Quote Post
BenB
post May 30 2013, 18:36
Post #7





Group: Members
Posts: 733
Joined: 17-April 12
Member No.: 98921



Did you try importing the tag info back into the database? I'm just curious. I'm not suggesting that you do or do not do it.
Go to the top of the page
+Quote Post
bernhold
post May 31 2013, 18:06
Post #8





Group: Members
Posts: 41
Joined: 22-March 13
Member No.: 107330



No, I didn't even know that's possible. How do I do that?
Go to the top of the page
+Quote Post
BenB
post May 31 2013, 18:39
Post #9





Group: Members
Posts: 733
Joined: 17-April 12
Member No.: 98921



In the context menu under Playback Statistics, there is an "Import statistics from file tags" entry.

If you don't see it, hold Shift while right-clicking. You can enable/disable its automatic display in the context menu by customizing the context menu at Preferences > Display > Context Menu.
Go to the top of the page
+Quote Post
bernhold
post Jun 3 2013, 04:54
Post #10





Group: Members
Posts: 41
Joined: 22-March 13
Member No.: 107330



It works! Thank you very much, if I only knew about this earlier
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 3rd September 2014 - 01:03