mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
First runtime database support, self repairing, only playcount works for now,
which is still rather crude; playcount gets increased even if the song started playback but was skipped... track rating should be trivial to add, autorating also works since its based on playcount. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6969 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4ec80704d5
commit
c735ed7914
11 changed files with 242 additions and 45 deletions
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
use vorbiscomm;
|
||||
|
||||
my $db = "rockbox.id3db";
|
||||
my $db = "rockbox.tagdb";
|
||||
my $dir;
|
||||
my $strip;
|
||||
my $add;
|
||||
|
|
@ -626,7 +626,7 @@ if ($db) {
|
|||
my $str = $f."\x00" x ($maxfilelen- length($f));
|
||||
my $id3 = $entries{$f};
|
||||
print DB $str;
|
||||
dumpint(0);
|
||||
dumpint(0); # TODO: add hashing; 0 for now.
|
||||
dumpint($id3->{'songoffset'});
|
||||
dumpint(-1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue