• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Title versus SortTitle
#1
I have a song with title "1. Dirty Old Town" and sort title "001 Dirty Old Town".
   

I have the song title format set to %TITLE%.
   

Yet it displays with the sort title in the songs list.
   

In fact, all songs do.

Am I overlooking something?
Johan
www.johanvromans.nlwww.hetgeluidvanseptember.nlwww.howsagoin.nl
Samsung Galaxy Note S7FE (T733) 12.4", Android 11.0, AirTurn Duo & Digit (Gigs).
Samsung Galaxy Note S4 (T830) 10.5", Android 10.0 (maintenance and backup).
Samsung A3 (A320FL), Android 8.0.0 (emergency).
Reply
#2
The sort title is a little confusing I think. Right now, the sort title is the title that is used for sorting and display purposes on the library screen. The main song title will show up in the overlay or setlist window when you load the song. The sort title does not override the title only for sorting purposes because this completely breaks a lot of my sorting logic (and the population of the alphabet list). Having something that starts with "A" show up under the "S" category, for example, is problematic with my current architecture. If a different name than "custom sort title" should be used, such as alternative title or something along those lines, I'm open to making a change.
Reply
#3
I try to understand...

What we refer to as %TITLE% is, in fact, the sorttitle. Okay. Perhaps this would better be named 'displaytitle' then, the other being 'sorttitle'.

You have no problem to display the formatted title, while sorting on the (sort)title. For example, when I put the composer in front of the title, the library screen shows the entries sorted on song title:

AAA - Song AAA
BBB - Song BBB
AAA - The Song CCC
BBB - Song DDD

(Provided I uncheck 'Use formatted title for sorting')

Isn't this what you mean with "Having something that starts with "A" show up under the "S" category"?

To me it feels like a small step to add 'Use display title for sorting' and 'Use sort title for sorting'.
Johan
www.johanvromans.nlwww.hetgeluidvanseptember.nlwww.howsagoin.nl
Samsung Galaxy Note S7FE (T733) 12.4", Android 11.0, AirTurn Duo & Digit (Gigs).
Samsung Galaxy Note S4 (T830) 10.5", Android 10.0 (maintenance and backup).
Samsung A3 (A320FL), Android 8.0.0 (emergency).
Reply
#4
You do raise a good point. I know a ways back there were problems with the custom sort title being used to sort while displaying something different, but I must have solved those problems when I added the "Use formatted title for sorting" toggle, as it's obviously possible to do what you've shown above. Everything looked fine with the alphabet list when you performed the test listed above, right? If so, I can probably leverage that code with the custom sort title in place of the non-formatted string for sorting purposes.

Thanks,
Mike
Reply
#5
That would be nice, indeed!
Johan
www.johanvromans.nlwww.hetgeluidvanseptember.nlwww.howsagoin.nl
Samsung Galaxy Note S7FE (T733) 12.4", Android 11.0, AirTurn Duo & Digit (Gigs).
Samsung Galaxy Note S4 (T830) 10.5", Android 10.0 (maintenance and backup).
Samsung A3 (A320FL), Android 8.0.0 (emergency).
Reply
#6
I've made the required changes and it all seems to work. Thanks for questioning me on it Smile As I suspected, I had solved the difficult problems already due to the "Use formatted title for sorting" option, as there were a lot of bugs with that after I introduced it, so I just had to insert a little extra code for the custom sort title.
Reply
#7
Looking forward to it....!
Johan
www.johanvromans.nlwww.hetgeluidvanseptember.nlwww.howsagoin.nl
Samsung Galaxy Note S7FE (T733) 12.4", Android 11.0, AirTurn Duo & Digit (Gigs).
Samsung Galaxy Note S4 (T830) 10.5", Android 10.0 (maintenance and backup).
Samsung A3 (A320FL), Android 8.0.0 (emergency).
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2022 MyBB Group.