Giter Site home page Giter Site logo

fossabot / neoton-daemon Goto Github PK

View Code? Open in Web Editor NEW

This project forked from neoton/neoton-daemon

0.0 1.0 0.0 32 KB

Station control service. Spawns and manages broadcast generators, controls endpoints

License: BSD 3-Clause "New" or "Revised" License

C++ 97.16% QMake 2.84%

neoton-daemon's Introduction

What is Neoton?

FOSSA Status

Neoton is a free and open source centralized network-based public broadcasting system. It can be used in malls, schools, universities and other places where public audio playback is needed. Neoton consists of three parts: Daemon, Endpoint and Control Panel. Now you are looking at the Daemon.

What is Neoton Daemon?

Neoton Daemon is the server software that manages Endpoints: controls their state, sends command, sets up and controls audio stream generator processes. Endpoints connect to Daemon and pull settings from it before starting to play the stream.

How to set it up?

You need to build Neoton from source. Binary packages will be published later. To build Neoton Daemon you will need Qt version 5.6.0 or newer. Download Daemon source, open its directory and just run qmake && make. That's it. You also might want to copy the neotond binary into directory like /usr/local/bin and set up a systemd service entry. It's on your own.

How to configure it?

Neoton Daemon uses INI-like configuration file. To pass the configuration file to the daemon, use -c parameter, for example: /usr/local/bin/neotond -c /etc/neotond.conf. The config file is simple, just take a look at the example below.

[server]
; Log facility. Use stdout to print log to your console
log_file=/var/log/neoton/daemon.log
; Verbosity: 0 - none, 1 - error, 2 - warning, 3 - info, 4 - debug
log_level=4
; Server port, 1337 by default
server_port=1337

; Neoton uses PostgreSQL database to save its state. 
; You must specify database settings. 
[database]
server=127.0.0.1
database=neoton
username=neoton
password=0hW0w1t5N30tOn!

; Daemon uses Liquidsoap to build multimedia streams.
; Here you have to tell the daemon where to find all neccessary artifacts
[environment]
; The path to Liquidsoap binary executable
liquidsoap_path=/usr/bin/liquidsoap
; Config dir where Control Panel saves the .liq scripts
liquidsoap_config_dir=/opt/neoton/runtime/liquidsoap
; Restart Liquidsoap if it exits?
respawn=false
; Restart Liquidsoap only on "bad" exits like crash?
respawn_on_crash=false

License

FOSSA Status

neoton-daemon's People

Contributors

fossabot avatar namikiri avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.