{"repo":"imshuai/AlistAutoStrm","free":true,"listed":false,"github":"https://github.com/imshuai/AlistAutoStrm","clone":"git clone https://github.com/imshuai/AlistAutoStrm.git","description":"Auto generate .strm file for EMBY or Jellyfin server use Alist API","language":"Go","stars":23,"topics":["alist","emby-server","jellyfin"],"license":null,"category":"databases-storage","readme_excerpt":"AlistAutoStrm Auto generate .strm file for EMBY or Jellyfin server use Alist API 使用 Alist API自动生成 .strm 文件用于 EMBY 或 Jellyfin 服务器 最近更新 - 2025-01-03 v1.2.5 增加同时下载额外文件功能，例如：.jpg、.nfo、.srt、.ass等, 在配置文件中使用 alt-exts 配置一个字符串数组，例如： [\".jpg\",\".nfo\",\".srt\",\".ass\"] - 2025-01-03 v1.2.7 修复在下载文件时，如果目标文件夹不存在报错的问题 - 2025-03-01 v1.2.8修复创建本地文件夹时权限设置错误导致无法正确创建strm文件 - PR#6；修复程序退出时未正确处理尚未完成的strm创建队列 - PR#7；感谢@ZhangTianrong Usage 使用方法 Config file example 配置文件示例 JSON format JSON格式 YAML format YAML格式 Tips 提示 初次使用时，请先使用 update-database 命令，将所有本地目录中的 .strm 文件记录到数据库中，以便后续更新时使用。后续只需使用 update 命令更新。 update 命令支持两种模式： local 或 remote ，默认为 local ，意为当远程文件路径与本地strm内容不一致时，保持本地strm文件不变； remote 意为当远程文件路径与本地strm内容不一致时，更新本地strm文件内容，并更新数据库。 update 命令还接受一个 --no-incremental-update 参数，意为不进行增量更新，程序会进入每一个远程文件夹获取文件列表，并根据规则生成strm文件及下载额外的文件，如图片、字幕等，默认为 false 。 配置文件中，全局 create-sub-directory 与各自目录的 create-sub-directory 取逻辑或关系，举例说明: 当全局 create-sub-directory 设置为 false 时, 各自目录的 create-sub-directory 设置为 true 时, 最终结果为 true ; 当全局 create-sub-directory 设置为 true 时, 各自目录的 create-sub-directory 设置为 false 时, 最终结果为 true ; force-refresh 配置项控制是否每次请求时强制刷新远端目录，默认为 false ，注意: 设置为 true 时可能会导致一些问题。 not-recursive 配置项控制是否不要递归生成 .strm 文件到子目录中，默认为 false 。 ### 重要提醒！！！<<< 对于有访问频率限制的云盘，务必调低并发数，否则可能会被云盘封禁。 Author @imshuai License MIT License Thanks alist","default_branch":null,"files":null,"tree":[],"storefront":"/r/imshuai","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/imshuai/AlistAutoStrm/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}