Kodi Community Forum
Sorttitle question - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+---- Forum: TinyMediaManager (https://forum.kodi.tv/forumdisplay.php?fid=204)
+---- Thread: Sorttitle question (/showthread.php?tid=359503)



Sorttitle question - lexguy2007 - 2021-01-01

Hi,
Was something changed somewhere between 4.0.1 and 4.0.7 with regards to the sorttitle field? Seems that is was automatically being filled in before upon scraping but now every time I scrape a movie it is blank. Is there someway in the the settings that I might have disabled this?


RE: Sorttitle question - mlaggner - 2021-01-01

that is automatically filled in if you assign that to a movie set.. otherwise we leave blank (IIRC)


RE: Sorttitle question - lexguy2007 - 2021-01-01

(2021-01-01, 10:46)mlaggner Wrote: that is automatically filled in if you assign that to a movie set.. otherwise we leave blank (IIRC)

Has it always been that way? Seem like it always got filled in before. Now that I have rescraped the majority of my movies, all of my movies that start with "The" are showing up in the T's. Just trying to figure out why suddenly that is happening.


RE: Sorttitle question - mlaggner - 2021-01-02

okay, you're speaking of the title sortable (the sorttitle is some sort of "internal" field for Kodi to sort movies the "right" way in the UI).

according to the changelog we do not have touched this part - but the sure you have displayed the right column! (the title not the sorttitle)


RE: Sorttitle question - tars - 2021-01-02

(2021-01-01, 10:46)mlaggner Wrote: that is automatically filled in if you assign that to a movie set.. otherwise we leave blank (IIRC)

How do you assign that? I can't find such setting from the UI. 
With my collection, I also noticed Sorttitle stopped getting filled in for new movies almost for a year though I'm almost not using that field.

Also tried changing "sortTitle" value to "true" with movies.json file but scraping whatever movies (even those with sorttitle value that were added to my collection years ago) doesn't fill in the field.


RE: Sorttitle question - mlaggner - 2021-01-03

lol, you are right.. there must be something broken in the movie set management... funny thing that there was no issue for this for ages. I will have a look for this

EDIT: I've found the corresponding change (https://gitlab.com/tinyMediaManager/tinyMediaManager/-/commit/cf5de255fe7e35cfc9e07a7a158f4d99c76d863d) - we removed that 4 years ago because Kodi changed how movie sets are handled (I found that in the changelog of tmm v2.9)
Quote: 
MOVIE SET CHANGES:
Due to recent changes in Kodi we’ve changed our internal handling of movie sets:
- the sorttitle of movies in a movie set is no longer used
(tinyMediaManager and Kodi use the release date to sort)
- tinyMediaManager now supports the new NFO style for movie sets
(reading & writing; we also support reading the old style for importing)

so using the sorttitle is up to you Wink (but we do read existing sorttitle values from existing NFO files) - but it has not been filled by a scraper (at least I am not aware of and did not find anything in the code)


RE: Sorttitle question - tars - 2021-01-03

Then I don't see its use at all. Movie set doesn't support it, sorting by title won't be affected by that field, and sorting by sorttitle (if it's manually filled in) would only work if it gets auto-filled with title sortable when it's empty.

Edit: It may be useful if it works as a means to override title sorting (by title sortable) with manually filled in values, which is exactly what a sort-field does by definition.


RE: Sorttitle question - Karellen - 2021-01-03

<sorttitle> data is not scraped from anywhere as it does not exist. It is purely a feature to allow users to adjust ordering of movies.

It would be pretty weird to expect a <sorttitle> entry to be added. What would you put in there? What you may want does not mean that I want it.

Once this data is added, Kodi automatically uses it to sort lists. There is no user control over this.

And there is absolutely no point in adding <sorttitle> data which is the exact same data in <title> or <originaltitle>

If you don't know what <sorttitle> is used for, read here... https://kodi.wiki/view/Movie_sets#Sort_Title


RE: Sorttitle question - tars - 2021-01-03

OK, I see Kodi already supports the field for internal title sorting.
What I'm saying is it has no use for tmm.
It's up to the user what they want to fill in for specific movies (it should be something different from title and original title, solely for sorting purpose), but currently the field has no use with tmm.