MPC-HC can't find any subtitle from OpenSubtitles
+2
freshcoffee
Admin
6 posters
Page 2 of 2
Page 2 of 2 • 1, 2
Re: MPC-HC can't find any subtitle from OpenSubtitles
I hope this result is from your version. If it is a portable version, than it should be, although the log is nearly the same.
- Code:
17:40:09.828 - SubtitlesInfo::GetFileInfo: GetFileInfo(): Deducing video information from file path
filePath="K:\Filmy\Seriály\Teorie velkého třesku\9\The.Big.Bang.Theory.S09E01.HDTV.x264-LOL.mp4"
fileName="The.Big.Bang.Theory.S09E01.HDTV.x264-LOL"
fileExtension="mp4"
fileSize=129717932
matchPattern=0
title="The Big Bang Theory"
country=""
year=-1
episode="S09E01"
seasonNumber=9
episodeNumber=1
title2=""
resolution=""
format="HDTV"
audioCodec=""
videoCodec="x264"
releaseGroup="LOL"
discNumber=-1 (SubtitlesProviders.cpp:435)
17:40:09.964 - OpenSubtitles::Login: ("")=OKx5jV3KoTMvayd2nqwR0mRs8Pf (SubtitlesProvider.cpp:96)
17:40:09.964 - OpenSubtitles::Hash: ()=0000000007bb56ac (SubtitlesProvider.cpp:124)
17:40:09.964 - OpenSubtitles::Hash: ()=129717932 (SubtitlesProvider.cpp:125)
17:40:09.964 - OpenSubtitles::Search: ("{ sublanguageid="all", moviehash="0000000007bb56ac", moviebytesize="129717932", limit=500 }") (SubtitlesProvider.cpp:147)
17:40:09.997 - OpenSubtitles::Search: 0 (SubtitlesProvider.cpp:191)
17:40:10.119 - podnapisi::Hash: ()=0000000007bb56ac (SubtitlesProvider.cpp:741)
17:40:10.119 - podnapisi::Search: ("https://www.podnapisi.net/ppodnapisi/search?sXML=1&sAKA=1&sK=The%20Big%20Bang%20Theory&sTS=9&sTE=1&sMH=0000000007bb56ac&page=1") (SubtitlesProvider.cpp:623)
17:40:10.370 - titlovi::Search: ("http://api.titlovi.com/xml_get_api.ashx?x-dev_api_id=X-DEV-DESKTOP_fie2a-a1Rsa-aHw4P&uiculture=en&forcefilename=true&mt=2&keyword=The%20Big%20Bang%20Theory&season=9&episode=1") (SubtitlesProvider.cpp:797)
17:40:10.621 - SubDB::Hash: ()=0dfbe8aa4c20b52e1b8bf3cb6cbdf193 (SubtitlesProvider.cpp:447)
17:40:10.621 - SubDB::Search: ("http://api.thesubdb.com/?action=search&hash=0dfbe8aa4c20b52e1b8bf3cb6cbdf193") (SubtitlesProvider.cpp:455)
17:40:10.684 - podnapisi::Search: ("https://www.podnapisi.net/ppodnapisi/search?sXML=1&sAKA=1&sK=The%20Big%20Bang%20Theory&sTS=9&sTE=1&sMH=0000000007bb56ac&page=2") (SubtitlesProvider.cpp:623)
17:40:11.122 - Napisy24::Hash: ()=0000000007bb56ac (SubtitlesProvider.cpp:1124)
17:40:11.122 - Napisy24::Search: ("http://napisy24.pl/run/CheckSubAgent.php?postAction=CheckSub&ua=mpc-hc&ap=mpc-hc&fh=0000000007bb56ac&fs=129717932&fn=The.Big.Bang.Theory.S09E01.HDTV.x264-LOL") (SubtitlesProvider.cpp:1050)
17:40:16.532 - OpenSubtitles::LogOut: () (SubtitlesProvider.cpp:110)
reilk- Posts : 7
Join date : 2017-05-24
Re: MPC-HC can't find any subtitle from OpenSubtitles
This confirms that the problem is with the calculation of the hash. Now I need to figure out why it doesn't work properly on your system.
Re: MPC-HC can't find any subtitle from OpenSubtitles
It has the same log, it is version 1.7.11.24, same as before.
- Code:
18:53:46.995 - SubtitlesInfo::GetFileInfo: GetFileInfo(): Deducing video information from file path
filePath="K:\Filmy\Seriály\Teorie velkého třesku\9\The.Big.Bang.Theory.S09E01.HDTV.x264-LOL.mp4"
fileName="The.Big.Bang.Theory.S09E01.HDTV.x264-LOL"
fileExtension="mp4"
fileSize=129717932
matchPattern=0
title="The Big Bang Theory"
country=""
year=-1
episode="S09E01"
seasonNumber=9
episodeNumber=1
title2=""
resolution=""
format="HDTV"
audioCodec=""
videoCodec="x264"
releaseGroup="LOL"
discNumber=-1 (SubtitlesProviders.cpp:435)
18:53:47.138 - OpenSubtitles::Login: ("")=u3AjNhaih5c57fIHOXyCkVu7K97 (SubtitlesProvider.cpp:96)
18:53:47.138 - HashTest: file reader (SubtitlesProvider.cpp:147)
18:53:47.138 - OpenSubtitles::Hash: ()=0000000007bb56ac (SubtitlesProvider.cpp:170)
18:53:47.138 - OpenSubtitles::Search: ("{ sublanguageid="all", moviehash="0000000007bb56ac", moviebytesize="129717932", limit=500 }") (SubtitlesProvider.cpp:192)
18:53:47.177 - OpenSubtitles::Search: 0 (SubtitlesProvider.cpp:236)
18:53:47.280 - podnapisi::Hash: ()=0000000007bb56ac (SubtitlesProvider.cpp:786)
18:53:47.280 - podnapisi::Search: ("https://www.podnapisi.net/ppodnapisi/search?sXML=1&sAKA=1&sK=The%20Big%20Bang%20Theory&sTS=9&sTE=1&sMH=0000000007bb56ac&page=1") (SubtitlesProvider.cpp:668)
18:53:47.530 - titlovi::Search: ("http://api.titlovi.com/xml_get_api.ashx?x-dev_api_id=X-DEV-DESKTOP_fie2a-a1Rsa-aHw4P&uiculture=en&forcefilename=true&mt=2&keyword=The%20Big%20Bang%20Theory&season=9&episode=1") (SubtitlesProvider.cpp:842)
18:53:47.782 - SubDB::Hash: ()=0dfbe8aa4c20b52e1b8bf3cb6cbdf193 (SubtitlesProvider.cpp:492)
18:53:47.782 - SubDB::Search: ("http://api.thesubdb.com/?action=search&hash=0dfbe8aa4c20b52e1b8bf3cb6cbdf193") (SubtitlesProvider.cpp:500)
18:53:47.822 - podnapisi::Search: ("https://www.podnapisi.net/ppodnapisi/search?sXML=1&sAKA=1&sK=The%20Big%20Bang%20Theory&sTS=9&sTE=1&sMH=0000000007bb56ac&page=2") (SubtitlesProvider.cpp:668)
18:53:48.282 - Napisy24::Hash: ()=0000000007bb56ac (SubtitlesProvider.cpp:1169)
18:53:48.282 - Napisy24::Search: ("http://napisy24.pl/run/CheckSubAgent.php?postAction=CheckSub&ua=mpc-hc&ap=mpc-hc&fh=0000000007bb56ac&fs=129717932&fn=The.Big.Bang.Theory.S09E01.HDTV.x264-LOL") (SubtitlesProvider.cpp:1095)
18:53:51.966 - OpenSubtitles::LogOut: () (SubtitlesProvider.cpp:110)
reilk- Posts : 7
Join date : 2017-05-24
Re: MPC-HC can't find any subtitle from OpenSubtitles
You can ignore the version number of these test builds.
The problem appears to be that it fails to open the file to read the data that is used for the hash.
The problem appears to be that it fails to open the file to read the data that is used for the hash.
Re: MPC-HC can't find any subtitle from OpenSubtitles
OK, I downloaded the file again and the log is different now (in different order at least). Maybe I did some mistake before.
- Code:
19:03:17.718 - OpenSubtitles::LogOut: () (SubtitlesProvider.cpp:110)
19:03:29.969 - SubtitlesInfo::GetFileInfo: GetFileInfo(): Deducing video information from file path
filePath="K:\Filmy\Seriály\Teorie velkého třesku\9\The.Big.Bang.Theory.S09E01.HDTV.x264-LOL.mp4"
fileName="The.Big.Bang.Theory.S09E01.HDTV.x264-LOL"
fileExtension="mp4"
fileSize=129717932
matchPattern=0
title="The Big Bang Theory"
country=""
year=-1
episode="S09E01"
seasonNumber=9
episodeNumber=1
title2=""
resolution=""
format="HDTV"
audioCodec=""
videoCodec="x264"
releaseGroup="LOL"
discNumber=-1 (SubtitlesProviders.cpp:435)
19:03:30.250 - podnapisi::Hash: ()=0000000007bb56ac (SubtitlesProvider.cpp:786)
19:03:30.250 - podnapisi::Search: ("https://www.podnapisi.net/ppodnapisi/search?sXML=1&sAKA=1&sK=The%20Big%20Bang%20Theory&sTS=9&sTE=1&sMH=0000000007bb56ac&page=1") (SubtitlesProvider.cpp:668)
19:03:30.501 - titlovi::Search: ("http://api.titlovi.com/xml_get_api.ashx?x-dev_api_id=X-DEV-DESKTOP_fie2a-a1Rsa-aHw4P&uiculture=en&forcefilename=true&mt=2&keyword=The%20Big%20Bang%20Theory&season=9&episode=1") (SubtitlesProvider.cpp:842)
19:03:30.754 - SubDB::Hash: ()=0dfbe8aa4c20b52e1b8bf3cb6cbdf193 (SubtitlesProvider.cpp:492)
19:03:30.754 - SubDB::Search: ("http://api.thesubdb.com/?action=search&hash=0dfbe8aa4c20b52e1b8bf3cb6cbdf193") (SubtitlesProvider.cpp:500)
19:03:30.862 - podnapisi::Search: ("https://www.podnapisi.net/ppodnapisi/search?sXML=1&sAKA=1&sK=The%20Big%20Bang%20Theory&sTS=9&sTE=1&sMH=0000000007bb56ac&page=2") (SubtitlesProvider.cpp:668)
19:03:31.255 - Napisy24::Hash: ()=0000000007bb56ac (SubtitlesProvider.cpp:1169)
19:03:31.255 - Napisy24::Search: ("http://napisy24.pl/run/CheckSubAgent.php?postAction=CheckSub&ua=mpc-hc&ap=mpc-hc&fh=0000000007bb56ac&fs=129717932&fn=The.Big.Bang.Theory.S09E01.HDTV.x264-LOL") (SubtitlesProvider.cpp:1095)
19:03:31.391 - OpenSubtitles::Login: ("")=VbipT,Qi5ZF8xiec-eVvL6uNhca (SubtitlesProvider.cpp:96)
19:03:31.391 - HashTest: file reader (SubtitlesProvider.cpp:147)
19:03:31.391 - OpenSubtitles::Hash: ()=0000000007bb56ac (SubtitlesProvider.cpp:170)
19:03:31.391 - OpenSubtitles::Search: ("{ sublanguageid="all", moviehash="0000000007bb56ac", moviebytesize="129717932", limit=500 }") (SubtitlesProvider.cpp:192)
19:03:31.993 - OpenSubtitles::Search: 0 (SubtitlesProvider.cpp:236)
19:03:38.452 - OpenSubtitles::LogOut: () (SubtitlesProvider.cpp:110)
reilk- Posts : 7
Join date : 2017-05-24
Re: MPC-HC can't find any subtitle from OpenSubtitles
This may work, or display error message with cause of the failure:
https://www.sendspace.com/file/5xoo9u
https://www.sendspace.com/file/5xoo9u
Re: MPC-HC can't find any subtitle from OpenSubtitles
Ah, such an easy problem, I should have try that.
The problem is with the incorrect path to the video file. I am not english speeking person and I use czech language special diacritic in folder names. So when the file is in such a folder, subtitles are not working. if I place the file into another folder without special alphabet signs, it works perfectly.
I just wonder why there was no problem in the previous stable version.
Thank you so much for your help
The problem is with the incorrect path to the video file. I am not english speeking person and I use czech language special diacritic in folder names. So when the file is in such a folder, subtitles are not working. if I place the file into another folder without special alphabet signs, it works perfectly.
I just wonder why there was no problem in the previous stable version.
Thank you so much for your help
Last edited by reilk on Thu May 25, 2017 6:43 pm; edited 1 time in total
reilk- Posts : 7
Join date : 2017-05-24
Re: MPC-HC can't find any subtitle from OpenSubtitles
I will see if I can make it work for all folder names. I may have another test build for you later.
Re: MPC-HC can't find any subtitle from OpenSubtitles
I'm returning here to give feedback about my solution for this issue.
I guess my issue was caused by Windows 7. When i started to use Windows 10 everything began to work properly.
I guess my issue was caused by Windows 7. When i started to use Windows 10 everything began to work properly.
phoenix- Posts : 11
Join date : 2017-01-19
Re: MPC-HC can't find any subtitle from OpenSubtitles
It is not fixed. I am using windows 10 x64 20H2 and K-Lite_Codec_Pack_1595_Full. I have never seen in my life opensubtitles to be working in klitecodecpack (mpchc). Either because I only started using it in last few years or because it never worked.
I tried current version both full and mega. It does not even try to contact opensubtitles server, nothing displayed in Proxifier. Only tries to contact www.podnapisi.net and api.thesubdb.com. And only always finds subtitles on podnapisi. While connection is refused on thesubdb probably because my ip banned or something else unrelated to app. I just installed that new version and removed all old including settings. But it did not even work with any older version ever as far as I remember. Tried changing OS, IP, nothing fixed this. opensubtitles.org and opensubtitles.com work perfectly fine in all my browsers, with and without logging in, with same or different IP.
Here is log:
I tried current version both full and mega. It does not even try to contact opensubtitles server, nothing displayed in Proxifier. Only tries to contact www.podnapisi.net and api.thesubdb.com. And only always finds subtitles on podnapisi. While connection is refused on thesubdb probably because my ip banned or something else unrelated to app. I just installed that new version and removed all old including settings. But it did not even work with any older version ever as far as I remember. Tried changing OS, IP, nothing fixed this. opensubtitles.org and opensubtitles.com work perfectly fine in all my browsers, with and without logging in, with same or different IP.
Here is log:
- Code:
22:10:25.074 - SubtitlesInfo::GetFileInfo: GetFileInfo(): Deducing video information from file path
filePath="D:\file\download\shrek.2.2004.1080p.bluray.x264.yify.mp4"
fileName="shrek.2.2004.1080p.bluray.x264.yify"
fileExtension="mp4"
fileSize=471820588
matchPattern=0
title="shrek 2"
country=""
year=2004
episode=""
seasonNumber=-1
episodeNumber=-1
title2=""
resolution="1080p"
format="bluray"
audioCodec=""
videoCodec="x264"
releaseGroup="yify"
discNumber=-1 (Z:\Projects\mpc-hc_klcp\src\mpc-hc\SubtitlesProviders.cpp:433)
22:10:25.338 - podnapisi::Hash: ()=fb8b082bd9d9cf8e (Z:\Projects\mpc-hc_klcp\src\mpc-hc\SubtitlesProvider.cpp:835)
22:10:25.338 - podnapisi::Search: ("https://www.podnapisi.net/ppodnapisi/search?sXML=1&sAKA=1&sK=shrek%202&sY=2004&sMH=fb8b082bd9d9cf8e&sL=en,bs,hr&page=1") (Z:\Projects\mpc-hc_klcp\src\mpc-hc\SubtitlesProvider.cpp:717)
22:10:25.590 - SubDB::Hash: ()=2ad1d831dc453052a260ceb43c0fc858 (Z:\Projects\mpc-hc_klcp\src\mpc-hc\SubtitlesProvider.cpp:512)
22:10:25.591 - SubDB::Search: ("http://api.thesubdb.com/?action=search&hash=2ad1d831dc453052a260ceb43c0fc858") (Z:\Projects\mpc-hc_klcp\src\mpc-hc\SubtitlesProvider.cpp:524)
StickyCommentator- Posts : 2
Join date : 2021-01-06
Re: MPC-HC can't find any subtitle from OpenSubtitles
Searching OpenSubtitles through it API only works with an account created at opensubtitles.org
MPC-HC options > Subtitles > Misc > Right-click on OpenSubtitles > Setup
MPC-HC options > Subtitles > Misc > Right-click on OpenSubtitles > Setup
Re: MPC-HC can't find any subtitle from OpenSubtitles
Oh thanks! Now it works for the first time! Never knew it could be right clicked!
StickyCommentator- Posts : 2
Join date : 2021-01-06
Re: MPC-HC can't find any subtitle from OpenSubtitles
Same problem here. Using MPC-HC 1.9.13.19 and can't get any subs from opensubtitles, only getting results from podnapisi. I AM logged in with opensubitles credentials in the setup section of the MPC-HC. The website downloads work fine.
closedsubtitles- Posts : 3
Join date : 2021-06-13
Re: MPC-HC can't find any subtitle from OpenSubtitles
I just tested and OpenSubtitles is working here.
Re: MPC-HC can't find any subtitle from OpenSubtitles
Oh, where did you test it, it still doesn't work on my PC (Win 7 x64). The ping is ok tho:
PING 92.240.234.122 (92.240.234.122): 64 data bytes
Reply from 92.240.234.122: bytes=64 ttl=116 seq=1 time=35.300 ms
Reply from 92.240.234.122: bytes=64 ttl=116 seq=2 time=35.300 ms
Reply from 92.240.234.122: bytes=64 ttl=116 seq=3 time=34.880 ms
Reply from 92.240.234.122: bytes=64 ttl=116 seq=4 time=35.020 ms
--- Ping Statistic "92.240.234.122" ---
Packets: Sent=4, Received=4, Lost=0 (0.00% loss)
Round-trip min/avg/max = 34.880/35.125/35.300 ms
But it just doesn't work. I've now tried the box media player and it still works from the player (and it works without any credentials, using the default box player, not using the MPC; it works by setting the OpSub api address as a DNS in the box player's net config). But from the PC using MPC it is not working. Thought it might be due to ads.opensubtitles.org being blocked in the hosts file, and have removed the line from the hosts file, still nothing. Then I have removed the blocklist from the hosts completely, still nothing. Is there sth else I could try?
PING 92.240.234.122 (92.240.234.122): 64 data bytes
Reply from 92.240.234.122: bytes=64 ttl=116 seq=1 time=35.300 ms
Reply from 92.240.234.122: bytes=64 ttl=116 seq=2 time=35.300 ms
Reply from 92.240.234.122: bytes=64 ttl=116 seq=3 time=34.880 ms
Reply from 92.240.234.122: bytes=64 ttl=116 seq=4 time=35.020 ms
--- Ping Statistic "92.240.234.122" ---
Packets: Sent=4, Received=4, Lost=0 (0.00% loss)
Round-trip min/avg/max = 34.880/35.125/35.300 ms
But it just doesn't work. I've now tried the box media player and it still works from the player (and it works without any credentials, using the default box player, not using the MPC; it works by setting the OpSub api address as a DNS in the box player's net config). But from the PC using MPC it is not working. Thought it might be due to ads.opensubtitles.org being blocked in the hosts file, and have removed the line from the hosts file, still nothing. Then I have removed the blocklist from the hosts completely, still nothing. Is there sth else I could try?
closedsubtitles- Posts : 3
Join date : 2021-06-13
Re: MPC-HC can't find any subtitle from OpenSubtitles
MPC-HC uses https://api.opensubtitles.org
That runs on a different server than the main website. Here it pings to a IPv6 address.
The API requires login, and also has a limit on the amount of daily requests. I don't know the exact limits they use nowadays, but it used to be around 200 I think.
MPC-HC can do a little bit of logging. That should show if there is connection issue.
MPC-HC options > Advanced > EnableLogging
Logs to: %appdata%\MPC-HC\subtitles.log
That runs on a different server than the main website. Here it pings to a IPv6 address.
The API requires login, and also has a limit on the amount of daily requests. I don't know the exact limits they use nowadays, but it used to be around 200 I think.
MPC-HC can do a little bit of logging. That should show if there is connection issue.
MPC-HC options > Advanced > EnableLogging
Logs to: %appdata%\MPC-HC\subtitles.log
Re: MPC-HC can't find any subtitle from OpenSubtitles
Ok, thanks, coming below.. just to clarify; I don't know, I don't even use IPv6 in my network neighbourhood as my internet provider don't use it yet. 92.240.234.122 is just something I've been using for years as a DNS in my box player cuz it makes opensubtitles work via the box player. And it still works as of today. Without such DNS it wouldn't work. Also during the same time I've also had and still have the following line added to the PC hosts file:
92.240.234.122 api.opensubtitles.org
It's been all working fine for years, including the MPC-HC on the PC. Now as said, the box OS subs are still working but the PC's MPC-HC are not.
Here is the most recent log from the MPC-HC:
18:20:32.312 - SubtitlesInfo::GetFileInfo: GetFileInfo(): Deducing video information from file path
filePath="H:\Scream.1996.UNCUT.1080p.BluRay.H264.AAC-RARBG\Scream.1996.UNCUT.1080p.BluRay.H264.AAC-RARBG.mp4"
fileName="Scream.1996.UNCUT.1080p.BluRay.H264.AAC-RARBG"
fileExtension="mp4"
fileSize=2270306832
matchPattern=0
title="Scream"
country=""
year=1996
episode=""
seasonNumber=-1
episodeNumber=-1
title2=""
resolution="1080p"
format="BluRay"
audioCodec="AAC"
videoCodec=""
releaseGroup="RARBG"
discNumber=-1 (C:\Code\klcp\mpc-hc\src\mpc-hc\SubtitlesProviders.cpp:433)
18:20:32.563 - podnapisi::Hash: ()=98f6a593e49e471f (C:\Code\klcp\mpc-hc\src\mpc-hc\SubtitlesProvider.cpp:877)
18:20:32.563 - podnapisi::Search: ("https://www.podnapisi.net/ppodnapisi/search?sXML=1&sAKA=1&sK=Scream&sY=1996&sMH=98f6a593e49e471f&sL=hr,bs,sr,en,sk&page=1") (C:\Code\klcp\mpc-hc\src\mpc-hc\SubtitlesProvider.cpp:759)
92.240.234.122 api.opensubtitles.org
It's been all working fine for years, including the MPC-HC on the PC. Now as said, the box OS subs are still working but the PC's MPC-HC are not.
Here is the most recent log from the MPC-HC:
18:20:32.312 - SubtitlesInfo::GetFileInfo: GetFileInfo(): Deducing video information from file path
filePath="H:\Scream.1996.UNCUT.1080p.BluRay.H264.AAC-RARBG\Scream.1996.UNCUT.1080p.BluRay.H264.AAC-RARBG.mp4"
fileName="Scream.1996.UNCUT.1080p.BluRay.H264.AAC-RARBG"
fileExtension="mp4"
fileSize=2270306832
matchPattern=0
title="Scream"
country=""
year=1996
episode=""
seasonNumber=-1
episodeNumber=-1
title2=""
resolution="1080p"
format="BluRay"
audioCodec="AAC"
videoCodec=""
releaseGroup="RARBG"
discNumber=-1 (C:\Code\klcp\mpc-hc\src\mpc-hc\SubtitlesProviders.cpp:433)
18:20:32.563 - podnapisi::Hash: ()=98f6a593e49e471f (C:\Code\klcp\mpc-hc\src\mpc-hc\SubtitlesProvider.cpp:877)
18:20:32.563 - podnapisi::Search: ("https://www.podnapisi.net/ppodnapisi/search?sXML=1&sAKA=1&sK=Scream&sY=1996&sMH=98f6a593e49e471f&sL=hr,bs,sr,en,sk&page=1") (C:\Code\klcp\mpc-hc\src\mpc-hc\SubtitlesProvider.cpp:759)
closedsubtitles- Posts : 3
Join date : 2021-06-13
Re: MPC-HC can't find any subtitle from OpenSubtitles
I don't see any OpenSubtitles related entries in the log. So re-enter your credentials in MPC-HC settings.
Hardcoding IP addresses in a host file is just wrong. I don't know the other player that you are using, but it is probably using the website instead of the API.
Hardcoding IP addresses in a host file is just wrong. I don't know the other player that you are using, but it is probably using the website instead of the API.
Page 2 of 2 • 1, 2
Page 2 of 2
Permissions in this forum:
You cannot reply to topics in this forum