Giter Site home page Giter Site logo

ims's Introduction

IMS - Icecast Metadata Sender

Simple service for sending metadata to icecast server. IMS opens UDP socket, similarly to Opticodec-PC Streaming Encoder (see more here) and sends artist and title of song to Icecast.

Maintenance GitHub license Open Source? Yes!

Dependencies

  • gcc
  • make
  • libconfig-devel
  • libcurl-devel

In Fedora you can install dependencies with the following command:

sudo dnf install gcc libconfig-devel libcurl-devel

Compilation

  1. Install dependencies.
  2. Go to ims directory

cd ims

  1. Build application by typing

make

Configuration file

Example config file is in: src/config.ini.sample. Comments are in the file.

Usage

./bin/ims --config config.ini

Run as docker container

Build the image:

sudo docker build -t ims .

Create or copy and edit configuration file from src/config.ini.sample.

Run docker container with the following command.

sudo docker run -d [-p <PORT>:<PORT>] --name <CONTAINER_NAME> [--network=host] --privileged --restart=always -v <YOUR_CONFIG_FILE_PATH>:/data/config.ini ims:latest

Replace PORT with port number specified in configuration file, CONTAINER_NAME with preffered container name, and YOUR_CONFIG_FILE_PATH with your config file absolute path.

Arguents in [ ] are optional. When --network=host is used, option -p PORT:PORT is omitted.

ims's People

Contributors

dgalus avatar

Stargazers

 avatar

Watchers

 avatar  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.