Skip to content

Configuration

Majmun can read configuration from a file or from a directory by combining multiple files based on top-level elements.

By default, it reads configuration from config.yaml in the current directory.

majmun -config ./config.yaml # from file
majmun -config ./config      # from directory

Hint

All arrays with a single value can be specified without brackets.

Root Level Configuration

Field Type Description
server Server Server configuration including listening addresses and public URL
url_generator URL Generator URL generation and encryption configuration
logs Logs Logging configuration
proxy Proxy Stream proxy configuration for remuxing with ffmpeg
cache Cache Cache configuration for playlists and EPGs
playlists Playlists Array of playlist definitions with sources
epgs EPGs Array of EPG definitions with sources
channel_rules Channel Rules Global channel processing rules (applied to all channels)
playlist_rules Playlist Rules Global playlist processing rules (applied after channel rules)
clients Clients Array of IPTV client definitions with individual settings