TheAssassin / kodi-invidious-plugin

Invidious plugin for Kodi. A privacy-friendly way of viewing YouTube videos, built using the awesome Invidious service's API.
MIT License
50 stars 16 forks source link

Make it possible to order by other criteria #3

Open probonopd opened 4 years ago

probonopd commented 4 years ago

While sorting by upload date may be what the user wants in many cases, there are some cases where one would like the "normal" YouTube default sorting order.

I think that there should be a way to decide for each search query how it should be ordered (as opposed to a global setting). How to best do this?

Probably the third option is the "proper" way to do it. Is it doable?

https://github.com/TheAssassin/kodi-invidious-plugin/blob/3b866d93f94d65714b3259639d7cef065d5928a6/resources/lib/invidious_api.py#L72

TheAssassin commented 4 years ago

Maybe as a global setting.

I don't think Invidious's results' sorting necessarily correlates to whatever you'll see on YouTube (they track you, Invidious doesn't). So please don't expect too much.

probonopd commented 4 years ago

Maybe as a global setting.

As I write above and gave reasons for, I think that global is what we do not want...