Kodi Community Forum
Looking for RATING sort option in TV Shows Kodi Library - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Looking for RATING sort option in TV Shows Kodi Library (/showthread.php?tid=363975)



Looking for RATING sort option in TV Shows Kodi Library - kenmills - 2021-08-13

Hi there!

Can I request that we have the same "rating" sort option on TV Shows as in Movies - in the Kodi Library?

Currently Movies are:
Image

And TV Shows are:

Image

This appears to be a Kodi issue, not skin specific.

Thanks for your time!

Cheers,
Ken


RE: Looking for RATING sort option in TV Shows Kodi Library - Karellen - 2021-08-13

I have wondered about that also. Maybe @Razze might know as he did some work with user rating.

https://github.com/xbmc/xbmc/pull/7561


RE: Looking for RATING sort option in TV Shows Kodi Library - Razze - 2021-08-25

(2021-08-13, 21:57)Karellen Wrote: I have wondered about that also. Maybe @Razze might know as he did some work with user rating.

https://github.com/xbmc/xbmc/pull/7561

That's actually what's listed as "My rating". "Rating" is the average rating for "all" people. Not sure why that's missing there, that's actually confusing to me.


RE: Looking for RATING sort option in TV Shows Kodi Library - jjd-uk - 2021-08-25

It's simply because the Sort Method hasn't been added.

Here it is for Movies https://github.com/xbmc/xbmc/blob/master/xbmc/video/GUIViewStateVideo.cpp#L237

so
cpp:
AddSortMethod(SortByRating, 563, LABEL_MASKS("%T", "%R", "%T", "%R")); // Title, Rating | Title, Rating

needs to be added to https://github.com/xbmc/xbmc/blob/master/xbmc/video/GUIViewStateVideo.cpp#L131-L136


RE: Looking for RATING sort option in TV Shows Kodi Library - Razze - 2021-08-25

(2021-08-25, 15:35)jjd-uk Wrote: It's simply because the Sort Method hasn't been added.

Here it is for Movies https://github.com/xbmc/xbmc/blob/master/xbmc/video/GUIViewStateVideo.cpp#L237

so
cpp:
AddSortMethod(SortByRating, 563, LABEL_MASKS("%T", "%R", "%T", "%R")); // Title, Rating | Title, Rating

needs to be added to https://github.com/xbmc/xbmc/blob/master/xbmc/video/GUIViewStateVideo.cpp#L131-L136
There is an android test bulid here http://mirrors.kodi.tv/test-builds/android/arm64-v8a/kodi-20210825-08c03234-sort-tvshows-by-rating-arm64-v8a.apk

Seemed to work fine, in my testing


RE: Looking for RATING sort option in TV Shows Kodi Library - imbizile - 2023-01-01

Would be really nice to get this added, so it would be possible to sort by rating for tv shows as well.


RE: Looking for RATING sort option in TV Shows Kodi Library - pkscout - 2023-01-02

(2023-01-01, 14:13)imbizile Wrote: Would be really nice to get this added, so it would be possible to sort by rating for tv shows as well.
It has been added in Kodi Nexus, which is currently at RC2.  It shouldn't be too long before it is released.  Here's a screenshot from Nexus of the side blade in Estuary with the sorting options open.

Image


RE: Looking for RATING sort option in TV Shows Kodi Library - imbizile - 2023-01-03

That sounds great, looking forward to that release - thanks for the update Smile