Automatically download, rename, transcode, and organize your TV shows.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
imabritishcow f8daae102a
Fix replace
2 weeks ago
utils Fix replace 2 weeks ago
.gitignore first commit 3 weeks ago
LICENSE.md first commit 3 weeks ago
README.md update 3 weeks ago
index.js Fix replace 2 weeks ago
package.json Fix file rename 3 weeks ago
yarn.lock Fix file rename 3 weeks ago

README.md

media-srv

Automatically download, rename, transcode, and organize your TV shows.

Requirements

  • aria2

Usage

Start aria2 with RPC.

aria2c --enable-rpc --rpc-listen-all=true --rpc-allow-origin-all

Then start media-srv.

node .

Example config

{
  "frequency": "0 * * * *", # Every hour
  "tmpDir": "/home/user/.cache/media-srv", # Create before running
  "aria2Secret": "", # Run aria2 with --rpc-secret
  "shows": [
    {
      "feedUrl": "https://example.com/rss",
      "matchShow": "My.TV.Show", # Releases with the episode name are not supported
      "matchRelease": "720p.WEB.x265-ExAmPLE[example]",
      "currentEpisode": "05",
      "currentEpisode": "0", # Set if you already have part of the season downloaded
      "rename": " 720p WEB x265-ExAmPLE[example]", # Dots are automatically converted to spaces
      "processing": "-c:v hevc_nvenc -c:a aac", # Leave blank to disable
      "location": "/home/user/Videos/My TV Show/Season 5"
    }
  ]
}