bkury / skin.night

Night - A skin for KODI and OpenHT
Other
12 stars 6 forks source link

Playlist is not sorted by Rating #27

Open viking2 opened 3 years ago

viking2 commented 3 years ago

Hi,

I setup a Playlist of TV-Shows using the default skin and set the sort order to be by Rating (descending). It works fine in the default skin. However, when I switch back to Night Skin, it is sorted by Title!

Note that TV-Shows can only be sorted by Genre in a Playlist. EDIT: I meant that "TV-Shows can only be sorted by Ratings in a Playlist."

bkury commented 3 years ago

This seems to be a GUI display bug. I don't think it's actually sorted by title (if that's not possible like you mentioned) because the skin has no control over which sort methods are available for a specific media container.

I'll take a look, thanks for reporting!

viking2 commented 3 years ago

I am not sure I understood your response. In any case, note that this behavior is only apparent in a Playlist; In the default skin I have set the Playlist to sort by Rating - and it is. However, when I switch to Night, it is displayed in Title order.

I did some more tests and the results are not consistent: Playlist 1 = "Genre contains" Genre1 AND NumberOfEpisodes >1 with "Sort by Rating" => Sorted by Rating in default skin, but by Title in Night

Playlist 2 = "Genre contains" Genre2 AND NumberOfEpisodes >1 with "Sort by Rating" => (N/A only 1 show)

Playlist 3 = Playlist 1 OR Playlist 2 with "Sort by Rating"
=> Sorted by Rating in default skin and also in Night !!??

bkury commented 3 years ago

Hmm, I'm still not sure if I get your problem. I did some tests myself (with your given playlist parameters) and it seems that I don't have this problem.

Some questions: OS / Kodi Leia or Matrix ? Can you test it on a different installation/system? Screenshots would also be very helpful for comparison (might only be an UI bug)

viking2 commented 3 years ago

I am using Kodi 18.9.0 and WIN7 (64 bit). I am sorry, but I don't have another system to test it on.

Here is the playlist setup (in Estuary; Note that sort order is by Rating) In Estuary, the shows in the playlist are listed by Rating as expected (only the top row is shown): However, in Night, the shows in the playlist are listed alphabetically (only the top row is shown):