ChineseSubFinder / ChineseSubFinder

自动化中文字幕下载。字幕网站支持 shooter、xunlei、arrst、a4k、SubtitleBest 。支持 Emby、Jellyfin、Plex、Sonarr、Radarr、TMM
MIT License
3.52k stars 246 forks source link

开启Emby配置下,无法找到电视剧的文件夹位置 #245

Closed WenkeRen closed 2 years ago

WenkeRen commented 2 years ago

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

chinesesubfinder 版本: v0.21.0

环境: docker

你遇到什么问题了?

在开启Emby配置的情况下,无法找到文件夹的位置。 Emby没有使用docker而是在NAS上之间安装的应用,但有意思的是该情况并没有在电影搜索过程中出现,仅在电视剧搜索中出现。 在Chinesesubfinder的web端配置目录映射时,电影和电视剧都通过了检查。 我的series文件夹在创建的时候有一个typo但是也懒得改了,做这些映射的时候我都确认了没有写错名字。 看log文件感觉好像在搜索电视剧的字幕时软件试图访问的文件夹不对,他应该访问/media/seriers/而不是我在emby中显示的路径 不知是何问题,期待解答,另外十分感谢作者的辛苦付出!

你的问题弄重现嘛?

能够重新

你期望的结果

软件可以正常搜索电视剧的sub

给出当前程序的配置文件

/volume1/docker/chinesesubfinder/config:/config 下,ChineseSubFinderSettings.json,记得把你的用户名、密码、Emby API 敏感信息删除

可以复制上面的配置,使用类似在线 json 格式化的工具进行一次处理,方便阅读,JSON 在线解析及格式化验证 - JSON.cn

{
    "user_info":{
        "username":"xx",
        "password":"xx"
    },
    "common_settings":{
        "scan_interval":"24h",
        "threads":1,
        "run_scan_at_start_up":true,
        "movie_paths":[
            "/media/movie/"
        ],
        "series_paths":[
            "/media/seriers/"
        ]
    },
    "advanced_settings":{
        "proxy_settings":{
            "use_http_proxy":false,
            "http_proxy_address":""
        },
        "debug_mode":true,
        "save_full_season_tmp_subtitles":true,
        "sub_type_priority":0,
        "sub_name_formatter":0,
        "save_multi_sub":false,
        "custom_video_exts":[
            "avi"
        ],
        "fix_time_line":true,
        "topic":1
    },
    "emby_settings":{
        "enable":true,
        "address_url":"xx",
        "api_key":"xx",
        "max_request_video_number":5000,
        "skip_watched":true,
        "movie_paths_mapping":{
            "/media/movie/":"/share/Crab Nebula/movie/"
        },
        "series_paths_mapping":{
            "/media/seriers/":"/share/Crab Nebula/seriers/"
        }
    },
    "developer_settings":{
        "enable":false,
        "bark_server_address":""
    },
    "timeline_fixer_settings":{
        "max_offset_time":120,
        "min_offset":0.1
    },
    "experimental_function":{
        "auto_change_sub_encode":{
            "enable":false,
            "des_encode_type":0
        }
    }
}

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

docker create \
  --name=chinesesubfinder \
  -p 19035:19035 \
  -e PUID=1026 \
  -e PGID=100 \
  -e TZ=Asia/Shanghai \
  -v "/share/Container/chinese-sub-finder/config":/config \
  -v "/share/Container/chinese-sub-finder/cache":/app/cache \
  -v "/share/Crab Nebula":/media \
  --restart unless-stopped \
  allanpk716/chinesesubfinder

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

电影部分的下载似乎是没问题的,电影很多就不全部复制了

