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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  tagnavi.config questions
« previous next »
  • Print
Pages: [1]

Author Topic: tagnavi.config questions  (Read 4009 times)

Offline jpmahala

  • Member
  • *
  • Posts: 5
tagnavi.config questions
« on: May 16, 2006, 03:04:47 PM »
The tagnavi.config file is rather self-explanatory, however I would like to confirm a few things.  First, here are the two example lines:

"Example 1" artist ? year >= "2000" & artist ^ "a" : album : title
"Example 2" genre ? genre ~ "pop" : artist ? year >= "2000" : album ? year >= "2000" : title

I believe that I can read example 1 as "list all artists where the year (of the track) is greater than or equal to 2000 and the artist name begins with an 'A'".

So:
? = Filter
^ = Begins
~ = Contains
Is there an OR operator?
Is there a NOT operator?  (<> doesn't work)

In example 1, the filter is specified at only the artist level whereas the filter is specified in example 2 at the genre, artist and album levels.  Is there a reason for the difference?

I have noticed that not all song tags are recognized by TagCache.  I have 70% AAC encoded files with the rest as MP3 format.  The AAC encoded file tags are not read consistantly.  Do others experience this?

Also, if I create my own entry ("80's" artist ? year ^ "198" : album ? year ^ "198" : title) I get an artist listing for every song that artist has.  For example, AH-HA has only one song (Take On Me) and shows up only once in the artist list, however U2 has over 200 songs on my ipod and is listed as many times in the artist screen.

Let me know if you need any more specific information.

Thanks for all the work!
John
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: tagnavi.config questions
« Reply #1 on: May 16, 2006, 03:08:50 PM »
AAC is not well supported yet, and our metadata parser for it has some issues. That's probably all of that, for now. When the support gets better, tagcache will read it better.

There's no NOT or OR operator. There's plans for them though.
It looks like you've got the rest of 'em right. They're not actually documented yet because they may change before it's "done".

As for your question about "levels" they aren't really levels. You just have cascading filters. One of them just has one filter, the second has several filters, which should decrease the results as you go down more levels. Basically, it shows results, and then you can see subfiltered results.

I _think_ the last thing you're describing is a known bug. If you filtered by the year 1985, and an artist had ONE song in 1985, for some reason when you picked that artist you'd see all songs by them. That's a bug in TagCache for the moment.

If I misunderstood something, let me know, and I'll attempt to clarify. :)
Logged

Offline jpmahala

  • Member
  • *
  • Posts: 5
Re: tagnavi.config questions
« Reply #2 on: May 16, 2006, 04:51:48 PM »
Llorean,

Thanks for your reply.  I think I can live with the AAC bugs for now since I don't feel like re-encoding all of my music again.  (However if I did, it would be in OGG...)

I'm not a coder, but if I can help in any way, troubleshooting or otherwise, let me know.

Thanks again,
John
Logged

Sir_Yaro

  • Guest
Re: tagnavi.config questions
« Reply #3 on: June 11, 2006, 03:24:49 PM »
So, is there any way to exclude something and don't display it ? I suppose without NOT fuction, the aswer is "no" but want to be shure....
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: tagnavi.config questions
« Reply #4 on: August 14, 2006, 10:01:56 AM »
Quote from: Llorean on May 16, 2006, 03:08:50 PM
There's no NOT or OR operator. There's plans for them though.

Looks like this has been fixed (http://www.rockbox.org/viewcvs.cgi/apps/tagtree.c) in Rev 1.27 along with an OTF Playlist insert problem that I was experiencing and discussed in this thread:

http://forums.rockbox.org/index.php?topic=5731.0
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: tagnavi.config questions
« Reply #5 on: August 15, 2006, 07:53:00 AM »
Quote from: Llorean on May 16, 2006, 03:08:50 PM
I _think_ the last thing you're describing is a known bug. If you filtered by the year 1985, and an artist had ONE song in 1985, for some reason when you picked that artist you'd see all songs by them. That's a bug in TagCache for the moment.

Well, I could find no bug for that 'specifically', so I created one:

http://www.rockbox.org/tracker/task/5818

However, I also updated the similar 'genre bug' entry to say that it now appears to be fixed and could be closed out.
« Last Edit: August 15, 2006, 09:00:47 AM by bascule »
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline Siku

  • Member
  • *
  • Posts: 8
Re: tagnavi.config questions
« Reply #6 on: August 29, 2006, 10:48:52 AM »
Hi!

I guess this thread is suitable for my question. The TagCache config file's syntax is way over my head. I've read the wiki entry many times, but I'm still too confused to create an useful layout.

I'm trying to make my layout to look like this:
Code: [Select]
Artist -> (Date) Album -> Tracknumber. Title

This layout is very similar to the default layout, expect for the date information. According to wiki entry, date tag is not available. But what is this 'year' filter then? I guess the wiki entry is outdated, right? So I don't even know where to start with creating this layout, if it's even possible to create. Any help is highly appreciated.

Regards,
Siku
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  tagnavi.config questions
 

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

Page created in 0.086 seconds with 15 queries.