📖 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). - Change the configuration as you want, and click Save Button in the upper right corner.
- Go back to your Video Station, the configuration should be applied automatically.
- Python 3.7+
- DSM 7.0+
- Video Station 3.0.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