[INFO]: 2022-03-13 16:21:27 - Download Movie Sub Started... [INFO]: 2022-03-13 16:21:27 - Movie Sub Dl From Emby API... [DEBUG]: 2022-03-13 16:21:27 - Index: 0 baseFuncHandler wg.Add() [DEBUG]: 2022-03-13 16:21:27 - Index: 0 Invoke inputDataMap Lock() [DEBUG]: 2022-03-13 16:21:27 - Index: 0 Invoke inputDataMap UnLock() [DEBUG]: 2022-03-13 16:21:27 - Index: 1 baseFuncHandler wg.Add() [DEBUG]: 2022-03-13 16:21:27 - Index: 0 baseFuncHandler cancelMapLock Lock() [DEBUG]: 2022-03-13 16:21:28 - Index: 0 baseFuncHandler cancelMapLock UnLock() [ERROR]: 2022-03-13 16:21:28 - getImdbAndYearMovieXml error, move on: open /media/movie/Do the Right Thing (1989)/movie.xml: permission denied [WARNING]: 2022-03-13 16:21:28 - SkipChineseMovie /media/movie/Do the Right Thing (1989)/Do the Right Thing (1989) Bluray-720p.mkv open /media/movie/Do the Right Thing (1989)/Do the Right Thing (1989) Bluray-720p.nfo: permission denied [INFO]: 2022-03-13 16:21:28 - Queue 0 DlSub Start /media/movie/Do the Right Thing (1989)/Do the Right Thing (1989) Bluray-720p.mkv [INFO]: 2022-03-13 16:21:28 - Queue 0 xunlei Start... [DEBUG]: 2022-03-13 16:21:28 - xunlei /media/movie/Do the Right Thing (1989)/Do the Right Thing (1989) Bluray-720p.mkv Start... [DEBUG]: 2022-03-13 16:21:28 - xunlei /media/movie/Do the Right Thing (1989)/Do the Right Thing (1989) Bluray-720p.mkv End... [INFO]: 2022-03-13 16:21:28 - Queue 0 xunlei End... [ERROR]: 2022-03-13 16:21:28 - Queue 0 xunlei oneMovieDlSubInOneSite cid is empty [INFO]: 2022-03-13 16:21:28 - Queue 0 zimuku Start... [DEBUG]: 2022-03-13 16:21:28 - zimuku /media/movie/Do the Right Thing (1989)/Do the Right Thing (1989) Bluray-720p.mkv Start... [INFO]: 2022-03-13 16:21:28 - Queue 0 shooter Start... [DEBUG]: 2022-03-13 16:21:28 - shooter /media/movie/Do the Right Thing (1989)/Do the Right Thing (1989) Bluray-720p.mkv Start... [DEBUG]: 2022-03-13 16:21:28 - shooter /media/movie/Do the Right Thing (1989)/Do the Right Thing (1989) Bluray-720p.mkv End... [DEBUG]: 2022-03-13 16:21:28 - zimuku /media/movie/Do the Right Thing (1989)/Do the Right Thing (1989) Bluray-720p.mkv GetVideoInfoFromFileFullPath -> Title: Do the Right Thing [ERROR]: 2022-03-13 16:21:28 - getImdbAndYearMovieXml error, move on: open /media/movie/Do the Right Thing (1989)/movie.xml: permission denied [ERROR]: 2022-03-13 16:21:28 - model.GetImdbInfo open /media/movie/Do the Right Thing (1989)/Do the Right Thing (1989) Bluray-720p.nfo: permission denied [ERROR]: 2022-03-13 16:21:28 - VideoNameSearchKeywordMaker year to int strconv.Atoi: parsing "": invalid syntax [DEBUG]: 2022-03-13 16:21:28 - zimuku /media/movie/Do the Right Thing (1989)/Do the Right Thing (1989) Bluray-720p.mkv VideoNameSearchKeywordMaker Keyword: Do the Right Thing [INFO]: 2022-03-13 16:21:28 - Queue 0 subhd Start... [INFO]: 2022-03-13 16:21:28 - Queue 0 shooter End... [ERROR]: 2022-03-13 16:21:28 - Queue 0 shooter oneMovieDlSubInOneSite open /media/movie/Do the Right Thing (1989)/Do the Right Thing (1989) Bluray-720p.mkv: permission denied [ERROR]: 2022-03-13 16:21:28 - getImdbAndYearMovieXml error, move on: open /media/movie/Do the Right Thing (1989)/movie.xml: permission denied [ERROR]: 2022-03-13 16:21:28 - model.GetImdbInfo open /media/movie/Do the Right Thing (1989)/Do the Right Thing (1989) Bluray-720p.nfo: permission denied [ERROR]: 2022-03-13 16:21:28 - VideoNameSearchKeywordMaker year to int strconv.Atoi: parsing "": invalid syntax [DEBUG]: 2022-03-13 16:21:31 - zimuku getSubListFromKeyword -> step0 -> filmDetailPageUrl: /subs/50807.html [DEBUG]: 2022-03-13 16:21:32 - zimuku getSubListFromKeyword -> step1 -> subResult.Title: Do.the.Right.Thing.1989.limited.1080p.Bluray.X264-DIMENSION.chs.srt [DEBUG]: 2022-03-13 16:21:32 - zimuku getSubListFromKeyword -> step1 -> subResult.OtherName: [DEBUG]: 2022-03-13 16:21:32 - zimuku getSubListFromKeyword -> step1 -> info.Name 0 Do.the.Right.Thing.1989.REMASTERED.1080p.BluRay.x264-SiNNERS.chs [DEBUG]: 2022-03-13 16:21:32 - zimuku getSubListFromKeyword -> step1 -> info.DownloadUrl: 0 [DEBUG]: 2022-03-13 16:21:32 - zimuku getSubListFromKeyword -> step1 -> info.DetailUrl: 0 /detail/136455.html [DEBUG]: 2022-03-13 16:21:32 - zimuku getSubListFromKeyword -> step1 -> info.DownloadTimes: 0 1818 [DEBUG]: 2022-03-13 16:21:32 - zimuku getSubListFromKeyword -> step1 -> info.Name 1 Do.the.Right.Thing.1989.limited.1080p.Bluray.X264-DIMENSION.chs.srt [DEBUG]: 2022-03-13 16:21:32 - zimuku getSubListFromKeyword -> step1 -> info.DownloadUrl: 1 [DEBUG]: 2022-03-13 16:21:32 - zimuku getSubListFromKeyword -> step1 -> info.DetailUrl: 1 /detail/123842.html [DEBUG]: 2022-03-13 16:21:32 - zimuku getSubListFromKeyword -> step1 -> info.DownloadTimes: 1 2352 [DEBUG]: 2022-03-13 16:21:32 - zimuku getSubListFromKeyword -> step1 -> info.Name 2 Do.the.Right.Thing.1989.REMASTERED.1080p.BluRay.x264-SiNNERS.chs.ass [DEBUG]: 2022-03-13 16:21:32 - zimuku getSubListFromKeyword -> step1 -> info.DownloadUrl: 2 [DEBUG]: 2022-03-13 16:21:32 - zimuku getSubListFromKeyword -> step1 -> info.DetailUrl: 2 /detail/141629.html [DEBUG]: 2022-03-13 16:21:32 - zimuku getSubListFromKeyword -> step1 -> info.DownloadTimes: 2 1314 [DEBUG]: 2022-03-13 16:21:32 - zimuku getSubListFromKeyword -> step1 -> info.Name 3 为所应为[8.0]Do.the.Right.Thing.1989.REMASTERED.1080p.BluRay.H264.AAC-RARBG_YDY.rar [DEBUG]: 2022-03-13 16:21:32 - zimuku getSubListFromKeyword -> step1 -> info.DownloadUrl: 3 [DEBUG]: 2022-03-13 16:21:32 - zimuku getSubListFromKeyword -> step1 -> info.DetailUrl: 3 /detail/150366.html [DEBUG]: 2022-03-13 16:21:32 - zimuku getSubListFromKeyword -> step1 -> info.DownloadTimes: 3 769 [DEBUG]: 2022-03-13 16:21:32 - zimuku getSubListFromKeyword -> step1 -> info.Name 4 [为所应为].Do.the.Right.Thing.1989.2160p.UHD.BluRay.x265.10bit.HDR.DTS-X.7.1-SWTYBLZ.srt [DEBUG]: 2022-03-13 16:21:32 - zimuku getSubListFromKeyword -> step1 -> info.DownloadUrl: 4 [DEBUG]: 2022-03-13 16:21:32 - zimuku getSubListFromKeyword -> step1 -> info.DetailUrl: 4 /detail/149952.html [DEBUG]: 2022-03-13 16:21:32 - zimuku getSubListFromKeyword -> step1 -> info.DownloadTimes: 4 765 [DEBUG]: 2022-03-13 16:21:32 - zimuku getSubListFromKeyword -> step1 -> info.Name 5 Do.the.Right.Thing.1989.REMASTERED.1080p.BluRay.x264-SiNNERS.cht.srt [DEBUG]: 2022-03-13 16:21:32 - zimuku getSubListFromKeyword -> step1 -> info.DownloadUrl: 5 [DEBUG]: 2022-03-13 16:21:32 - zimuku getSubListFromKeyword -> step1 -> info.DetailUrl: 5 /detail/128418.html [DEBUG]: 2022-03-13 16:21:32 - zimuku getSubListFromKeyword -> step1 -> info.DownloadTimes: 5 969 [DEBUG]: 2022-03-13 16:21:34 - zimuku whichSubInfoNeedDownload -> step2 -> info.SubDownloadPageUrl: 0 https://zmk.pw/dld/136455.html [DEBUG]: 2022-03-13 16:21:36 - zimuku whichSubInfoNeedDownload -> step2 -> info.SubDownloadPageUrl: 1 https://zmk.pw/dld/123842.html [ERROR]: 2022-03-13 16:21:38 - subhd keyword: Do the Right Thing [INFO]: 2022-03-13 16:21:38 - Queue 0 subhd End... [ERROR]: 2022-03-13 16:21:38 - Queue 0 subhd oneMovieDlSubInOneSite [launcher] Failed to get the debug url: [4701:4701:0313/162135.580077:ERROR:browser_main_loop.cc(1409)] Unable to open X display. [0313/082137.238525:ERROR:nacl_helper_linux.cc(307)] NaCl helper process running without a sandbox! Most likely you need to configure your SUID sandbox correctly

