Scheduler for recpt1 recorder using Syoboi Calendar.
Add this line to your application's Gemfile:
gem 'kaede'
And then execute:
$ bundle
Or install it yourself as:
$ gem install kaede
Some of them should be optional, though.
go get -u github.com/eagletmt/kaede/kaede-cli
cp kaede.rb.sample kaede.rb
vim kaede.rb
gem install pg # gem install sqlite3
kaede db-prepare
cp kaede.service.sample kaede.service
vim kaede.service
sudo cp kaede.service /etc/systemd/system/kaede.service
sudo systemctl enable kaede.service
sudo systemctl start kaede.service
Add your available channels.
kaede-cli add-channel --recorder 16 --syoboi 19 MX
kaede-cli add-channel --recorder 211 --syoboi 128 BS11
...
Add your favorite anime tids.
kaede-cli add-tid 3331
...
Update programs and schedules. It supposed to be run periodically (by cron or systemd.timer).
kaede-cli update
List schedules.
kaede-cli list-programs
Reload schedules (usually not needed).
kaede-cli reload
Stop scheduler. The current scheduler process exits after all the running recorders finish.
kaede-cli stop
- Post the earlier tweet (optional).
- Record the program into
record_dir
by recpt1.- At the same time, decode into
cache_dir
by b25. - At the same time, dump ass into
cache_dir
by assdumper.
- At the same time, decode into
- Post the later tweet (optional).
- Clean the recorded TS (in
cache_dir
) intocabinet_dir
. - Move dumped ass (in
cache_dir
) intocabinet_dir
. - Enqueue the filename into
redis_queue
.- Use it as an encoder queue.
- My usage: https://github.com/eagletmt/eagletmt-recutils/tree/master/encoder
- Fork it ( https://github.com/eagletmt/kaede/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request