Tag Archives: Transmission

Transmission Config Location for Synology from SynoCommunity

The base directory is:

/volume1/@appstore/transmission

Most settings/config file and torrents are stored under:

/volume1/@appstore/transmission/var
/volume1/@appstore/transmission/var/torrents

To edit these files, you need sudo permission. For example:

"watch-dir": "/volume2/data_2/torrents-watch",
"watch-dir-enabled": true

Install Transmission on CentOS 7

Nowadays it’s really simple to install Transmission on CentOS 7 or EL distro. First you need to install EPEL packages:

$ yum install epel-release
$ yum -y update

…or use the following command if you’re running Red Hat Enterprise Linux:

$ yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm -E '%{rhel}').noarch.rpm

Install Transmission:

$ yum install transmission-cli transmission-common transmission-daemon

Create storage directory:

$ mkdir /ebs-data/transmission/
$ chown -R transmission.transmission /ebs-data/transmission/

Start and stop the Transmission to auto generate configs:

$ systemctl start transmission-daemon.service
$ systemctl stop transmission-daemon.service

To edit the config, you MUST first stop the daemon, otherwise the config will be overwritten after you restart the daemon:

$ systemctl stop transmission-daemon.service
$ var /var/lib/transmission/.config/transmission-daemon/settings.json

Edit config:

"download-dir": "/ebs-data/transmission",
"incomplete-dir": "/ebs-data/transmission",
"rpc-authentication-required": true,
"rpc-enabled": true,
"rpc-password": "my_password",
"rpc-username": "my_user",
"rpc-whitelist": "0.0.0.0",
"rpc-whitelist-enabled": false,

Save and start daemon:

$ systemctl start transmission-daemon.service

Access via your browser:

$ open http://localhost:9091/transmission/web/

FlexGet + Transmission + Plex AniDB Agent on OS X

目標

  • 自動下載新番種子
  • 種子自動加入 Transmission 下載隊列
  • 新番文件自動重命名到 Plex 兼容格式
  • 通過 Plex AniDB agent 自動獲取新番相關信息

實現方法

  • 通過 FlexGet 讀取 RSS,自動下載種子文件
  • 通過 FlexGet 的 transmissionrpc 插件自動將種子傳送到 Transmission
  • Transmission 下載完成後觸發腳本,自動將種子重命名為 Plex 可識別格式
  • 通過 Plex 的第三方 agent:AniDB 自動獲取新番相關訊息

配料表

  • 裝有 OS X 的電腦一部
  • Plex 一只
  • Transmission 一只
  • FlexGet 一只

配置 FlexGet

FlexGet 的安裝方法和自動運行請參考參考 官方文檔,寫的很詳細

配置文件如下,要點在於 presets.global.transmission.path,為了能讓 Plex 識別和方便管理,每一個動畫 要分別放在相應命名的目錄。其中 {{task}} 對應的就是 tasks 下的新番標題:

配置 Transmission

Transmission 本身不需要進行過多配置,為了避免下載隊列越來越多,記得勾選下載完成後從隊列刪除這個選項。下面是其對應的 post-process 腳本:

上述腳本會通過正則將 [Fansub][Title][Episode]*.mp4 這樣的格式替換為 Plex 可識別的 Title - Episode.mp4 格式,例如 [WOLF&HYSUB][Kyousougiga][00][GB][720P][MP4].mp4 就會被替換為 Kyousougiga - 00.mp4

配置 Plex w/ Hama Agent

注意!,已棄用 AniDB agent,改為 Hama Agent。詳情請訪問最新文章:Hama (HTTP Anidb Metadata Agent) and Plex Media Server – 2014-04-09

訪問 Plex 論壇 下載 AniDB agent 并安裝,通過 Plex 的 web 界面進行管理即可,以下是效果圖: