Automating inserting songs into playlist
I want to make a script that will take my recently "loved" tracks from LastFM and add them to a playlist of liked songs. I already have the LastFM part figured out, I just don't know of a good way to make queries to the database in the background.
I tried making queries with https://mysubsonic.com/db.view?query=, but that required the browser and I wouldn't work well in the background, and I've tried using hsqldb-sqltool to access the database directly, but this somehow corrupted my database.
If anyone has an idea of how I could access the database without the browser or some other approach to this, it would be greatly appreciated
I tried making queries with https://mysubsonic.com/db.view?query=, but that required the browser and I wouldn't work well in the background, and I've tried using hsqldb-sqltool to access the database directly, but this somehow corrupted my database.
If anyone has an idea of how I could access the database without the browser or some other approach to this, it would be greatly appreciated