>> These tags are much needed in order to sort songs correctly at the
>> client side, after having retrieved them from MPD using either
>> a search or retrieving the library.
> I understand.  If there was a way to sort search results server-side,
> would you still need this feature?

[ I personally don't need "great sorting" because in most cases I look
  for a given album/artist using "search" rather than by scrolling down
  the list.  ]

But here are a few related thoughts:

- The browser in mpc.el offers filtering options that the MPD protocol
  does not offer (e.g. it can show all songs where the value of Artist,
  Composer, or Performer is within a given set).
  For that, it performs several MPD queries and then constructs the
  result (with union&intersection operations).  This means that even if
  the server sorts entries, mpc.el will need to "re-sort" (or at least
  perform the merge part of mergesort).

- As a user, I find it's very difficult to keep all tags correct in my
  database(s), for example because some of the songs files are
  "read-only" (maybe I have my own writable copy, but in order to be
  able to "sync" my copy easily, I'd rather not touch it at all).
  So I'd ideally want to supplement the files's tags with a set of "tag
  rewrite rules" (e.g. turn "&" into "and" or vice versa in the Artist
  tags).

- Sorting before such a rewrite would give suboptimal results.

- A handful of rewrite rules would probably be able to correctly
  generate 99.9% of the ArtistSort and AlbumArtistSort tags you
  might need.


-- Stefan

_______________________________________________
mpd-devel mailing list
[email protected]
http://mailman.blarg.de/listinfo/mpd-devel

Reply via email to