Commit graph

27 commits

Author SHA1 Message Date
Miika Pekkarinen
26ffc619a4 Need to reload tagcache in ram if dircache buffer has been stolen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10025 a1c6a512-1295-4272-9138-f99709370657
2006-05-31 06:07:28 +00:00
Miika Pekkarinen
5127cfad1d Fixed incorrect memory allocation bug with tagcache.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10023 a1c6a512-1295-4272-9138-f99709370657
2006-05-30 18:13:18 +00:00
Miika Pekkarinen
d6af04ba91 Load uniqued tags correctly at commit (should fix duplicates). Try
first dircache buffer as it's usually bigger.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10003 a1c6a512-1295-4272-9138-f99709370657
2006-05-28 09:59:24 +00:00
Miika Pekkarinen
196b770a96 Init dircache after applying settings and use a splash. Possible prevent
some type of buffer overflow with tagcache.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9997 a1c6a512-1295-4272-9138-f99709370657
2006-05-27 11:21:08 +00:00
Miika Pekkarinen
5a33784ba3 Fixed a problem with tagcache search skipping long tags. Thanks for
Gaetano for finding the problem and providing a fix.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9914 a1c6a512-1295-4272-9138-f99709370657
2006-05-11 19:21:20 +00:00
Miika Pekkarinen
4142710a47 Much faster optimized version of tagcache commit. Added a few items to
the debug menu (still buggy) and fixed a problem with partial tagcache
updates.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9775 a1c6a512-1295-4272-9138-f99709370657
2006-04-23 18:47:26 +00:00
Miika Pekkarinen
f9bfd73a24 Fixed: Generate chunked playlist correctly, don't sort <All tracks>
entry and don't return a NULL file pointer and crash.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9733 a1c6a512-1295-4272-9138-f99709370657
2006-04-19 18:56:59 +00:00
Miika Pekkarinen
fa893c6b88 Performance optimizations for tagcache commit. Still more left to be done.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9721 a1c6a512-1295-4272-9138-f99709370657
2006-04-18 18:56:56 +00:00
Miika Pekkarinen
3b31346103 Commit tagcache in background when possible (at least dircache enabled).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9686 a1c6a512-1295-4272-9138-f99709370657
2006-04-16 17:32:54 +00:00
Miika Pekkarinen
24bf89259e Fixed a bug in retrieving track filename when tagcache is loaded in ram.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9641 a1c6a512-1295-4272-9138-f99709370657
2006-04-13 07:15:30 +00:00
Miika Pekkarinen
1b18dd0f17 Show progress while committing tagcache.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9637 a1c6a512-1295-4272-9138-f99709370657
2006-04-12 10:31:24 +00:00
Miika Pekkarinen
58fe4dea05 Major improvement in playlist creation speed with tagcache. Fixed also
the sorting bug.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9592 a1c6a512-1295-4272-9138-f99709370657
2006-04-10 10:26:24 +00:00
Miika Pekkarinen
93ed0a7bb0 Small optimization to use the already opened master lookup index.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9586 a1c6a512-1295-4272-9138-f99709370657
2006-04-09 20:00:49 +00:00
Miika Pekkarinen
53e921c4c3 Enable conditional clauses for string tags in disk mode also.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9559 a1c6a512-1295-4272-9138-f99709370657
2006-04-08 08:03:51 +00:00
Miika Pekkarinen
35d213aec3 Tagcache engine: Better handling for track numbers and genre strings.
Browser: Don't jam if search string was not supplied. Don't show
incorrect track numbers.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9523 a1c6a512-1295-4272-9138-f99709370657
2006-04-05 18:46:38 +00:00
Miika Pekkarinen
4c6fd0f4c0 Initial conditional filtering support for the tagcache engine and a
fix while building the lookup list. UI part not yet ready.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9465 a1c6a512-1295-4272-9138-f99709370657
2006-04-03 18:57:34 +00:00
Miika Pekkarinen
70c0791c7c Fill the numeric tags.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9448 a1c6a512-1295-4272-9138-f99709370657
2006-04-03 06:00:56 +00:00
Miika Pekkarinen
c95d9d0835 Properly scan tagcache fast against dircache.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9431 a1c6a512-1295-4272-9138-f99709370657
2006-04-02 16:31:15 +00:00
Miika Pekkarinen
44b76bc4fa Added track number sorting to the tagcache and a few new tags to the
engine: track number, year, composer, length and bitrate.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9358 a1c6a512-1295-4272-9138-f99709370657
2006-03-30 12:07:32 +00:00
Miika Pekkarinen
3f3aeb0e0d Alignment fix for ipods.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9282 a1c6a512-1295-4272-9138-f99709370657
2006-03-27 10:46:09 +00:00
Miika Pekkarinen
ea07cd5d7f Allow multiple tracks with the same title.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9276 a1c6a512-1295-4272-9138-f99709370657
2006-03-27 07:44:32 +00:00
Miika Pekkarinen
58e32f18c8 More alignment fixes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9275 a1c6a512-1295-4272-9138-f99709370657
2006-03-27 07:02:14 +00:00
Miika Pekkarinen
a33d5d7926 Fixed the define in config.h and more tagcache alignment issues.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9266 a1c6a512-1295-4272-9138-f99709370657
2006-03-26 18:36:31 +00:00
Miika Pekkarinen
de2f070577 Fixed the yellow builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9264 a1c6a512-1295-4272-9138-f99709370657
2006-03-26 17:48:12 +00:00
Miika Pekkarinen
d1f9495c83 Fixed possible data alignment problem while committing the tagcache.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9259 a1c6a512-1295-4272-9138-f99709370657
2006-03-26 15:27:44 +00:00
Miika Pekkarinen
a93e59152a Properly allocating the temporary buffer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9257 a1c6a512-1295-4272-9138-f99709370657
2006-03-26 12:49:19 +00:00
Miika Pekkarinen
7c4e0c8730 Initial version of tagcache! There are still some bugs in the engine
and much more problems with the UI.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9256 a1c6a512-1295-4272-9138-f99709370657
2006-03-26 11:33:42 +00:00