Skip to content

Feature request: Let AutoDJ run a local script that returns the full path to a song #16

@Pitu

Description

@Pitu

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions