2021-04-25, 03:40
(2021-04-24, 21:39)rkw2 Wrote: I've installed @Ambidex script, and then I realized in all my years of using Kodi, I've never run a script before. When I go to add-ons and click run it tells me to play a song first even when a song is playing. Is there some trick to running this that I'm missing. I apologize for the noob question. This is exactly what I'm looking to do with my Kodi installation and I'd love wasn't guidance on how to use it.First off all credit to the original authors. I wouldn't have had any idea on how to go about doing this.
Thanks!
To answer your question, looking at the code you need to start a song because that's how this particular script works. It only 'kicks in' when the next song starts.
When you run the script it clears the current playlist and then waits for playback to start again (any currently play song doesn't count for this). When playback starts again, if it's music that started playing the script does its magic (last.fm query etc).
Note that you may get asked to exit party mode when you run the script. If that happens just hit yes and run it again. It's related to how the script makes sure only one instance of it is running.