saga

package module
v0.0.0-...-35d3f71 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2023 License: BSD-3-Clause Imports: 8 Imported by: 0

README

Saga

This project has been discontinued

API server for track information from Serato DJ Pro.

Installation

Coming soon.

Usage

Run saga with either the --sesion-file or --session-dir flags. The --session-file can point to an existing session file, or --session-dir can specify the directory Saga should watch for a new session file when you start Serato. This will start the websocket API server on localhost:8080.

You can write a front end using JavaScript to connect to the websocket server, and listen for messages that will send the track history data.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(cfg Config) error

Run begins the process of listening for changes to the given Serato session file. It keeps a realtime model of the decks, and the tracks they're playing, and have played.

Types

type Config

type Config struct {
	Logger      *log.Logger
	Listen      string
	SessionDir  string
	SessionFile string
}

Config is a data structure for the configuration options passed in from the entry point.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL