Instead of loading a folder into AutoDJ, it would be nice to support running a local script that returns the full path to a song.
This enables having your own logic for random while still being able to write stats to databases or other operations on the background.
For example, this is something that liquidsoap supports:
def get_request() =
# Get the URI
uri = list.hd(default="", process.read.lines("node /home/radio/getSong.js"))
print("Uri: #{uri}")
# Create a request
request.create(uri)
end
Is this something you would be willing to add?