/Mirakurun

DTV Tuner Server Service for Chinachu Air.

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Mirakurun

Mirakurun

DVR Tuner Server Service for Chinachu Air.

npm version npm downloads Linux Build Dependency Status devDependency Status

Features

  • RESTful API (Open API) - has designed like HTTP version of Spinel
  • Unix Sockets / TCP
  • Advanced Tuner Process Management
  • Priority Management
  • Integrated MPEG-2 TS Parser, Filter
  • Realtime EPG Parser
  • Supports most Tuner Devices (chardev, DVB / ISDB-T, ISDB-S, DVB-S2)

Requirements / Supported Platforms

Bold is the recommended. see: doc/Platforms.md

Linux

  • PM2 >=2.0.12
  • x86 / x64 / ARMv7 / ARMv8
  • Debian / Ubuntu / CentOS / Gentoo
  • SystemV / OpenRC / SystemD

Darwin (Experimental)

  • PM2 >=2.0.12
  • OS X v10.11 El Capitan

Win32 (Experimental)

  • winser >=1.0.2
  • Windows 10 TH2

Install

# Linux / Darwin
sudo npm install pm2 -g
sudo npm install mirakurun -g --unsafe --production

# Win32 (Windows PowerShell as Admin)
npm install winser -g
npm install mirakurun -g --production

Update

# Linux / Darwin
sudo npm install mirakurun@latest -g --unsafe --production

# Win32 (Windows PowerShell as Admin)
npm install mirakurun@latest -g --production

Uninstall

# Linux / Darwin
sudo npm uninstall mirakurun -g --unsafe

# Win32 (Windows PowerShell as Admin)
npm uninstall mirakurun -g

CLI

Only Linux / Darwin Platform

Administration

Config

mirakurun config [server|tuners|channels]

Typically, don't need edit this.

Log Stream

mirakurun log server

Service Management

mirakurun [status|start|stop|restart]

Munin Plugin

Required

Installation

ln -s /usr/local/lib/node_modules/mirakurun/bin/munin-plugins/mirakurun_status.js /usr/share/munin/plugins/mirakurun_status
ln -s /usr/share/munin/plugins/mirakurun_status /etc/munin/plugins/mirakurun_status
# check
munin-run mirakurun_status
# apply
service munin-node restart

Workaround: /usr/bin/env: node: No such file or directory

create /etc/munin/plugin-conf.d/mirakurun.conf like below:

[mirakurun_*]
command /usr/local/bin/node %c

Client Implementations

Contributing

CONTRIBUTING.md

Slack Community

License

Apache License, Version 2.0

Commercial License/Support is provided by Pixely LLC.