Hardeep Sidhu
bb07cca5d9
Forgot to remove test code for utf8
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10151 a1c6a512-1295-4272-9138-f99709370657
2006-06-28 15:50:35 +00:00
Hardeep Sidhu
4e88de837e
Re-adding songdb.pl with support for tagcache. Works with mp3 and has partial support for ogg.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10150 a1c6a512-1295-4272-9138-f99709370657
2006-06-28 15:44:51 +00:00
Daniel Stenberg
3215ed2e85
use tag cache
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9734 a1c6a512-1295-4272-9138-f99709370657
2006-04-19 22:14:45 +00:00
Daniel Stenberg
acabd28efc
Removed the risk of getting a zero CRC for a valid file.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7503 a1c6a512-1295-4272-9138-f99709370657
2005-09-09 07:35:09 +00:00
Michiel Van Der Kolk
ff7f4e8942
slight change in the bad CRC returned, to make rundb code handle it better.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7463 a1c6a512-1295-4272-9138-f99709370657
2005-09-03 11:43:15 +00:00
Daniel Stenberg
9757dc1bea
--nocrc to disable CRC checksums
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7378 a1c6a512-1295-4272-9138-f99709370657
2005-08-21 22:20:57 +00:00
Daniel Stenberg
7bf97cf91f
Help text added for --help. Confusion about the --dirisalbum and
...
--dirisalbumname options. What do they actually do?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7377 a1c6a512-1295-4272-9138-f99709370657
2005-08-21 22:04:49 +00:00
Daniel Stenberg
c9caf9781b
Fixed title extracting for Ogg files. Fixed suggested by 'cosmocat' in the
...
Misticriver forum.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7375 a1c6a512-1295-4272-9138-f99709370657
2005-08-21 20:53:34 +00:00
Ryan Jackson
40a8401cd3
songdb.pl now calculates the checksum for Ogg Vorbis files by starting at the first page of audio data
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7124 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 16:40:50 +00:00
Michiel Van Der Kolk
6fa590b0a7
i wasn't fully awake o.o
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7080 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 22:56:36 +00:00
Michiel Van Der Kolk
233b782a85
Proper sorting, explanation of the extra field.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7079 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 21:59:00 +00:00
Daniel Stenberg
c7430a7691
for oggs, we do a lame crc from index 0 to make the rundb work better (but this
...
_really_ should crc only the audio data and not the initial meta and tag data)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7078 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 21:25:15 +00:00
Daniel Stenberg
5081182fe1
Added CRC32 of the compressed song data, since that is what the format wants.
...
This is only added for mp3 yet as I didn't figure out how to get the index
to the compressed vorbis off ogg files just yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7033 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 22:02:59 +00:00
Michiel Van Der Kolk
c735ed7914
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
2005-07-01 17:29:44 +00:00
Daniel Stenberg
4fb816df85
Initial Vorbis Comments support. We just need a few more translations and it
...
should work fine. I personally don't have much "tagged" Vorbis songs so I'm
not really the man to do this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6592 a1c6a512-1295-4272-9138-f99709370657
2005-06-07 12:22:52 +00:00
Michiel Van Der Kolk
a5e9950354
that too..
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6565 a1c6a512-1295-4272-9138-f99709370657
2005-06-04 16:25:52 +00:00
Michiel Van Der Kolk
4b0823629a
Database v3
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6564 a1c6a512-1295-4272-9138-f99709370657
2005-06-04 16:25:17 +00:00
Michiel Van Der Kolk
7254b9cc15
--add option, by request of amiconn.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6350 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 20:42:45 +00:00
Michiel Van Der Kolk
d41d44f073
(Tag) Database v2. this fixes all bugs in the old songdb.pl, should react like
...
v1, except this has albums with multiple artists support. *prays nothing breaks*
:X
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6347 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 18:19:59 +00:00
Michiel Van Der Kolk
11359df6ca
Do not distinguish between case when sorting entries.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6339 a1c6a512-1295-4272-9138-f99709370657
2005-04-24 16:21:01 +00:00
Michiel Van Der Kolk
e327cc8be3
Fall back on "<no album tag>" if the file is in the root of the player and doesn't have an album tag...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6338 a1c6a512-1295-4272-9138-f99709370657
2005-04-24 15:00:15 +00:00
Michiel Van Der Kolk
50b656ff0c
Fall back on directory name if no album tag, instead of <no album tag>.
...
Fall back on basename of the file if no title tag, instead of <no title tag>.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6337 a1c6a512-1295-4272-9138-f99709370657
2005-04-24 14:30:11 +00:00
Michiel Van Der Kolk
438366ce3a
Proper dumpint function..
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6336 a1c6a512-1295-4272-9138-f99709370657
2005-04-24 12:38:01 +00:00
Michiel Van Der Kolk
7aa75e1dc0
Another broken link.
...
Albums -> Artist was completely nonsense. fixed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6335 a1c6a512-1295-4272-9138-f99709370657
2005-04-23 15:38:43 +00:00
Michiel Van Der Kolk
cec134f409
Song -> Album links were broken.
...
someone forgot to update all the $ALBUM___$ARTIST to $ALBUM___$DIR.
stumbled across it while extending it for version 2 of the database.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6334 a1c6a512-1295-4272-9138-f99709370657
2005-04-23 15:25:21 +00:00
Jonas Häggqvist
c5056b1d7f
Almost supports multiple-artist albums - needs a special case for songs with no album tag
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6279 a1c6a512-1295-4272-9138-f99709370657
2005-04-13 12:52:34 +00:00
Jonas Häggqvist
a32a74e591
Multi-artist cd handling will take a bit more work. Last version was broken.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6278 a1c6a512-1295-4272-9138-f99709370657
2005-04-13 00:40:55 +00:00
Jonas Häggqvist
34e2f722f7
Improved handling of multi-artist albums and tags with different cases
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6275 a1c6a512-1295-4272-9138-f99709370657
2005-04-12 16:07:01 +00:00
Björn Stenberg
f59a223266
Strip trailing directory slash
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5604 a1c6a512-1295-4272-9138-f99709370657
2005-01-19 11:55:33 +00:00
Björn Stenberg
a58941d03a
Windows requires setting files to binary mode
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5603 a1c6a512-1295-4272-9138-f99709370657
2005-01-19 10:22:55 +00:00
Björn Stenberg
7ae56e30fe
Removed 'strict'
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5585 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 16:15:54 +00:00
Daniel Stenberg
e24a528499
re-indented to look normal ;-)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5582 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 14:26:36 +00:00
Björn Stenberg
7396d99027
Don't die on opendir() failure. Index .mp2 files too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5581 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 13:50:08 +00:00
Björn Stenberg
445d5d5a6e
Don't print to STDERR.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5580 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 13:32:06 +00:00
Björn Stenberg
225116e276
Added MP3::Info.pm inside script to make it standalone.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5579 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 13:23:23 +00:00
Björn Stenberg
025f5c0084
Added progress display and summary. Implemented --strip.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5573 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 11:18:44 +00:00
Björn Stenberg
4f3b9edd62
Add dummy text if some tags are missing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5360 a1c6a512-1295-4272-9138-f99709370657
2004-10-26 14:26:37 +00:00
Björn Stenberg
5883b4ed0b
Sort songarray on track number if available
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5330 a1c6a512-1295-4272-9138-f99709370657
2004-10-23 14:15:00 +00:00
Björn Stenberg
3a931c113f
Minor adjustments
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5320 a1c6a512-1295-4272-9138-f99709370657
2004-10-21 22:49:49 +00:00
Björn Stenberg
d92ee70088
Now fully v1 spec compliant
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5319 a1c6a512-1295-4272-9138-f99709370657
2004-10-21 21:58:15 +00:00
Daniel Stenberg
a24bf1caef
updates, still not there
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5316 a1c6a512-1295-4272-9138-f99709370657
2004-10-21 13:54:30 +00:00
Daniel Stenberg
8c58eee1e6
Closing in on the TagDatabase 1.7 spec
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5314 a1c6a512-1295-4272-9138-f99709370657
2004-10-20 21:40:04 +00:00
Daniel Stenberg
d24766675d
present table to the user, easily converted to binary form once we settle
...
on a format
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5303 a1c6a512-1295-4272-9138-f99709370657
2004-10-18 08:08:21 +00:00
Daniel Stenberg
dd4ce34e00
song db generation tool embryo
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5269 a1c6a512-1295-4272-9138-f99709370657
2004-10-13 13:39:15 +00:00