Coder Social home page Coder Social logo

kounoike / chinachu Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chinachu/chinachu

0.0 0.0 1.0 9.82 MB

An Open Source Digital Video Recorder System for Linux.

Home Page: https://chinachu.moe/

License: Other

JavaScript 82.34% Shell 3.77% CSS 13.57% HTML 0.32%

chinachu's People

Contributors

kanreisa avatar kounoike avatar kui avatar miyukki avatar mzyy94 avatar nibral avatar qzwpq avatar shinkbr avatar skaphy avatar takaakis62 avatar upsilon avatar valda avatar yuropu avatar

Watchers

 avatar  avatar  avatar

Forkers

gitter-badger

chinachu's Issues

手動予約保存@reserves.json版

TODO:

  • app-cli.js chinachuProgramListのreserves
  • app-operator.js で予約実行する部分
  • app-scheduler.js で競合チェックするときに一度 isConflict を下ろす
  • その後app-scheduler.js で競合チェックして isConflict を立てる
  • WUI
  • app-cli.jsの予約/取り消し関係の確認
  • apiの確認

app-cli.jsのchinachuProgramList

conflictの表示が面倒そうisManualReservedのところで日本語で"競合"って出力しちゃう?

app-operator.js

変更箇所は、program.isSkipしているのと同じような処理を足していくだけだと思われる。
まだよく分かっていないけど、そんなに難しくなさそう。

skipされた予約を消すコードが不明。スケジューラがやっているのか?
→app-scheduler.jsのoutputReserves()でreserve.end < new Date().getTime()しているところ

app-scheduler.js

まあ、予約チェックの部分を見るだけのはず。
L328の!a.isConflictあたりをチェック

isConflictは毎回チェックしているので、変更の必要なし

WUI

後回し

episodeで検索したいかも

ルールと同じロジックでの検索が入ってからになるけど、episodeで検索できると、再放送開始を見つけやすいかな?

ルールにIDを振りたい

予約がどのルールからひっかかったものか判別できるようにしたい、という要求のために必要。
Chinachu#7 はちょっと違うんだよなー。ruleの中にIDを埋め込みたいから。

./chinachu service wui executeの中でなぜか80にbindしようとしているのが気持ち悪い

$ ./chinachu service wui execute
(node) sys is deprecated. Use util instead.
**SELF-REGULATION WARNING**: If you want to access from outside of LAN, Please activate TLS.
info: socket.io started
info: socket.io started
warn: error raised: Error: listen EACCES 0.0.0.0:80
23 Sep 00:54:14 - HTTP Server Listening on { address: '::', family: 'IPv6', port: 10772 }

EACCESでとまってるけど、rootで動かしたらbindされるってことだよね?

informationのリンクを書き換える

独自版にしていく方針になったので、右下のInformationのリンクで本家が出ると本家に迷惑がかかってしまうかもしれない。

番組検索の結果からルールを作成したい

まずはupstreamに取り込まれてからだけど、検索で良い感じの検索式が出来たらそれをルール化したくなると思う。
検索画面に「ルールを作成」ボタンを付ければ良いんじゃないかなぁ。

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.