-
-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Custom sort order #182
Comments
Like so often, I can only reference iTunes as one of the best metadata managers out there. It certainly doesn't have everything, but I think it's power level is a solid ground base to accomplish a lot of stuff. iTunes does have alternative sort titles and the like as well, this would be ideal here! Big fan of this suggestion! Also, a little sidenote: I would suggest the sorting algorithm to not go digit by digit but number by number whereas a number is any chain of digits not interrupted by a dot, comma, semicolon, other special characters or letters. Or a space ( The suggested feature would however still be useful whenever the sorting doesn't break due to numbers, but because the order should not be alphabetical when your personal preference is entirely different. (e.g. sort chronologically or by canon timeline, which often isn't necessary the release timeline :) ) |
Hi! I would implement this feature :) a plan will be commented soon. @GlassedSilver Hi, I couldn't understand your comment. for titles in title, it sorts them alphanumerically. we split a name of title to number and non-number ( Ah yes. we would use the same algorithm on this feature. don't worry. |
The sort title basically acts as an override for sorting as opposed to how the title appears in the UI and meta-data tracking. E.g.: Say you have Harry Potter movies and the titles include "Harry Potter and the Philosopher's Stone". Obviously sorting these sorts of titles by the usual alphabetical approach will result in the problem of them being out of order. What I'd do in iTunes is to - if I don't like renaming the titles to "Harry Potter 1 - and the Philosopher's Stone" (already looks hella icky!) - to leave the regular title field to itself and type "Harry Potter 1" into the sorting title field. |
oh sorry I was talking about this
I might misread something. A plan:
in a title page (a book page), a 'Custom' up and down options would be added.
so does reversed. hmm.. as I know, there's no sorting option for titles (folders) in title now... we would resolve this first. I don't know if this is a design decision. |
@Leeingnyo You rock! I still need to find the time to review the other PR from you :-)
Yes, currently the sub-titles are not sorted. My rationale was that the number of sub-titles is usually small (at least in my use-case), so sorting them is not important (but certainly won't hurt).
I guess we can add this to the default "Auto" sort option? When sorting, if an entry has a custom sort title, we would use that to sort, and otherwise, we would fall back to its actual title. If you don't add sort titles to the entries their order will stay the same, so this won't break the user expectation. |
@hkalexling It would be good that sorting titles is supported, for comfortable mind :) let me try to do it together. currently title sorting options in library page are "Auto", "Data Modified" and "Progress" and entry sorting options has "Name" and "Data Added" more. Adding both options for titles would be easy.
Sounds good! Then, custom sort title would be used in "Auto" and "Title" options, right? Is it needed that a mark shows that the title has a custom sort name in an item card UI? or should we show a custom sort name in somewhere? |
Never mind |
@Leeingnyo Thanks for taking on this 👍
I am not entirely sure what would be the best. I am thinking having a separate auto option is not necessary anymore. If I remember correctly, auto is pretty much sort by titles, but if there are numbers in the titles, we will try to sort by those numbers instead. I guess most users are using the auto mode as it's just a better version of title mode. But of course let me know what you think.
I think it's OK for it to stay hidden. In Plex sort title is a separate field and it won't be shown in the UI. |
So we will have three kind of titles
What do you think? |
Good! I worked with this! |
Hi there! The feature has been added in v0.25.0. Thanks for the feature request! |
Is your feature request related to a problem? Please describe.
I happen to find some series that I can't sort them (unless I change the file / folder name). It would be more convenient to be able to add a "sort order" parameter instead of having to rename the physical folders / files and then (logically) change the name.
Describe the solution you'd like
IMG Ex:
Komga:
Komga DB:
is my Komga database table.
Describe a small use-case for this feature request
Being able to reorder items without having to change the real name.
Ex:
Series that have a "saga" name that encloses a specific number of volumes (not necessarily continuation volumes:
Saga 1> from volume 1 to 20;
Saga 2> from volume 21 to 40;
or
Saga 1> Volume 1 - 4;
Saga 2> Volume 1 - 25;
In this case, saga 2 is a sequel but not a continuation of the previous volume 4
The text was updated successfully, but these errors were encountered: