Software Support > DOS/WinCab

Add or Remove Songs from "Popular" list

(1/1)

gabypotter:
Hi!
Is there a way to add or remove songs
from the "Popular" List?
which file is the one that saves that list?
Thanks!

Chris:
This information is stored in jukebox.db in the DATA folder.  The Popular list is based on the number of times a file has been played; the play count is written back to the database every time you close the jukebox.

If you edit this file with a text editor, you'll see the records for individual songs.  A song record looks like this:
{614313IWIL}{I Will Remember You}{Sarah McLachlan}{Singles}{0}{1145561514}{287}{0}{}{12}{1}{5}

I've highlighted the field that represents the play count.  This song has been played 12 times.  Each time a song is played, it's playcount (in memory) is incremented and the Popular table re-sorted.

Does this help?

--Chris

gabypotter:
thank you!!!
very very very much!!!

Chris:
For those curious about all the fields, here they are from left to right:

// Database fields:
#define DB_ID           0   //    Normalized file ID
#define DB_TITLE        1   //    Title
#define DB_ARTIST       2   //    Artist
#define DB_ALBUM        3   //    Album
#define DB_TRACKNO      4   //    Track Number
#define DB_DATE         5   //    Date last updated
#define DB_LENGTH       6   //    Song length in seconds
#define DB_PLAYCOUNT    7   //    Playcount
#define DB_GENRE        8   //    Genre
#define DB_YEAR         9   //    Year of release
#define DB_TITLESTRIP   10  //    Reverse index to titlestrip
#define DB_FOLDERID     11  //    Integer pointer to folder, used to match "special case" albums

Navigation

[0] Message Index

Go to full version