[DEBUG]: 2022-03-13 16:21:39 - zimuku whichSubInfoNeedDownload -> step2 -> info.SubDownloadPageUrl: 2 https://zmk.pw/dld/141629.html [DEBUG]: 2022-03-13 16:21:41 - zimuku whichSubInfoNeedDownload -> step2 -> info.SubDownloadPageUrl: 3 https://zmk.pw/dld/150366.html [DEBUG]: 2022-03-13 16:21:45 - zimuku whichSubInfoNeedDownload -> step2 -> info.SubDownloadPageUrl: 4 https://zmk.pw/dld/149952.html [DEBUG]: 2022-03-13 16:21:46 - zimuku whichSubInfoNeedDownload -> step2 -> info.SubDownloadPageUrl: 5 https://zmk.pw/dld/128418.html [DEBUG]: 2022-03-13 16:21:46 - zimuku step2 -> tmpSubInfo.Count 6 [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.Name: 0 Do.the.Right.Thing.1989.REMASTERED.1080p.BluRay.x264-SiNNERS.chs [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.DownloadUrl: 0 [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.DetailUrl: 0 /detail/136455.html [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.DownloadTimes: 0 1818 [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.SubDownloadPageUrl: 0 https://zmk.pw/dld/136455.html [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.Name: 1 Do.the.Right.Thing.1989.limited.1080p.Bluray.X264-DIMENSION.chs.srt [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.DownloadUrl: 1 [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.DetailUrl: 1 /detail/123842.html [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.DownloadTimes: 1 2352 [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.SubDownloadPageUrl: 1 https://zmk.pw/dld/123842.html [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.Name: 2 Do.the.Right.Thing.1989.REMASTERED.1080p.BluRay.x264-SiNNERS.chs.ass [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.DownloadUrl: 2 [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.DetailUrl: 2 /detail/141629.html [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.DownloadTimes: 2 1314 [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.SubDownloadPageUrl: 2 https://zmk.pw/dld/141629.html [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.Name: 3 为所应为[8.0]Do.the.Right.Thing.1989.REMASTERED.1080p.BluRay.H264.AAC-RARBG_YDY.rar [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.DownloadUrl: 3 [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.DetailUrl: 3 /detail/150366.html [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.DownloadTimes: 3 769 [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.SubDownloadPageUrl: 3 https://zmk.pw/dld/150366.html [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.Name: 4 [为所应为].Do.the.Right.Thing.1989.2160p.UHD.BluRay.x265.10bit.HDR.DTS-X.7.1-SWTYBLZ.srt [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.DownloadUrl: 4 [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.DetailUrl: 4 /detail/149952.html [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.DownloadTimes: 4 765 [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.SubDownloadPageUrl: 4 https://zmk.pw/dld/149952.html [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.Name: 5 Do.the.Right.Thing.1989.REMASTERED.1080p.BluRay.x264-SiNNERS.cht.srt [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.DownloadUrl: 5 [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.DetailUrl: 5 /detail/128418.html [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.DownloadTimes: 5 969 [DEBUG]: 2022-03-13 16:21:47 - zimuku ChineseSubs -> tmpSubInfo.SubDownloadPageUrl: 5 https://zmk.pw/dld/128418.html [DEBUG]: 2022-03-13 16:21:47 - zimuku step3 -> subInfo.SubDownloadPageUrl: 0 https://zmk.pw/dld/136455.html [WARNING]: 2022-03-13 16:21:51 - DownFile.GetFileName is string.empty https://zmk.pw/download/MTM2NDU1fGZlOTFmNzZmOTQ2ZTQ1NzQ2NGVmZjU1MXwxNjQ3MTU5NzA3fDMwYzFlNDQ0fHJlbW90ZQ%3D%3D/svr/dx1 [DEBUG]: 2022-03-13 16:21:51 - Step3,DownFile, FileName: DataLen: 1760 [DEBUG]: 2022-03-13 16:21:51 - zimuku step3 -> subInfo.SubDownloadPageUrl: 1 https://zmk.pw/dld/123842.html [WARNING]: 2022-03-13 16:21:54 - DownFile.GetFileName is string.empty https://zmk.pw/download/MTIzODQyfDRjMTkzYzY1YzExMjVhMjRiYTQ1NWYxNXwxNjQ3MTU5NzEyfDk0ZTY2NTZifHJlbW90ZQ%3D%3D/svr/dx1 [DEBUG]: 2022-03-13 16:21:54 - Step3,DownFile, FileName: DataLen: 1760 [DEBUG]: 2022-03-13 16:21:54 - zimuku step3 -> subInfo.SubDownloadPageUrl: 2 https://zmk.pw/dld/141629.html [WARNING]: 2022-03-13 16:21:55 - DownFile.GetFileName is string.empty https://zmk.pw/download/MTQxNjI5fGM5OGQzNWQ4ZDc4NDAzMThhZGNiMjZiN3wxNjQ3MTU5NzE0fDAzMGZhY2U2fHJlbW90ZQ%3D%3D/svr/dx1 [DEBUG]: 2022-03-13 16:21:55 - Step3,DownFile, FileName: DataLen: 1760 [DEBUG]: 2022-03-13 16:21:55 - zimuku step3 -> subInfo.SubDownloadPageUrl: 3 https://zmk.pw/dld/150366.html [WARNING]: 2022-03-13 16:21:58 - DownFile.GetFileName is string.empty https://zmk.pw/download/MTUwMzY2fDhmYzU5OWI0ZjlkZTkwNzRlNjNhZjc5OHwxNjQ3MTU5NzE2fDg4ZDg0NDQ1fHJlbW90ZQ%3D%3D/svr/dx1 [DEBUG]: 2022-03-13 16:21:58 - Step3,DownFile, FileName: DataLen: 1760 [DEBUG]: 2022-03-13 16:21:58 - zimuku step3 -> subInfo.SubDownloadPageUrl: 4 https://zmk.pw/dld/149952.html [WARNING]: 2022-03-13 16:22:04 - DownFile.GetFileName is string.empty https://zmk.pw/download/MTQ5OTUyfGI1NTM1NDI0MDUwZTdhOGEzZWQ4MmQzOXwxNjQ3MTU5NzE5fGJhMDIxZTNjfHJlbW90ZQ%3D%3D/svr/dx1 [DEBUG]: 2022-03-13 16:22:04 - Step3,DownFile, FileName: DataLen: 1760 [DEBUG]: 2022-03-13 16:22:04 - zimuku step3 -> subInfo.SubDownloadPageUrl: 5 https://zmk.pw/dld/128418.html [WARNING]: 2022-03-13 16:22:08 - DownFile.GetFileName is string.empty https://zmk.pw/download/MTI4NDE4fGNmYTMxODQ2ODMyYWQ1YjBhMDRmMDY4NHwxNjQ3MTU5NzI1fGExMmM3YTMzfHJlbW90ZQ%3D%3D/svr/dx1 [DEBUG]: 2022-03-13 16:22:08 - Step3,DownFile, FileName: DataLen: 1760 [DEBUG]: 2022-03-13 16:22:08 - zimuku step3 -> Downloaded File Info 0 FileName: FileUrl: https://zmk.pw/dld/136455.html [DEBUG]: 2022-03-13 16:22:08 - zimuku step3 -> Downloaded File Info 1 FileName: FileUrl: https://zmk.pw/dld/123842.html [DEBUG]: 2022-03-13 16:22:08 - zimuku step3 -> Downloaded File Info 2 FileName: FileUrl: https://zmk.pw/dld/141629.html [DEBUG]: 2022-03-13 16:22:08 - zimuku step3 -> Downloaded File Info 3 FileName: FileUrl: https://zmk.pw/dld/150366.html [DEBUG]: 2022-03-13 16:22:08 - zimuku step3 -> Downloaded File Info 4 FileName: FileUrl: https://zmk.pw/dld/149952.html [DEBUG]: 2022-03-13 16:22:08 - zimuku step3 -> Downloaded File Info 5 FileName: FileUrl: https://zmk.pw/dld/128418.html [DEBUG]: 2022-03-13 16:22:08 - zimuku /media/movie/Do the Right Thing (1989)/Do the Right Thing (1989) Bluray-720p.mkv getSubListFromKeyword -> Search By Keyword, subInfoList Count: 6 [DEBUG]: 2022-03-13 16:22:08 - zimuku /media/movie/Do the Right Thing (1989)/Do the Right Thing (1989) Bluray-720p.mkv End... [INFO]: 2022-03-13 16:22:08 - Queue 0 zimuku End... [DEBUG]: 2022-03-13 16:22:08 - Queue 0 OneMovieDlSubInAllSite get sub 0 Name: FileUrl: https://zmk.pw/dld/136455.html [DEBUG]: 2022-03-13 16:22:08 - Queue 0 OneMovieDlSubInAllSite get sub 1 Name: FileUrl: https://zmk.pw/dld/123842.html [DEBUG]: 2022-03-13 16:22:08 - Queue 0 OneMovieDlSubInAllSite get sub 2 Name: FileUrl: https://zmk.pw/dld/141629.html [DEBUG]: 2022-03-13 16:22:08 - Queue 0 OneMovieDlSubInAllSite get sub 3 Name: FileUrl: https://zmk.pw/dld/150366.html [DEBUG]: 2022-03-13 16:22:08 - Queue 0 OneMovieDlSubInAllSite get sub 4 Name: FileUrl: https://zmk.pw/dld/149952.html [DEBUG]: 2022-03-13 16:22:08 - Queue 0 OneMovieDlSubInAllSite get sub 5 Name: FileUrl: https://zmk.pw/dld/128418.html [INFO]: 2022-03-13 16:22:08 - Queue 0 DlSub End /media/movie/Do the Right Thing (1989)/Do the Right Thing (1989) Bluray-720p.mkv [DEBUG]: 2022-03-13 16:22:09 - OrganizeDlSubFiles -> IsSubExtWanted == false Name: _S0E0 FileUrl: https://zmk.pw/dld/136455.html [DEBUG]: 2022-03-13 16:22:09 - OrganizeDlSubFiles -> IsSubExtWanted == false Name: _S0E0 FileUrl: https://zmk.pw/dld/123842.html [DEBUG]: 2022-03-13 16:22:09 - OrganizeDlSubFiles -> IsSubExtWanted == false Name: _S0E0 FileUrl: https://zmk.pw/dld/141629.html [DEBUG]: 2022-03-13 16:22:09 - OrganizeDlSubFiles -> IsSubExtWanted == false Name: _S0E0 FileUrl: https://zmk.pw/dld/150366.html [DEBUG]: 2022-03-13 16:22:09 - OrganizeDlSubFiles -> IsSubExtWanted == false Name: _S0E0 FileUrl: https://zmk.pw/dld/149952.html [DEBUG]: 2022-03-13 16:22:09 - OrganizeDlSubFiles -> IsSubExtWanted == false Name: _S0E0 FileUrl: https://zmk.pw/dld/128418.html [INFO]: 2022-03-13 16:22:09 - no sub found Do the Right Thing (1989) Bluray-720p.mkv [DEBUG]: 2022-03-13 16:22:09 - Index: 0 baseFuncHandler cancelMapLock Lock() defer [DEBUG]: 2022-03-13 16:22:09 - Index: 0 baseFuncHandler cancelMapLock UnLock() defer [DEBUG]: 2022-03-13 16:22:09 - Index: 0 baseFuncHandler wg.Done()

电视剧部分的下载就开始出现问题了

[INFO]: 2022-03-13 16:41:20 - Download Movie Sub End... [INFO]: 2022-03-13 16:41:20 - Download Series Sub Started... [DEBUG]: 2022-03-13 16:41:20 - embyHelper seriesSubNeedDlMap Count: 59 [DEBUG]: 2022-03-13 16:41:20 - embyHelper seriesSubNeedDlMap: My Teen Romantic Comedy SNAFU [DEBUG]: 2022-03-13 16:41:20 - embyHelper seriesSubNeedDlMap: Danganronpa 3 - The End of Hope's Peak Academy Side - Despair [DEBUG]: 2022-03-13 16:41:20 - embyHelper seriesSubNeedDlMap: *balabala N** [DEBUG]: 2022-03-13 16:41:20 - Index: 0 baseFuncHandler wg.Add() [DEBUG]: 2022-03-13 16:41:20 - Index: 0 Invoke inputDataMap Lock() [DEBUG]: 2022-03-13 16:41:20 - Index: 0 Invoke inputDataMap UnLock() [DEBUG]: 2022-03-13 16:41:20 - Index: 1 baseFuncHandler wg.Add() [DEBUG]: 2022-03-13 16:41:20 - Index: 0 baseFuncHandler cancelMapLock Lock() [DEBUG]: 2022-03-13 16:41:20 - Index: 0 baseFuncHandler cancelMapLock UnLock()

[WARNING]: 2022-03-13 16:41:20 - SkipChineseSeries /share/Crab Nebula/seriers/My Teen Romantic Comedy SNAFU open /share/Crab Nebula/seriers/My Teen Romantic Comedy SNAFU: no such file or directory [ERROR]: 2022-03-13 16:41:20 - subSupplierHub.DownloadSub4Series My Teen Romantic Comedy SNAFU ReadSeriesInfoFromDir /share/Crab Nebula/seriers/My Teen Romantic Comedy SNAFU open /share/Crab Nebula/seriers/My Teen Romantic Comedy SNAFU: no such file or directory [ERROR]: 2022-03-13 16:41:20 - PollName: SeriesPool Index: 0 NewPoolWithFunc done with Error ReadSeriesInfoFromDir /share/Crab Nebula/seriers/My Teen Romantic Comedy SNAFU open /share/Crab Nebula/seriers/My Teen Romantic Comedy SNAFU: no such file or directory [DEBUG]: 2022-03-13 16:41:20 - Index: 0 baseFuncHandler cancelMapLock Lock() defer [DEBUG]: 2022-03-13 16:41:20 - Index: 0 baseFuncHandler cancelMapLock UnLock() defer [DEBUG]: 2022-03-13 16:41:20 - Index: 0 baseFuncHandler wg.Done() [DEBUG]: 2022-03-13 16:41:20 - Index: 1 Invoke inputDataMap Lock() [DEBUG]: 2022-03-13 16:41:20 - Index: 1 Invoke inputDataMap UnLock() [DEBUG]: 2022-03-13 16:41:20 - Index: 2 baseFuncHandler wg.Add() [DEBUG]: 2022-03-13 16:41:20 - Index: 1 baseFuncHandler cancelMapLock Lock() [DEBUG]: 2022-03-13 16:41:20 - Index: 1 baseFuncHandler cancelMapLock UnLock() [WARNING]: 2022-03-13 16:41:20 - SkipChineseSeries /share/Crab Nebula/seriers/Danganronpa 3 - The End of Hope's Peak Academy Side - Despair open /share/Crab Nebula/seriers/Danganronpa 3 - The End of Hope's Peak Academy Side - Despair: no such file or directory [ERROR]: 2022-03-13 16:41:20 - subSupplierHub.DownloadSub4Series Danganronpa 3 - The End of Hope's Peak Academy Side - Despair ReadSeriesInfoFromDir /share/Crab Nebula/seriers/Danganronpa 3 - The End of Hope's Peak Academy Side - Despair open /share/Crab Nebula/seriers/Danganronpa 3 - The End of Hope's Peak Academy Side - Despair: no such file or directory [ERROR]: 2022-03-13 16:41:20 - PollName: SeriesPool Index: 1 NewPoolWithFunc done with Error ReadSeriesInfoFromDir /share/Crab Nebula/seriers/Danganronpa 3 - The End of Hope's Peak Academy Side - Despair open /share/Crab Nebula/seriers/Danganronpa 3 - The End of Hope's Peak Academy Side - Despair: no such file or directory [DEBUG]: 2022-03-13 16:41:20 - Index: 1 baseFuncHandler cancelMapLock Lock() defer [DEBUG]: 2022-03-13 16:41:20 - Index: 1 baseFuncHandler cancelMapLock UnLock() defer [DEBUG]: 2022-03-13 16:41:20 - Index: 1 baseFuncHandler wg.Done() [DEBUG]: 2022-03-13 16:41:20 - Index: 2 Invoke inputDataMap Lock() [DEBUG]: 2022-03-13 16:41:20 - Index: 2 Invoke inputDataMap UnLock() [DEBUG]: 2022-03-13 16:41:20 - Index: 3 baseFuncHandler wg.Add() [DEBUG]: 2022-03-13 16:41:20 - Index: 2 baseFuncHandler cancelMapLock Lock() [DEBUG]: 2022-03-13 16:41:20 - Index: 2 baseFuncHandler cancelMapLock UnLock() 完全相同的报错重复

