mirror of
https://github.com/C5H12O5/syno-videoinfo-plugin.git
synced 2025-08-15 23:29:59 +00:00
Merge branch 'develop'
This commit is contained in:
16
README.md
16
README.md
@ -1,10 +1,10 @@
|
|||||||
# *Syno*logy Video Info Plugin
|
# *Syno*logy Video Info Plugin
|
||||||
|
|
||||||
[](https://github.com/c5h12o5/syno-videoinfo-plugin/releases)
|
[](https://github.com/C5H12O5/syno-videoinfo-plugin/releases)
|
||||||

|

|
||||||

|

|
||||||

|

|
||||||
[](LICENSE)
|
[](LICENSE)
|
||||||
|
|
||||||
###### 📖 English / 📖 [简体中文](README.zh-CN.md)
|
###### 📖 English / 📖 [简体中文](README.zh-CN.md)
|
||||||
|
|
||||||
@ -19,7 +19,7 @@ other than the default ones.
|
|||||||
|
|
||||||
Install the plugin:
|
Install the plugin:
|
||||||
|
|
||||||
1. Download the latest release from [**here**](https://github.com/c5h12o5/syno-videoinfo-plugin/releases).
|
1. Download the latest release from [***here***](https://github.com/C5H12O5/syno-videoinfo-plugin/releases).
|
||||||
2. Open your Video Station, go to ***Settings*** > ***Video Info Plugin***.
|
2. Open your Video Station, go to ***Settings*** > ***Video Info Plugin***.
|
||||||
3. Click ***Add***, select the downloaded file, and click ***OK***.
|
3. Click ***Add***, select the downloaded file, and click ***OK***.
|
||||||
|
|
||||||
@ -58,19 +58,19 @@ You can develop your own plugin based on this project easily. Here are the steps
|
|||||||
1. Clone this repository to your local machine:
|
1. Clone this repository to your local machine:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ git clone https://github.com/c5h12o5/syno-videoinfo-plugin
|
git clone https://github.com/C5H12O5/syno-videoinfo-plugin
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Modify the code as you want, and test it like this:
|
2. Modify the code as you want, and test it like this:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ python main.py --type movie --input "{\"title\":\"{movie_title}\"}" --limit 1 --loglevel debug
|
python main.py --type movie --input "{\"title\":\"{movie_title}\"}" --limit 1 --loglevel debug
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Package the plugin using the following command:
|
3. Package the plugin using the following command:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ python setup.py sdist --formats=zip
|
python setup.py sdist --formats=zip
|
||||||
```
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
# *Syno*logy Video Info Plugin
|
# *Syno*logy Video Info Plugin
|
||||||
|
|
||||||
[](https://github.com/c5h12o5/syno-videoinfo-plugin/releases)
|
[](https://github.com/C5H12O5/syno-videoinfo-plugin/releases)
|
||||||

|

|
||||||

|

|
||||||

|

|
||||||
[](LICENSE)
|
[](LICENSE)
|
||||||
|
|
||||||
###### 📖 [English](README.md) / 📖 简体中文
|
###### 📖 [English](README.md) / 📖 简体中文
|
||||||
|
|
||||||
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
安装插件:
|
安装插件:
|
||||||
|
|
||||||
1. 从[**此处**](https://github.com/c5h12o5/syno-videoinfo-plugin/releases)下载最新版本。
|
1. 从[***此处***](https://github.com/C5H12O5/syno-videoinfo-plugin/releases)下载最新版本。
|
||||||
2. 打开 Video Station,进入 ***设置*** > ***视频信息插件***。
|
2. 打开 Video Station,进入 ***设置*** > ***视频信息插件***。
|
||||||
3. 点击 ***新增***,选择第一步下载的压缩包,然后点击 ***确定***。
|
3. 点击 ***新增***,选择第一步下载的压缩包,然后点击 ***确定***。
|
||||||
|
|
||||||
@ -57,19 +57,19 @@
|
|||||||
1. 将本项目克隆到本地:
|
1. 将本项目克隆到本地:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ git clone https://github.com/c5h12o5/syno-videoinfo-plugin
|
git clone https://github.com/C5H12O5/syno-videoinfo-plugin
|
||||||
```
|
```
|
||||||
|
|
||||||
2. 根据需要修改代码,并可以使用以下命令进行测试:
|
2. 根据需要修改代码,并可以使用以下命令进行测试:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ python main.py --type movie --input "{\"title\":\"{movie_title}\"}" --limit 1 --loglevel debug
|
python main.py --type movie --input "{\"title\":\"{movie_title}\"}" --limit 1 --loglevel debug
|
||||||
```
|
```
|
||||||
|
|
||||||
3. 然后可以使用以下命令进行打包并上传使用:
|
3. 然后可以使用以下命令进行打包并上传使用:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ python setup.py sdist --formats=zip
|
python setup.py sdist --formats=zip
|
||||||
```
|
```
|
||||||
|
|
||||||
## 使用许可
|
## 使用许可
|
||||||
|
Reference in New Issue
Block a user