2020-06-20, 02:57
(2020-06-19, 21:55)Lunatixz Wrote: FYI easy to accomplish this via python script
That's awesome news. But:
- I'd still be keen to see it as a core feature, as I believe it's a true value add to Kodi, not some idiosynchratic personal feature (which is what I use scripts for).
- In the mean time I'd love to write the script but am fairly green (and so it's costly in research and experimentation) so if you think it easy, could you maybe either provide some key pointers or write one? For example:
- I'd need a hook into Queue changes (so a function runs every time the queue changes, has something added to it or removed or moved around)
- A hook into playing track changes (so a function runs whenever a new track starts playing)
- A hook into the bootstrap (so a function can run when Kodi starts)
- A kodi-canonical persistent store, as in what is the norm in kodi? Write the state out to a file in ~/.kodi, or does kodi offer a database to which a table can be added to capture queue state?
- I'd need a hook into Queue changes (so a function runs every time the queue changes, has something added to it or removed or moved around)