黑群晖video station评级问题

黑群晖video station评级问题

环境

  1. 群晖Version: 6.2.3-25423
  2. video station 2.4.10

方法1,py文件

登录ssh,获取sudo权限

  1. cd /var/packages/VideoStation/target/plugins/syno_themoviedb
  2. sudo vim search.py
  3. 替换
movie_data['vote_average']
替换为
round(movie_data['vote_average'], 1)
  1. cd /var/packages/VideoStation/target/plugins/syno_themoviedb_tv
  2. 替换
tv_data['vote_average']
替换位
round(tv_data['vote_average'], 1)
  1. 清除本地缓存

cd /var/packages/VideoStation/target/plugins/plugin_data/com.synology.TheMovieDb/movie/query
sudo rm *
cd /var/packages/VideoStation/target/plugins/plugin_data/com.synology.TheMovieDb/tv/query
sudo rm *

方法2,php文件

同上,只需要修改/v

你可能感兴趣的:(php,python)