📖 English / 📖 简体中文
This project is a video information plugin for Synology Video Station. It provides a way to fetch metadata from websites other than the default ones.
- Implemented in Python without any third-party dependencies.
- Supports multiple sources, and can be easily extended to support more.
- Has a simple configuration page where you can customize your plugin.
Install the plugin:
- Download the latest release from here.
- Open your Video Station, go to Settings > Video Info Plugin.
- Click [Add], select the downloaded file, and click [OK].
Configure the plugin:
- Open your browser, go to
http://[NAS_IP]:5125
(replace[NAS_IP]
with your NAS IP address) page. - Change the configuration as you want, and click [ 💾 ] button in the upper right corner.
- Go back to your Video Station, the configuration should be applied automatically.
Note
If you upgrade the plugin but the configuration page is not updated, you can restart the configuration service by following steps:
- Open the configuration page, click [Exit] button in the upper right corner to close the service.
- Go back to Video Station, go to Settings > Video Info Plugin, and click [Test Connection] button to restart the service.
- Python 3.6+
- Video Station 2.5.0+ for DSM 6.0
- Video Station 3.0.0+ for DSM 7.0
Tips for naming video files:
Movie:
- Naming format: Movie_Name (Release_Year).ext
- Example: Avatar (2009).avi
TV Show:
- Naming format: TV_Show_Name.SXX.EYY.ext (S as a shorthand for Season and E for Episode)
- Example: Gossip Girl.S03.E04.avi
You can develop your own plugin based on this project easily. Here are the steps:
- Clone this repository to your local machine:
git clone https://github.com/C5H12O5/syno-videoinfo-plugin
- Modify the code as you want, and test it like this:
python main.py --type movie --input "{\"title\":\"{movie_title}\"}" --limit 1 --loglevel debug
- Package the plugin using the following command:
python setup.py sdist --formats=zip