Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Dec 29, 2025. It is now read-only.

SlashNephy/Chinachu2EPGS

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chinachu2EPGS

Chinachu → EPGStation (v2) のお引越しツール

すでに稼働している EPGStation のバックアップデータと Chinachu の録画番組データをマージすることで引っ越しを可能にします。

前提事項

Chinachu と EPGStation で同じ録画ディレクトリが見える必要があります。
ex) Chinachu で /mnt/data1/hoge.m2ts に録画した番組は EPGStation のコンテナからも /mnt/data1/hoge.m2ts が見える必要があります。

Usage

  1. すでに稼働している EPGStation のコンテナからバックアップを取得します。epgstation.json というバックアップが生成されます。
    注意: バックアップを生成してからリストアするまでに EPGStation を操作しないでください!その間のデータはロストします!
$ cd /tmp
# docker exec EPGStation npm run backup epgstation.json
# docker cp EPGStation:/app/epgstation.json .
  1. 同じディレクトリに Chinachu の録画番組データ recorded.json を配置しておきます。その後, convert.py を実行します。epgstation.new.json が生成されるはずです。
$ cp /path/to/chinachu/data/recorded.json .
$ python convert.py
  1. EPGStation のコンテナに epgstation.new.json をリストアします。
# docker cp epgstation.new.json EPGStation:/app/
# docker exec EPGStation npm run restore epgstation.new.json

なにか問題が発生した場合は以下で変更前のバックアップにリストアできます。

# docker exec EPGStation npm run restore epgstation.json

About

Chinachu → EPGStation (v2) のお引越しツール

Topics

Resources

Stars

Watchers

Forks

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.