Posts: 34
Joined: Mar 2016
Reputation:
0
Hi,
I have a SQL Query that I would like to access/run inside of KODI, ideally as a playlist, is this possible?
Can I convert the query to a playlist or is there an addon that will let me run the SQL Query and display the results?
Thanks in advance.
Posts: 14,208
Joined: Nov 2009
Reputation:
710
Klojum
Lost connection
Posts: 14,208
I don't think Kodi has enough magic powers just yet to directly convert & execute SQL queries which are manually entered or otherwise.
There is no add-on to do that AFAIK.
Posts: 4,545
Joined: Jun 2015
Reputation:
269
Kodi does not let addons fire raw SQL at any of the databases, image the havoc a rogue addon could do, hence extremely unlikely in the future. I understand the desire, especially if you are knowledgeable in SQL, but it isn't part of Kodi by design.
Smart playlists have a variety of parameters that can be combined, are you sure that you can't achieve what you want using them?
Posts: 4,545
Joined: Jun 2015
Reputation:
269
Play count can certainly be a smart playlist rule as can name but not TMDB id, so no I don't think you can achieve what you want with a smart playlist or filtering from the sideblade. Sorry.
All I can suggest is listing titles sorted by title, which shows watched with a tick and the format details or the current movie at the bottom.