ChineseSubFinder / ChineseSubFinder/ChineseSubFinder

运行都正常,但是写入字幕的时候提示权限出错

Open
#776 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
3.9k
Forks
288
PR merge metrics
No merged PRs in 30d

Description

报错的日志信息如下:
WriteSubFile2VideoPath,/media/movie/Lawrence of Arabia (1962)/Lawrence of Arabia (1962) Bluray-720p.mkv,open /media/movie/Lawrence of Arabia (1962)/Lawrence of Arabia (1962) Bluray-720p.zh.srt: permission denied

## 你使用的 chinesesubfinder 是什么版本,什么环境?

> chinesesubfinder 版本: v0.55.3 Lite
>
> 环境: docker

## 你遇到什么问题了?

运行都正常,但是写入字幕的时候提示权限出错
报错信息:
WriteSubFile2VideoPath,/media/movie/Lawrence of Arabia (1962)/Lawrence of Arabia (1962) Bluray-720p.mkv,open /media/movie/Lawrence of Arabia (1962)/Lawrence of Arabia (1962) Bluray-720p.zh.srt: permission denied

## 你的问题弄重现嘛?

> 一直重现

## 你期望的结果

> 描述以下你期望的结果

## 给出当前程序的配置文件

```json
{
"SpeedDevMode": false,
"user_info": {
"username": "",
"password": ""
},
"common_settings": {
"interval_or_assign_or_custom": 0,
"scan_interval": "@every 6h",
"threads": 6,
"run_scan_at_start_up": false,
"movie_paths": ["/media/movie"],
"series_paths": ["/media/tv"],
"local_static_file_port": "19037"
},
"subtitle_sources": {
"assrt_settings": {
"enabled": false,
"token": ""
},
"subtitle_best_settings": {
"enabled": true,
"api_key": ""
}
},
"advanced_settings": {
"proxy_settings": {
"use_proxy": false,
"use_which_proxy_protocol": "http",
"local_http_proxy_server_port": "19036",
"input_proxy_address": "192.168.88.202",
"input_proxy_port": "8888",
"need_pwd": false,
"input_proxy_username": "",
"input_proxy_password": ""
},
"tmdb_api_settings": {
"enable": false,
"api_key": "",
"use_alternate_base_url": false
},
"debug_mode": false,
"save_full_season_tmp_subtitles": false,
"sub_type_priority": 0,
"sub_name_formatter": 1,
"save_multi_sub": false,
"custom_video_exts": [],
"fix_time_line": true,
"topic": 1,
"suppliers_settings": {
"xunlei": {
"name": "xunlei",
"root_url": "http://sub.xmp.sandai.net:8000/subxl/%s.json",
"search_url": "",
"daily_download_limit": -1
},
"shooter": {
"name": "shooter",
"root_url": "https://www.shooter.cn/api/subapi.php",
"search_url": "",
"daily_download_limit": -1
},
"assrt": {
"name": "assrt",
"root_url": "https://api.assrt.net/v1",
"search_url": "",
"daily_download_limit": -1
},
"a4k": {
"name": "a4k",
"root_url": "https://www.a4k.net",
"search_url": "/search?keyword=",
"daily_download_limit": -1
},
"subhd": {
"name": "subhd",
"root_url": "https://subhd.tv",
"search_url": "/search/%s",
"daily_download_limit": 20
},
"zimuku": {
"name": "zimuku",
"root_url": "https://zimuku.org",
"search_url": "/search?q=%s",
"daily_download_limit": 20
},
"subtitle_best": {
"name": "subtitle_best",
"root_url": "https://api.subtitle.best/share-sub/v1",
"search_url": "/search-movie",
"daily_download_limit": -1
}
},
"scan_logic": {
"skip_chinese_movie": true,
"skip_chinese_series": true
},
"task_queue": {
"max_retry_times": 3,
"one_job_time_out": 300,
"interval": 10,
"expiration_time": 90,
"download_sub_during_x_days": 7,
"one_sub_download_interval": 12,
"check_pulic_ip_target_site": ""
},
"download_file_cache": {
"ttl": 4320,
"unit": "hour"
}
},
"emby_settings": {
"enable": false,
"address_url": "",
"api_key": "",
"max_request_video_number": 500,
"skip_watched": false,
"movie_paths_mapping": {
"/media/movie": ""
},
"series_paths_mapping": {
"/media/tv": ""
},
"auto_or_manual": true,
"threads": 6
},
"developer_settings": {
"enable": false,
"bark_server_address": ""
},
"timeline_fixer_settings": {
"max_offset_time": 700,
"min_offset": 0.2,
"thread_count": 5
},
"experimental_function": {
"auto_change_sub_encode": {
"enable": false,
"des_encode_type": 0
},
"chs_cht_changer": {
"enable": false,
"des_chinese_language_type": 0
},
"remote_chrome_settings": {
"enable": false,
"remote_docker_url": "",
"remote_adblock_path": "",
"remote_user_data_dir": ""
},
"api_key_settings": {
"enabled": false,
"key": ""
},
"local_chrome_settings": {
"enabled": false,
"local_chrome_exe_f_path": ""
},
"share_sub_settings": {
"share_sub_enabled": false
},
"extend_log": {
"SysLog": {
"enable": false,
"network": "",
"address": "",
"priority": 0,
"tag": ""
}
}
}
}

## 如果是使用 Docker,请给出对应的配置信息

> 比如 Docker-Compose 信息,如果是其他方式使用忽略

## 给出媒体文件夹的目录结构

目录结构

原始目录,该目录通过SMB的方式挂载到Debian12上,ChineseSub安装在该机器的Docker上
Vedio
Movie
TV

映射目录
media
movie
tv

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.