[DEBUG]: 2022-03-13 16:41:20 - Index: 58 baseFuncHandler cancelMapLock Lock() defer [DEBUG]: 2022-03-13 16:41:20 - Index: 58 baseFuncHandler cancelMapLock UnLock() defer [DEBUG]: 2022-03-13 16:41:20 - Index: 58 baseFuncHandler wg.Done() [INFO]: 2022-03-13 16:41:20 - -------------------------------------- [INFO]: 2022-03-13 16:41:20 - successList 0 [INFO]: 2022-03-13 16:41:20 - -------------------------------------- [INFO]: 2022-03-13 16:41:20 - noExecuteList 0 [INFO]: 2022-03-13 16:41:20 - -------------------------------------- [INFO]: 2022-03-13 16:41:20 - errorList 59

[INFO]: 2022-03-13 16:41:20 - -------------------------------------- [INFO]: 2022-03-13 16:41:20 - Download Series Sub End...

附上相关配置截图 image image 上图的路径检查是可以通过的,可以正常保存

以及在emby上可以看到路径,都是没错的 image

allanpk716 commented 2 years ago

你需要截图你连续剧的目录结构看看,类似

截图1

image

截图2

image

截图3

image

allanpk716 commented 2 years ago

或者说,目前只能(也只打算)识别这样的连续剧目录结构,且每个下面有对应的 nfo 文件。

