Automating Madsonic
Posted: 31 Dec 2016, 10:03
Hello,
In a development to my other thread: http://forum.madsonic.org/viewtopic.php?f=62&t=1986
I have a sequence of database query commands that update playlists based on date added, "starred" status etc. Unfortunately I have to manually enter these commands in the Madsonic web GUI. Is there any way of automating this, perhaps by using a HSQLDB script, or watchdog event? I've done some digging on SQL forums but have drawn a blank.
I also need to have Madsonic regularly export or backup playlists to the default folders. I can achieve this locally by using the URL: [url]http://myserver.madsonic.org:myport/playlistSettings.view?backupPlaylists[/url]
Is there any way of automating this? I have thought about a shell script with cURL but imagine that I would have login problems.
Thanks in advance!
In a development to my other thread: http://forum.madsonic.org/viewtopic.php?f=62&t=1986
I have a sequence of database query commands that update playlists based on date added, "starred" status etc. Unfortunately I have to manually enter these commands in the Madsonic web GUI. Is there any way of automating this, perhaps by using a HSQLDB script, or watchdog event? I've done some digging on SQL forums but have drawn a blank.
I also need to have Madsonic regularly export or backup playlists to the default folders. I can achieve this locally by using the URL: [url]http://myserver.madsonic.org:myport/playlistSettings.view?backupPlaylists[/url]
Is there any way of automating this? I have thought about a shell script with cURL but imagine that I would have login problems.
Thanks in advance!