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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Ignoring "the" and "a" when sorting artists
« previous next »
  • Print
Pages: [1]

Author Topic: Ignoring "the" and "a" when sorting artists  (Read 2545 times)

Offline JimZipCode

  • Member
  • *
  • Posts: 60
Ignoring "the" and "a" when sorting artists
« on: February 08, 2011, 01:15:53 AM »
I think this is something that has been solved over and over.  There used to be a patch for this, back when I first installed Rockbox to my iAudio X5L, 3+ years ago.

How do I get my Artists to display, alphabetized but ignoring a leading "The" or "A"?  So all my "The" bands are not grouped between Talk Talk and Ultravox; and "A Flock of Seagulls" appears between Erasure and Gary Numan, rather than between Abba and Bach?

Thanks,

jim
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Ignoring "the" and "a" when sorting artists
« Reply #1 on: February 08, 2011, 06:37:31 AM »
If using the filebrowser: name the folder as you wish to sort.

If using the database: I'm not sure if the sort tag is supported yet, if it isn't then as a workaround you could use albumartist.

Something that just ignores A and The is unlikely to be committed as it is hardcoded to English only.  Using a list of words is difficult - e.g. "Die" is both an English word and one form of the German definite article.  Depending on the nationality of the band you might want to sometimes ignore Die and sometimes not.  The sort tag for the database is the way to do this.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline JimZipCode

  • Member
  • *
  • Posts: 60
Re: Ignoring "the" and "a" when sorting artists
« Reply #2 on: February 08, 2011, 08:23:19 AM »
Quote from: AlexP on February 08, 2011, 06:37:31 AM
Something that just ignores A and The is unlikely to be committed as it is hardcoded to English only.  Using a list of words is difficult - e.g. "Die" is both an English word and one form of the German definite article.
Yeah, I saw a reference to some of the complications, in some notes on a rejected patch.

But it's frustrating, as I had a patch back when I first was using Rockbox with my X5L, 3+ yrs ago.   English only, of course, but it fit my needs.

Quote from: AlexP on February 08, 2011, 06:37:31 AM
The sort tag for the database is the way to do this.
Can you give a little more detail on that?


Post Merge: February 08, 2011, 08:35:17 AM
I should not have used the word "patch", I should have said that I thought there was some easy way to do this, like a simple edit to tagnavi.custom or something.  I used to have this working...
« Last Edit: February 08, 2011, 08:35:17 AM by JimZipCode »
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Ignoring "the" and "a" when sorting artists
« Reply #3 on: February 08, 2011, 12:05:30 PM »
Quote from: JimZipCode on February 08, 2011, 08:23:19 AM
Quote from: AlexP on February 08, 2011, 06:37:31 AM
The sort tag for the database is the way to do this.
Can you give a little more detail on that?

Much as you have a tag for title, a tag for artist, etc. etc. there exist tags for title sort, artist sort etc., so for e.g. The Beatles you would have artist as "The Beatles" and artist sort as "Beatles, The".  For ID3v2.4 it is TSOP I believe (http://www.id3.org/id3v2.4.0-frames).

I'm not sure if the Rockbox database supports these tags, I don't use it.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: Ignoring "the" and "a" when sorting artists
« Reply #4 on: February 08, 2011, 12:07:06 PM »
No, we don't support it in the DB yet.
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline mlt

  • Member
  • *
  • Posts: 25
Re: Ignoring "the" and "a" when sorting artists
« Reply #5 on: February 08, 2011, 02:04:02 PM »
I would also add '...' to the list as I know one band name that starts with ellipsis :-)
Logged

Offline JimZipCode

  • Member
  • *
  • Posts: 60
Re: Ignoring "the" and "a" when sorting artists
« Reply #6 on: February 09, 2011, 08:28:25 AM »
Is this relevant?

http://www.rockbox.org/tracker/2885
Logged

Offline evilnick

  • Rockbox Expert
  • Member
  • *
  • Posts: 431
Re: Ignoring "the" and "a" when sorting artists
« Reply #7 on: February 09, 2011, 02:11:37 PM »
Quote
I would also add '...' to the list as I know one band name that starts with ellipsis :-)

...And you will know that band, how?  ;D
Logged

Offline mlt

  • Member
  • *
  • Posts: 25
Re: Ignoring "the" and "a" when sorting artists
« Reply #8 on: February 14, 2011, 05:45:29 PM »
Quote from: JimZipCode on February 09, 2011, 08:28:25 AM
Is this relevant?

http://www.rockbox.org/tracker/2885
That patch is quite outdated. In spite of IRC resolution, there is a demand for this feature. Sometimes it is easier to enable single feature rather then cleaning entire collection. Can we reopen this task or shall I create a new task? I have a patch against recent svn that implements skip of 'a' and any dots besides 'the'. It doesn't rely on strncasecmp() and alike, thus filtration should be fast in a single pass. I need to test it a bit though.

Quote from: evilnick on February 09, 2011, 02:11:37 PM
Quote
I would also add '...' to the list as I know one band name that starts with ellipsis :-)

...And you will know that band, how?  ;D
"And" :-)
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Ignoring "the" and "a" when sorting artists
« Reply #9 on: February 14, 2011, 06:56:48 PM »
You shouldn't re-open a task for a rejected feature.
Logged

Offline JimZipCode

  • Member
  • *
  • Posts: 60
Re: Ignoring "the" and "a" when sorting artists
« Reply #10 on: February 23, 2011, 03:20:50 PM »
Quote from: mlt on February 14, 2011, 05:45:29 PM
In spite of IRC resolution, there is a demand for this feature. Sometimes it is easier to enable single feature rather then cleaning entire collection.

As you say, there is demand for it.

However, a couple weeks later, I'd like to acknowledge that I now appreciate how fully the AlbumArtist tag (and the Mp3tag program) address the issue.  It was laborious to go thru all the songs and re-tag them, and initially it was annoying.  But you sort by Artist and you can do whole swathes of files at the same time; and honestly it was exactly the kind of fiddling around with files to get everything exactly right, that someone who's going to choose Rockbox will enjoy doing anyway.  It was a pain in the ass, but not TOO bad a pain in the ass.

I only had 16-20Gb of music to tag, and most of it was whole albums (or mixes).  I can see it would be a much bigger PITA for larger collections.  So, as you say, there is demand.  But I'm good, now.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Ignoring "the" and "a" when sorting artists
« Reply #11 on: February 23, 2011, 05:07:59 PM »
I think one point that's missed is that every new feature makes Rockbox slightly bigger, and contain slightly more stuff that can accidentally get broken later when adding other new features.

This stuff adds up, and can have a detrimental effect going forward in both how hard it is to improve Rockbox further, and in how much RAM the Rockbox binary occupies.

It's beneficial to have one solution that can meet everyone's needs, rather than several different tools that solve the same problem, sometimes in lesser ways. "Ignoring 'The'" is one of these 'lesser ways' that can only really meet a very limited subset of needs. If every single "well you could also just have an option to do this that met my case, even if it doesn't work for everyone" solution went in, Rockbox would probably already have about half again as many options as it has, and probably feel even more overwhelming to new people.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Ignoring "the" and "a" when sorting artists
 

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

Page created in 0.099 seconds with 14 queries.