Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported protocol scheme #475

Open
csu97 opened this issue Aug 31, 2022 · 7 comments
Open

Unsupported protocol scheme #475

csu97 opened this issue Aug 31, 2022 · 7 comments

Comments

@csu97
Copy link

csu97 commented Aug 31, 2022

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

0.38.4
docker

你遇到什么问题了?

无法开始下载字幕

你的问题弄重现嘛?

能够重现

给出当前程序的配置文件

{
"SpeedDevMode":false,
"user_info":{
"username":"",
"password":""
},
"common_settings":{
"interval_or_assign_or_custom":0,
"scan_interval":"@every 6h",
"threads":3,
"run_scan_at_start_up":true,
"movie_paths":[
"/media/电影/"
],
"series_paths":[
"/media/国产剧"
],
"local_static_file_port":"19037"
},
"subtitle_sources":{
"assrt_settings":{
"enabled":true,
"token":"AxTMUFErbpgDddce6hwLoW6dhgJwMcZE"
}
},
"advanced_settings":{
"proxy_settings":{
"use_proxy":false,
"use_which_proxy_protocol":"http",
"local_http_proxy_server_port":"19036",
"input_proxy_address":"127.0.0.1",
"input_proxy_port":"10809",
"need_pwd":false,
"input_proxy_username":"",
"input_proxy_password":""
},
"debug_mode":false,
"save_full_season_tmp_subtitles":false,
"sub_type_priority":0,
"sub_name_formatter":0,
"save_multi_sub":false,
"custom_video_exts":[

    ],
    "fix_time_line":true,
    "topic":1,
    "suppliers_settings":{
        "csf":{
            "name":"csf",
            "root_url":"haha",
            "daily_download_limit":-1
        },
        "xunlei":{
            "name":"xunlei",
            "root_url":"http://sub.xmp.sandai.net:8000/subxl/%s.json",
            "daily_download_limit":20
        },
        "shooter":{
            "name":"shooter",
            "root_url":"https://www.shooter.cn/api/subapi.php",
            "daily_download_limit":20
        },
        "subhd":{
            "name":"subhd",
            "root_url":"https://subhd.tv",
            "daily_download_limit":20
        },
        "zimuku":{
            "name":"zimuku",
            "root_url":"https://zimuku.org",
            "daily_download_limit":20
        },
        "assrt":{
            "name":"assrt",
            "root_url":"https://api.assrt.net/v1",
            "daily_download_limit":20
        },
        "a4k":{
            "name":"a4k",
            "root_url":"https://www.a4k.net",
            "daily_download_limit":20
        }
    },
    "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":true,
    "address_url":"192.168.1.205",
    "api_key":"4e02ee7e3d174289bc13d6701adb2fc9",
    "max_request_video_number":3000,
    "skip_watched":true,
    "movie_paths_mapping":{
        "/media/电影/":""
    },
    "series_paths_mapping":{
        "/media/国产剧":""
    },
    "auto_or_manual":true,
    "threads":3
},
"developer_settings":{
    "enable":false,
    "bark_server_address":""
},
"timeline_fixer_settings":{
    "max_offset_time":700,
    "min_offset":0.2
},
"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":true,
        "key":"c0687ee1-612f-4c16-b93e-69253a269e3a"
    },
    "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":""
        }
    }
}

}

请给出当次问题的完整日志

[ERROR]: 2022-08-31 19:35:26 - d.embyHelper.IsVideoPlayed() /media/电影/外语电影/情书 (1995)/情书 (1995) - 1080p.mp4 Get "//%2F192.168.1.205%2Femby%2FUsers%2FQuery%3Fapi_key=+447cd9dbc977416e9ac5515d5b33d994/192.168.1.205/emby/Users/Query?api_key=+447cd9dbc977416e9ac5515d5b33d994": unsupported protocol scheme ""
[ERROR]: 2022-08-31 19:35:41 - d.embyHelper.IsVideoPlayed() /media/电影/外语电影/情书 (1995)/情书 (1995) - 1080p.mp4 Get "//%2F192.168.1.205%2Femby%2FUsers%2FQuery%3Fapi_key=+447cd9dbc977416e9ac5515d5b33d994/192.168.1.205/emby/Users/Query?api_key=+447cd9dbc977416e9ac5515d5b33d994": unsupported protocol scheme ""
[ERROR]: 2022-08-31 19:35:56 - d.embyHelper.IsVideoPlayed() /media/电影/外语电影/情书 (1995)/情书 (1995) - 1080p.mp4 Get "//%2F192.168.1.205%2Femby%2FUsers%2FQuery%3Fapi_key=+447cd9dbc977416e9ac5515d5b33d994/192.168.1.205/emby/Users/Query?api_key=+447cd9dbc977416e9ac5515d5b33d994": unsupported protocol scheme ""

@csu97
Copy link
Author

csu97 commented Aug 31, 2022

不做任何更改,有的时候可以下载,有时候不可以

@csu97
Copy link
Author

csu97 commented Aug 31, 2022

ChineseSubFinder.log

@allanpk716
Copy link
Collaborator

image

这里错了 http://xx.xx.xx.xx:xxx 格式

@csu97
Copy link
Author

csu97 commented Sep 1, 2022

Capture
在web ui上修改会提示不可以包含冒号,直接修改配置文件重启后可以正常运行,但是启动时会报错
[ERROR]: 2022-09-01 17:14:18 - SettingsHandler parse "192.168.1.205:8096": first path segment in URL cannot contain colon

image

之后正常启动,可以顺利连接emby了

@allanpk716
Copy link
Collaborator

@iMyon 帮看看这里提到的地址校验问题 😂

@iMyon
Copy link
Member

iMyon commented Sep 2, 2022

@iMyon 帮看看这里提到的地址校验问题 😂

前端其实偷懒没做URL规则验证,这个红色弹窗是API返回的message
图片

iMyon added a commit that referenced this issue Sep 2, 2022
Signed-off-by: Myon <myon.cn@gmail.com>
@csu97
Copy link
Author

csu97 commented Sep 2, 2022

在初始化配置的时候,填写端口是不会报错的,之后再在emby配置页面保存,就不会报错了。

但是如果在初始化配置的时候没有写端口,后续在emby配置页面填写端口,就会报错

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants