Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  tagnavi.config v2.0 syntax
« previous next »
  • Print
Pages: 1 ... 5 6 [7]

Author Topic: tagnavi.config v2.0 syntax  (Read 48804 times)

Offline fallout33

  • Member
  • *
  • Posts: 10
Re: tagnavi.config v2.0 syntax
« Reply #90 on: December 03, 2009, 08:01:13 PM »
Quote from: roolku on July 01, 2008, 05:14:06 PM
Should be fixed now - thanks for reporting.

Rockbox: r23838-091203
Device: Sandisk Sansa e280

The problem of the incorrect sorting started to occur again (not very long ago but I don't know the exact version number).

Can you (or another developer) please take a look at it?

Thanks in advance!
« Last Edit: December 09, 2009, 01:21:34 PM by fallout33 »
Logged

Offline fallout33

  • Member
  • *
  • Posts: 10
Re: tagnavi.config v2.0 syntax
« Reply #91 on: December 09, 2009, 07:51:20 AM »
*bump*

Could someone please re-open the closed bug report?
Logged

Offline roolku

  • Developer
  • Member
  • *
  • Posts: 350
Re: tagnavi.config v2.0 syntax
« Reply #92 on: December 09, 2009, 08:22:55 AM »
Quote from: fallout33 on December 03, 2009, 08:01:13 PM
Quote from: roolku on July 01, 2008, 05:14:06 PM
Should be fixed now - thanks for reporting.

Version: r23838-091203

The problem of the incorrect sorting started to occur again (not very long ago but I don't know the exact version number).

I have been unable to reproduce the problem. The tagnavi from http://forums.rockbox.org/index.php?topic=6661.msg127575#msg127575 works as expected (gigabeatfx sim, default settings).

Please open a new flyspray report and supply more information.

Logged

Offline fallout33

  • Member
  • *
  • Posts: 10
Re: tagnavi.config v2.0 syntax
« Reply #93 on: December 09, 2009, 10:13:44 AM »
Quote from: roolku on December 09, 2009, 08:22:55 AM
[...] Please open a new flyspray report and supply more information.

I have done this now, but there was not much more information I could provide ...
http://www.rockbox.org/tracker/task/10839
« Last Edit: December 09, 2009, 01:19:12 PM by fallout33 »
Logged

Offline fallout33

  • Member
  • *
  • Posts: 10
Re: tagnavi.config v2.0 syntax
« Reply #94 on: March 11, 2010, 11:31:54 AM »
Rockbox: r25114-100311
Device: Sandisk Sansa e280

When I try to apply the filter
Code: [Select]
"Artist - Title" -> title = "fmt_artist_title" ? filename !~ "/AUDIO/OE1" & filename !~ "/Audio/Bass")
files that have have the following paths
Code: [Select]
<microSD1>/Audio/Bass/Test1.mp3
and
Code: [Select]
/AUDIO/OE1/Test2.mp3
are still listed.

How can I exclude files with these paths from the list?
« Last Edit: March 11, 2010, 11:33:56 AM by fallout33 »
Logged

Offline roolku

  • Developer
  • Member
  • *
  • Posts: 350
Re: tagnavi.config v2.0 syntax
« Reply #95 on: March 11, 2010, 11:53:44 AM »
Hm, it works for me in the sim, so not much I can do. I assume the extra closing bracket after the condition is just a typo in the forum?

Quote
How can I exclude files with these paths from the list?

You can place a database.ignore file in those dirs. See manual for more details.
Logged

Offline fallout33

  • Member
  • *
  • Posts: 10
Re: tagnavi.config v2.0 syntax
« Reply #96 on: March 11, 2010, 12:52:17 PM »
Quote from: roolku on March 11, 2010, 11:53:44 AM
[...] I assume the extra closing bracket after the condition is just a typo in the forum? [...]
The substring "<microSD1>" is the beginning of the filename when I access the file properties menu during playback or enter the "Files" menu from the main menu. It stands for the mount point of the microSDHC card which contains this file.

Quote from: roolku on March 11, 2010, 11:53:44 AM
[...] You can place a database.ignore file in those dirs. [...]
Thank you, I will try that.
Logged

Offline roolku

  • Developer
  • Member
  • *
  • Posts: 350
Re: tagnavi.config v2.0 syntax
« Reply #97 on: March 11, 2010, 12:59:53 PM »
Quote
The substring "<microSD1>" is the beginning of the filename when I access the file properties menu during playback or enter the "Files" menu from the main menu. It stands for the mount point of the microSDHC card which contains this file.
I was referring to that line:

Code: [Select]
"Artist - Title" -> title = "fmt_artist_title" ? filename !~ "/AUDIO/OE1" & filename !~ "/Audio/Bass")
Logged

Offline fallout33

  • Member
  • *
  • Posts: 10
Re: tagnavi.config v2.0 syntax
« Reply #98 on: March 11, 2010, 01:11:02 PM »
Quote from: roolku on March 11, 2010, 12:59:53 PM
[...] I was referring to that line [...]
Oh, sorry, I misunderstood that.

Quote from: roolku on March 11, 2010, 11:53:44 AM
[...] I assume the extra closing bracket after the condition is just a typo in the forum? [...]
Actually it is not only a typo in the forum but also in the config file too.

Sorry for bothering you with my mistake and thank you for your help!
« Last Edit: March 11, 2010, 05:11:22 PM by fallout33 »
Logged

Offline iancer

  • Member
  • *
  • Posts: 1