WenkeRen commented 2 years ago

或者说,目前只能(也只打算)识别这样的连续剧目录结构,且每个下面有对应的 nfo 文件。

这个我有看过您写的相关说明,我是使用sonarr自动管理的,目录完全符合软件的要求: image image 这是我给出的两个报错对应的文件夹结构,nfo文件也都是有的(虽然我不太确定是sonarr创建的还是emby创建的)

我不知道您是否对我提到的路径问题有注意过,我注意到在log中涉及到电影部分的log完全没有出现/share/Crab Nebula/这个路径结构,涉及到文件内容时出现的都是docker内部路径即/media/movie/,这是合理的,但是电视剧部分的报错全是/share/Crab Nebula/的no such file or directory,这个路径时我NAS系统的路径而不是subfinder的docker中设置的路径。

chinesesubfinder我使用的是docker,而emby不是docker,而是我的NAS上应用商店安装的,所以emby上面显示的电视剧/电影文件路径就是NAS系统的路径也就是/share/Crab Nebula/seriers(movie)。 在制作subfinder的docker的时候我把/share/Crab Nebula/映射到了docker的/media/文件夹下面,根据我的理解,subfinder运行时检索的路径结构也应该都是/media/seriers(movie)这样的,如果软件去找/share/Crab Nebula/这个路径肯定是找不到的。

