thsrite / MoviePilot-Plugins

MoviePilot三方插件仓库
GNU General Public License v3.0
35 stars 9 forks source link

cloudstrm 建议增加个http和https的选项 #28

Closed fishensl closed 5 months ago

fishensl commented 6 months ago

现在默认是生成cd2http的 strm,要使用https的cd2只能find 手动替换掉才行 find -type f -name '*.py' -exec sed -i 's#http://localhost:19798/static/http/localhost:19798/False/#https://localhost:19798/static/https/localhost:19798/False/#g' {} +

find -type f -name '*.py' -exec sed -i 's#dest_file = f"http://{cloud_url}/static/http/{cloud_url}/False/{dest_file}"#dest_file = f"https://{cloud_url}/static/https/{cloud_url}/False/{dest_file}"#g' {} +

thsrite commented 5 months ago

6ba76f2bcb83b3408ba5bc827f938b4a68c93884