Re: tagnavi.config v2.0 syntax
« Reply #99 on: June 13, 2015, 03:05:05 AM »
Well guys, here is the config I am currently crying over.
I'm at a aloss as to how to whip this into working shape...
The main feature I am interested in is the Bitrate related entries.

Code: [Select]
#! rockbox/tagbrowser/2.0

#User-customisable Database viewer configuration file
#
# Required layout:
# Format declarations
# Sub-menu definitions
# Main menu definition
# Set menu as root

#Custom format declarations
# f_browse - basic tracknumber (padded with zeros to two characters) and title
# f_direct - title and artist for when the navigation leads directly to results by track
# f_chrono - includes year for year/decade based browsing
# f_runtime - top 100 tracks by times played (playcount) then autoscore. Sorted inverse to bring most-played to the top
# f_lastplayed- last 100 tracks played in play order. Sorted inverse to bring most recent to the top, but playcount display stripped out for clarity
# f_forgotten - as above, but sorted for least recent at the top
# f_mood - simple title and respective album
# f_radio - for sorting tracks in order of duration (length). Strip value of 15 = 8 for the length tag plus 7 for "/radio/", which all my podcast/radio tracks have in their filename
# f_radio_old - as per "f_lastplayed", but again with additional strip value to remove the first portion of the filepath

%format "f_browse" "%02d - %s" tracknum title
%format "f_direct" "%s (%s)" title artist
%format "f_chrono" "%04d - %s (%s)" year title artist
%format "f_runtime" "%2d|%3d %s (%s)" playcount autoscore title artist %sort = "inverse" %limit = "100"
%format "f_lastplayed"  "%06d%s (%s)" lastplayed title artist %sort = "inverse" %limit = "100" %strip = "6"
%format "f_forgotten"  "%06d%s (%s)" lastplayed title artist %limit = "100" %strip = "6"
%format "f_mood" "%s (%s)" title album
%format "f_radio" "%08d%s (%s)" length filename title %strip = "15"
%format "f_radio_old" "%06d%s (%s)" lastplayed filename title %sort = "inverse" %strip = "13"
%format “f_podcast_album” “%s” album ? genre == “podcast”
%format “f_podcast_title” “%s %s – %02d:%02d” basename title Lm Ls %sort = “inverse” %strip = “15” ? genre == “podcast”
%format “f_podcast_alphanum_title” “%s – %02d:%02d (%s)” basename Lm Ls filename ? title == “” & genre == “podcast”
%format “f_podcast_alphanum_title” “%s – %02d:%02d” title Lm Ls & genre == “podcast”
# Basic format declarations

%menu_start “meta_menu" “Metabase”
“Artist” -> artist ? genre != “podcast” -> title = "f_browse"cast” & genre != “audiobook” -> album -> title = “f_title” ? genre != “podcast” -> title = "f_browse"
“Album Artist” -> albumartist ? genre != “podcast” -> title = "f_browse"cast” & genre != “audiobook” -> album -> title = “f_title” ? genre != “podcast” -> title = "f_browse"
“Album” -> album ? genre != “podcast” -> title = "f_browse"cast” & genre != “audiobook” -> title = “f_title” ? genre != “podcast” -> title = "f_browse"
“Genre” -> genre -> artist -> album -> title = “f_title” ? genre != “podcast” -> title = "f_browse"
“Composer” -> composer -> album -> title = “f_title” ? genre != “podcast” -> title = "f_browse"
“Track” -> title = “f_alphanum_title” ? genre != “podcast” -> title = "f_browse"
“Year” -> year ? year > “0” -> artist -> album -> title = “f_title” ? genre != “podcast” -> title = "f_browse"
“User Rating” -> rating -> title = “f_browse"
“Recently Added” -> album ? entryage < “4” & commitid > “0” -> title = “f_browse"

%menu_start “broadcast” “Broadcasts”
“Audiobooks” -> album ? genre == “audiobook” -> title = “f_title” ? genre == “audiobook”” -> title = "f_browse"
"New Radio" -> title = "f_radio" ? filename ~ "/radio/" & playcount == "0"” -> title = "f_browse"
"Old Radio" -> title = "f_radio_old" ? filename ~ "/radio/" & playcount != "0"” -> title = "f_browse"
“New Podcasts” -> album ? genre == “podcast” -> title = “f_podcast_title” ? playcount == “0” & genre == “podcast”” -> title = "f_browse"
“Old Podcasts” -> album ? genre == “podcast” -> title = “f_podcast_title” ? playcount != “0” & genre == “podcast”” -> title = "f_browse"

%menu_start "other" "other"
"find file"    -> title ? filename ~ "" -> title = f_browse
"ogg"          -> album ? filename $ ".ogg" -> title = f_browse
"not mp3/ogg"  -> album ? filename !$ ".ogg" & filename !$ ".mp3"  -> title = "f_browse
"low Bitrate"  -> title = "%03d %s" bitrate title %sort = "inverse" ? bitrate < "128"
"high Bitrate" -> title = "%03d %s" bitrate title ? bitrate > "256"
"bad year"     -> title = "%04d %s" year title ? year > "0" & year < "1960"

%menu_start "custom" "Rockbox Browser"
"Metadata" ==> "meta_menu"
"Other"  ==> "other"
“Broadcasts” ==> “broadcast”

#This ensures that, rather than being accessed via the 'Custom...' entry in the default Database view, this custom menu *is* the default menu

#%root_menu "bascule"

#EOF
Logged

  • Print
Pages: 1 ... 5 6 [7]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  tagnavi.config v2.0 syntax
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.078 seconds with 14 queries.