我觉得或许问题主要在这里?但我不知道改如何修正。十分感谢您的回复!

allanpk716 commented 2 years ago

看看 #241 ,是否是网络路径的问题导致的

WenkeRen commented 2 years ago

因为我的情况比较特殊,当时偷懒没有给emby搭建docker环境,直接用了现成的app,因此emby那边的路径和nas上完全互通,不需要路径映射或者网络文件夹, #241 那个的确和我这个情况不太相同,而且我是movie不报错只有series报错,所以我倾向于认为不知道什么原因,series相关代码可能在执行过程中把emby使用的路径字符串直接当作本地的路径字符串了。不过很遗憾我不太熟悉go语言,不太方便调试,但基于这个思路我找到了一个很简单的解决方案。我直接在docker上面重新装了镜像,这次我把docker里面的路径(原来是默认的/media/映射到/share/Crab Nebula/)替换成了和NAS上面一样的路径(即/share/Crab Nebula/映射到/share/Crab Nebula/),然后再跑就不会出现上面的报错了,以供参考😊

docker create \
  --name=chinesesubfinder \
  -p 19035:19035 \
  -e PUID=1026 \
  -e PGID=100 \
  -e TZ=Asia/Shanghai \
  -v "/share/Container/chinese-sub-finder/config":/config \
  -v "/share/Container/chinese-sub-finder/cache":/app/cache \
  (删除)-v "/share/Crab Nebula":/media \ (删除) --->   -v "/share/Crab Nebula":"/share/Crab Nebula" \
  --restart unless-stopped \
  allanpk716/chinesesubfinder