comicinfo icon indicating copy to clipboard operation
comicinfo copied to clipboard

Added SeriesSort tag

Open majora2007 opened this issue 3 years ago • 5 comments

Implements support for #4 by adding a new tag, SeriesSort, which allows users to specify sort order for series with ComicInfo.

majora2007 avatar Mar 03 '22 13:03 majora2007

Any chance to merge this? Kavita added support for this a bit ago.

majora2007 avatar Apr 26 '22 23:04 majora2007

@lordwelch @ajslater WDYT?

gotson avatar Apr 27 '22 01:04 gotson

Looks good to me, coincidentally I just had a discussion on why this tag is necessary if not useful for most types of media, in ComicTagger I won't have support for a while, I want to get some other changes merged first

lordwelch avatar Apr 27 '22 01:04 lordwelch

Most sorting with English seems easily done semantically. For instance, the examples given in #4 are easy to do algorithmically. In Codex If i were to solve for the example cases, I'd make a series.sort_name column and remove two to four common english articles from the first token of series.name. I imagine that would enable more consistent sorting than scattershot tags.

I wonder if there are more useful non-english use cases.

That said, if you think it's useful, sure, why not. lordwelch's attribute idea is technically where i might go, but I see the wisdom in gotson's consistency argument.

ajslater avatar Apr 27 '22 07:04 ajslater

Most sorting with English seems easily done semantically. For instance, the examples given in #4 are easy to do algorithmically. In Codex If i were to solve for the example cases, I'd make a series.sort_name column and remove two to four common english articles from the first token of series.name.

100% agree, but that works only if you are managing english content only, or if you can detect that the content is english language (the language tag could help). But even so, you can have japanese manga with english titles, for which you may want to also handle sorting.

I imagine that would enable more consistent sorting than scattershot tags.

The idea is more to decouple the processing from the metadata. If an app wants to perform it algorithmically, fine. But if you want to fill it yourself, and expect the apps to handle it if present, that's another more flexible solution.

That said, if you think it's useful, sure, why not. lordwelch's attribute idea is technically where i might go, but I see the wisdom in gotson's consistency argument.

Let's keep the 💩 consistent 🤣

gotson avatar Apr 27 '22 07:04 gotson