Commit graph

79 commits

Author SHA1 Message Date
Jonathan Gordon
75eff7af5e rework my previous commit (FS#8008) to be able to work for any of the strings in the id3 info struct, new ones need to be added to tagtree.c and tagnavi.config
*currently available tags are* #title# #artist# #album# #genre# #composer# #albumartist# and #directory# 


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15358 a1c6a512-1295-4272-9138-f99709370657
2007-10-29 14:10:24 +00:00
Jonathan Gordon
1f415e2fe3 fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15355 a1c6a512-1295-4272-9138-f99709370657
2007-10-29 12:15:47 +00:00
Jonathan Gordon
4d18aa3546 Accept FS#8008 - allows the current artist or album to be used in databse searches (use the #artist# or #album# keywords in tagnavi.config)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15354 a1c6a512-1295-4272-9138-f99709370657
2007-10-29 12:02:55 +00:00
Dan Everton
eecfe9f1cb Add support for grouping tags. From FS#7362.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14242 a1c6a512-1295-4272-9138-f99709370657
2007-08-08 10:19:56 +00:00
Nils Wallménius
5b76936a44 Accept FS#6159 'Add voice to roughly 100 splash screens and yes-no menus' by Stephane Doyon with some minor tweaks by me. Rerun 'configure' and do a 'make clean' before rebuilding your voice files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14213 a1c6a512-1295-4272-9138-f99709370657
2007-08-06 13:08:36 +00:00
Nils Wallménius
b311367481 *** Lang v2 cleanup (FS#6574) ***
1) Introduces apps/features.txt that controls which strings are included 
for each target based on defines.
2) .lng and .voice files are now target specific and the format versions 
of both these file types have been bumped, which means that new voice 
files are needed. 
3) Use the 'features' mechanism to exclude strings for targets that 
didn't use them.
4) Delete unused and deprecated and duplicated strings, sort strings in 
english.lang

Some string IDs were changed so translations will be slightly worse than 
before.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14198 a1c6a512-1295-4272-9138-f99709370657
2007-08-05 19:19:39 +00:00
Dan Everton
f4a61f0c4a Add support for parsing the disc number tag from metadata and use of it in the database. Patch originally from FS#4961 with some minor tweaks by me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14154 a1c6a512-1295-4272-9138-f99709370657
2007-08-03 10:00:42 +00:00
Miika Pekkarinen
9d756e2760 Queue song statistical data to the tagcache system and update entirely in background. Fixes ratings disappearing or not saving in the DB at all. Fixes also UI delay when stopping playback and new statistics are committed to DB.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13955 a1c6a512-1295-4272-9138-f99709370657
2007-07-21 17:35:19 +00:00
Miika Pekkarinen
6ecb06f97a FS#7003 - Allow forward references of menus in tagnavi.config.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13685 a1c6a512-1295-4272-9138-f99709370657
2007-06-22 12:48:06 +00:00
Jonathan Gordon
36a2e30872 Move the inbuilt filetype info into filetypes.c and rename the defines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13201 a1c6a512-1295-4272-9138-f99709370657
2007-04-18 13:03:01 +00:00
Jonathan Gordon
6a5cc0bd25 Customizable icons for all bitmap targets. (FS#7013)
http://www.rockbox.org/twiki/bin/view/Main/CustomIcons for info on format and how to load them


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13177 a1c6a512-1295-4272-9138-f99709370657
2007-04-16 09:14:36 +00:00
Miika Pekkarinen
5e47daa944 Now track total playtime should be accessible as well by using Pm and Ps virtual tags.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13133 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 20:21:56 +00:00
Miika Pekkarinen
9d9937a0ad Added virtual tags in database to break track length to minutes and seconds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13132 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 20:14:05 +00:00
Miika Pekkarinen
e6de6e5f8a FS#7002 - Fix a bug in parser of tagnavi.config preventing to set first menu as the root menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13130 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 18:33:40 +00:00
Miika Pekkarinen
5f67db67b0 Killed a logf warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12924 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 16:34:58 +00:00
Robert Kukla
226cb7b0b8 Rating support for database and WPS (based on FS# 6301). A value between 0 and 10 can be assigned to the currently playing track using the WPS context menu. This value is displayed in the WPS using the %rr tag (replacing autoscore) and can be used as "rating" in tagnavi.config (examples provided).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12922 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 15:08:59 +00:00
Magnus Holmgren
01a010fd19 Fix several printf-style warnings in logf builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12830 a1c6a512-1295-4272-9138-f99709370657
2007-03-18 09:50:53 +00:00
Jens Arnold
4d6374c923 Get rid of the 'center' parameter for splashes. There were only 2 of almost 500 splashes which were not centered.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 21:56:08 +00:00
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