Commit graph

61 commits

Author SHA1 Message Date
Miika Pekkarinen
f5184f34bf Cleaned up code a bit, fixed possible bug during committing numeric indices and made code more fault tolerant. Added a new numeric tag making it possible to list recently added tracks. Export your DB.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12482 a1c6a512-1295-4272-9138-f99709370657
2007-02-25 20:41:51 +00:00
Miika Pekkarinen
4e9766477b FS#6638 - Album artist and comment patch for WPS and tagcache. Export
your database before updating because initialization is needed.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12255 a1c6a512-1295-4272-9138-f99709370657
2007-02-10 12:09:28 +00:00
Jonathan Gordon
be3f29cc11 Accept FS#6464 by Chris Taylor. Adds a "Play Next" playlist insertion
option which replaces the current playlist with the new selection but
keeps the current track queued so playback doesnt stop. (minor fixes by
me)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11842 a1c6a512-1295-4272-9138-f99709370657
2006-12-26 13:31:04 +00:00
Jens Arnold
2597a13497 Next round of static'ing and related fixes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11836 a1c6a512-1295-4272-9138-f99709370657
2006-12-25 14:01:47 +00:00
Miika Pekkarinen
c5d57f0aae Removed the cpu boost tracking debug feature for now because of
different kind of problems. Better implementation can be done later.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11665 a1c6a512-1295-4272-9138-f99709370657
2006-12-05 20:01:48 +00:00
Miika Pekkarinen
ab643e7694 Make it possible to force sorting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11514 a1c6a512-1295-4272-9138-f99709370657
2006-11-11 17:39:37 +00:00
Miika Pekkarinen
649fc77aea Don't fail with very long lines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11342 a1c6a512-1295-4272-9138-f99709370657
2006-10-25 15:14:15 +00:00
Miika Pekkarinen
a0faf9b992 Search string was not properly used.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11326 a1c6a512-1295-4272-9138-f99709370657
2006-10-24 17:53:18 +00:00
Miika Pekkarinen
02df5a8068 Allow all tag type in formatting string. Included example with
tagnavi.config.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11324 a1c6a512-1295-4272-9138-f99709370657
2006-10-24 16:20:48 +00:00
Miika Pekkarinen
a1ac743453 Implement fast_readline as a function and use it for tagtree also.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11301 a1c6a512-1295-4272-9138-f99709370657
2006-10-21 20:37:33 +00:00
Steve Bavin
e994774bde Fix FS#6107 so ID3 view voices correct numbers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11275 a1c6a512-1295-4272-9138-f99709370657
2006-10-20 06:49:31 +00:00
Miika Pekkarinen
b89b5ba2ee (1) New syntax to support conditional formatting.
(2) Reduced tagnavi memory consumption.
(3) There was a bug that splash screen counter was counting down when
inserting tracks next. But in fact that might be preferred, so always
count down after successful tagcache query.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11223 a1c6a512-1295-4272-9138-f99709370657
2006-10-15 11:01:18 +00:00
Miika Pekkarinen
bba9de2368 Now the 128 bytes limit for search clauses should work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11183 a1c6a512-1295-4272-9138-f99709370657
2006-10-11 04:32:33 +00:00
Miika Pekkarinen
3b7111e6ea FS#6155: "oneof" oeprator limited to a list of 3 or less values.
Increased clause string length to 128.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11166 a1c6a512-1295-4272-9138-f99709370657
2006-10-10 10:29:42 +00:00
Miika Pekkarinen
be2eb02d7a FS#6137: add "oneof" operator to tagnavi.conf syntax.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11157 a1c6a512-1295-4272-9138-f99709370657
2006-10-09 10:23:35 +00:00
Steve Bavin
d49c810ec9 Add CPU boost tracker to see where boosts are coming from
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11125 a1c6a512-1295-4272-9138-f99709370657
2006-10-05 10:07:03 +00:00
Miika Pekkarinen
8d145f6d0d New option "strip" to make it possible hide data used for sorting.
Example with "last played tracks".


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11066 a1c6a512-1295-4272-9138-f99709370657
2006-09-26 18:59:16 +00:00
Miika Pekkarinen
7d1dcd118d "lastplayed" is also a valid tag.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11064 a1c6a512-1295-4272-9138-f99709370657
2006-09-26 18:24:48 +00:00
Miika Pekkarinen
3ae1c103ed Dynamically allocate menu structs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11052 a1c6a512-1295-4272-9138-f99709370657
2006-09-26 06:40:14 +00:00
Miika Pekkarinen
6e8ab3d035 Honor only the first root_menu setting to make it possible to override
the default tagbrowser root menu without modifying the default config.
Increased max items in menu to 64 and improved statusbar title.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11050 a1c6a512-1295-4272-9138-f99709370657
2006-09-25 19:52:38 +00:00
Miika Pekkarinen
1dc35774bf Increased maximum number of menus to 16 and avoiding a crash.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11019 a1c6a512-1295-4272-9138-f99709370657
2006-09-21 17:16:35 +00:00
Miika Pekkarinen
1e6b227164 Properly set list title in tagcache mode and removed one incorrect
entry from tagnavi.config.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11001 a1c6a512-1295-4272-9138-f99709370657
2006-09-19 12:36:21 +00:00
Miika Pekkarinen
ba34c37967 Improved tag browser configuration file syntax with submenus and
includes (custom user menu, without overwriting by default menu).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11000 a1c6a512-1295-4272-9138-f99709370657
2006-09-19 11:54:33 +00:00
Hardeep Sidhu
77d47b53ea Use INSERT_LAST when creating a new playlist. This fixes a problem caused by a recent change in playlist code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10988 a1c6a512-1295-4272-9138-f99709370657
2006-09-18 04:41:50 +00:00
Miika Pekkarinen
630c300660 Fixed cpu incorrectly unboosted at boot.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10871 a1c6a512-1295-4272-9138-f99709370657
2006-09-03 16:20:35 +00:00
Miika Pekkarinen
4294615192 Fixed tagcache returning incorrect entries.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10810 a1c6a512-1295-4272-9138-f99709370657
2006-08-30 18:18:37 +00:00
Michael Sevakis
d650cc868f Fixed the error in tagtree.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10764 a1c6a512-1295-4272-9138-f99709370657
2006-08-27 03:39:55 +00:00
Miika Pekkarinen
4f1a252aa1 Add %sort and %limit variables for better control of the tag browser
list format. Show most played 100 tracks.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10763 a1c6a512-1295-4272-9138-f99709370657
2006-08-26 22:00:22 +00:00
Miika Pekkarinen
890989d016 Runtime stats for WPS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10761 a1c6a512-1295-4272-9138-f99709370657
2006-08-26 16:06:54 +00:00
Miika Pekkarinen
93bbd44ccc Browse by year (now numeric tags are fully supported too).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10750 a1c6a512-1295-4272-9138-f99709370657
2006-08-25 21:13:49 +00:00
Miika Pekkarinen
e308064353 Tagcache: Don't show duplicate entries and automatically inherit
clauses for correct search results.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10746 a1c6a512-1295-4272-9138-f99709370657
2006-08-25 13:22:46 +00:00
Linus Nielsen Feltzing
eed923ec83 Patch #5845 by Steve Bavin - Make tagtree.c use buffer_alloc()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10713 a1c6a512-1295-4272-9138-f99709370657
2006-08-23 08:41:18 +00:00
Linus Nielsen Feltzing
224c0a13eb Finally, the new button action system is here, thanks to Jonathan Gordon. Some button mappings have changed and other things may break. Comments should go to the forum, http://forums.rockbox.org/index.php?topic=5829.0 or the mailing list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10582 a1c6a512-1295-4272-9138-f99709370657
2006-08-15 12:27:07 +00:00
Miika Pekkarinen
5019b32620 Make sure dircache blocks correctly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10573 a1c6a512-1295-4272-9138-f99709370657
2006-08-14 19:03:37 +00:00
Miika Pekkarinen
33d9104078 FS#5805 NOT operator for tagnavi.config by Jochen Kemnade.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10558 a1c6a512-1295-4272-9138-f99709370657
2006-08-13 12:33:34 +00:00
Miika Pekkarinen
54ec1f5f6d Better UI response with playlist operations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10544 a1c6a512-1295-4272-9138-f99709370657
2006-08-12 11:00:39 +00:00
Miika Pekkarinen
509ee3d42c Fixed the warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10542 a1c6a512-1295-4272-9138-f99709370657
2006-08-12 09:33:46 +00:00
Miika Pekkarinen
c0b99f2e8b Fixed track order when inserting an album from tagcache to the
playlist with "insert next" or "queue next".


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10537 a1c6a512-1295-4272-9138-f99709370657
2006-08-12 09:06:50 +00:00
Miika Pekkarinen
e1c804f4d3 A typo caused lastplayed field to be unusable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10531 a1c6a512-1295-4272-9138-f99709370657
2006-08-11 18:53:46 +00:00
Miika Pekkarinen
887cfeb9f5 Only sync playlist once when adding bunch of files from tagcache.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10508 a1c6a512-1295-4272-9138-f99709370657
2006-08-10 09:50:45 +00:00
Miika Pekkarinen
29b9146aa7 Warn before erasing dynamic playlist from tagcache.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10495 a1c6a512-1295-4272-9138-f99709370657
2006-08-09 07:28:48 +00:00
Miika Pekkarinen
d8ac607418 Tagcache: Fixed runtime stats not being gathered when tagcache is kept
on disk. Initial attempt to make tagcache thread safe. Replaced a few
direct buffer allocations with buffer_alloc from tagcache and dircache
where possible.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10415 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 17:39:34 +00:00
Miika Pekkarinen
7374ca75f7 Fixed single track insertion to playlist from tagcache. Fixes FS#5719.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10328 a1c6a512-1295-4272-9138-f99709370657
2006-07-26 06:44:39 +00:00
Miika Pekkarinen
4e6c79b42e Enabled playlist submenu for tagcache!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10315 a1c6a512-1295-4272-9138-f99709370657
2006-07-25 07:41:00 +00:00
Miika Pekkarinen
cb8c795415 Support importing runtimedb data from ascii files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10260 a1c6a512-1295-4272-9138-f99709370657
2006-07-20 12:19:31 +00:00
Miika Pekkarinen
0042201bb3 Initial changelog support (only export, no import yet) and added
an option to search by filename.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10219 a1c6a512-1295-4272-9138-f99709370657
2006-07-16 15:04:46 +00:00
Miika Pekkarinen
45dfe2a36f Initial runtimedb support for tagcache. Only for developers,
statistical data will be lost in future until changelogs has been
implemented.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10217 a1c6a512-1295-4272-9138-f99709370657
2006-07-15 17:36:25 +00:00
Miika Pekkarinen
9cd5c3e119 Tagcache update: Support removal of entries and no longer the need for
dircache to load tagcache in ram (however, dircache with tagcache is
still strongly recommended).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10192 a1c6a512-1295-4272-9138-f99709370657
2006-07-10 16:22:03 +00:00
Hardeep Sidhu
000397dc69 Fix folder icons in tagcache
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9878 a1c6a512-1295-4272-9138-f99709370657
2006-05-05 07:54:19 +00:00
Hardeep Sidhu
a85b23fa5b Enabled playlist functions on tracks in tagcache
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9877 a1c6a512-1295-4272-9138-f99709370657
2006-05-05 07:01:43 +00:00