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
| | |-+  Disabling auto-numbering
« previous next »
  • Print
Pages: [1]

Author Topic: Disabling auto-numbering  (Read 1846 times)

Offline Toxikator

  • Member
  • *
  • Posts: 78
  • Superior Sound (inferior slogan)
    • Big Black Nothing
Disabling auto-numbering
« on: September 21, 2007, 07:48:56 PM »
I've got a problem where Rockbox keeps adding tracknumbers to files because there are numbers in the filenames; I don't want this behaviour.

I've got an audiobook, see, and there are 137 tracks. Thing of it is, Rockbox's sort goes out of whack if there are more than 99 tracks (it sorts 100 after 10...) so I can't use ACTUAL track numbering to do it.

Because it's an audiobook, though, there are no track "titles" so I can simply title the tracks "001", "002", etc... and not have to worry about setting up the database to support 3 digit track numbers for this one book.

Problem is, Rockbox sees these filenames and automatically imagines up a tracknumber for the database; and AFAICT there's no way to turn this off. Am I missing something? Or will I be relegated to numbering them all "00." and letting them sort by title after the fact?
Logged

Buy Big Black Nothing's "Afraid of Sleep" now!

Offline Toxikator

  • Member
  • *
  • Posts: 78
  • Superior Sound (inferior slogan)
    • Big Black Nothing
Re: Disabling auto-numbering
« Reply #1 on: September 21, 2007, 08:43:59 PM »
lol a forum search reveals that I actually had this same problem a WHILE back, but I never got to the bottom of it..?

According to the Wiki, "Tracknum"'s origin is from "id tag/from filename"...

Is there some alternative to "Tracknum", then, that ISN'T from filename?

I guess thats the question.

And if not, is there a way to trick it? I don't care what the files are named...
« Last Edit: September 21, 2007, 08:52:51 PM by Toxikator »
Logged

Buy Big Black Nothing's "Afraid of Sleep" now!

Offline polygonal

  • Member
  • *
  • Posts: 64
Re: Disabling auto-numbering
« Reply #2 on: September 21, 2007, 10:39:08 PM »
The database is customizable. You can have it sort by 3-digit tracknum or 6-digit tracknum or whatever you want. In your case, I guess you can just have the database sort by title. see http://www.rockbox.org/twiki/bin/view/Main/DataBase
Logged

Offline Toxikator

  • Member
  • *
  • Posts: 78
  • Superior Sound (inferior slogan)
    • Big Black Nothing
Re: Disabling auto-numbering
« Reply #3 on: September 22, 2007, 08:49:27 AM »
I don't want the db to sort by title ALL the time, just in instances where there are no tracknumbers. But if the filename has numbers in it, rockbox imagines up a tracknumber and sticks it in. I was hoping I could turn this off, but I can't, so I just renamed the files to a sequence of letters with no digits whatsoever in hopes of getting rid of this "feature".

It worked.
Logged

Buy Big Black Nothing's "Afraid of Sleep" now!

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Disabling auto-numbering
« Reply #4 on: September 23, 2007, 02:42:00 AM »
I'm pretty sure that getting the tracknumber from the filename was removed some time ago. Can you verify absolutely, and with testing, that it does this, and have you verified that there's nothing in your tagnavi that could be fouling things up?

And please refer to the database as "the database" and not "the db." It's just a few more letters, and as dB refers to decibels specifically, as it is a unit of measurement, you should use the proper term.
« Last Edit: September 23, 2007, 02:45:15 AM by Llorean »
Logged

Offline Toxikator

  • Member
  • *
  • Posts: 78
  • Superior Sound (inferior slogan)
    • Big Black Nothing
Re: Disabling auto-numbering
« Reply #5 on: September 23, 2007, 03:31:06 PM »
changing filenames from Track001, Track002 to "aa", "ab", "ac", etc. fixed it. so yeah, I'd say it's still there.
Logged

Buy Big Black Nothing's "Afraid of Sleep" now!

Offline roolku

  • Developer
  • Member
  • *
  • Posts: 350
Re: Disabling auto-numbering
« Reply #6 on: September 23, 2007, 05:48:52 PM »
Quote from: Llorean on September 23, 2007, 02:42:00 AM
I'm pretty sure that getting the tracknumber from the filename was removed some time ago.

Nope, it is still there: line 1671 onwards in tagcache.c (r14835). The fact is flagged, but I can't find anywhere where the flag is used.

Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Disabling auto-numbering
« Reply #7 on: September 24, 2007, 04:36:56 PM »
The whole point of Tagcache is to *only* used metadata. This should certainly be removed then shouldn't it?
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Disabling auto-numbering
 

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

Page created in 0.084 seconds with 15 queries.