Giter Site home page Giter Site logo

rivarun's Introduction

Rivarun

A Simple Mirakurun Client Implementation like recpt1.

tested on Chinachu (beta). (Note: This is NOT for Chinachu Air.)

npm version

Install

sudo npm install rivarun -g

Uninstall

sudo npm uninstall rivarun -g

CLI

Usage

rivarun [--b25] [--mirakurun host] [--priority priority] [--sid SID] [--ch type/channel] rectime destfile

Remarks

  • if rectime is -, records indefinitely.
  • if destfile is -, stdout is used for output.

Options

--b25:               Send decode request
--mirakurun host:    Specify Mirakurun hostname and portnumber
--priority priority: Specify client priority (default=0)
--sid SID:           Specify SID number
--ch type/channel    Specify channeltype and channel
                       type = GR | BS | CS | SKY
--help:              Show this help
--version:           Show version
--list:              Show channel list

Slack Community

License

Apache License, Version 2.0

rivarun's People

Contributors

kanreisa avatar rndomhack avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rivarun's Issues

rivarunで録画中にMirakurunの強制終了でrivarunが終了しない

Environment

  • Version of Mirakurun: mqq [email protected]
  • Version of Node: v14.16.0
  • Version of NPM: 6.14.11
  • Platform: Linux Debian jessie, Ubuntu 20.04.2 LTS

Issue

録画を中止させるために、MirakurunのWEB画面から録画中のプロセスを強制終了(Kill Tuner Process...)させても、recpt1のプロセスは終了するのですが、呼び出し元であるrivarunのコマンドが終了しません。

操作したボタン(画像はサンプルです)
image

実行したコマンド
rivarun --b25 --sid 1024 --ch GR/27 30 /media/user1/HDD2/TEST/TEST_date "+%Y%m%d_%H%M%S".m2ts

実行後のプロセス

user1  874293  690359  3 19:26 pts/4    00:00:00 node /usr/bin/rivarun --b25 --sid 1024 --ch GR/27 30 /media/user1/HDD2/TEST/TEST_20210406_192651.m2ts
root      874304 2816014  3 19:26 ?        00:00:00 recpt1 --device /dev/px4video11 27 - -

強制終了後はrecpt1 のプロセスだけ終了します。
強制終了をしても呼び出し元のプロセス(rivarun)を終了させたいのですがどのような設定を行うのがよろしいでしょうか。
これは、深夜帯を時間指定で録画したとき、放送停止(停波)でプロセスが強制終了されてしまうことを想定しての質問となります。

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.