Closed hadim closed 11 years ago
What command do you use?
Thats strange because I just re run the command:
subliminal Incoming/movies/Only.God.Forgives.2013/ -l fr -v
And no subtitle has been downloaded. Then I deleted the subtitle. Re run the command and the subtitle has been download (normal behaviour).
When I re run the command (few second after), the subtitle is re downloaded...
I think there is a relation with the age of the subtitle.
Can it be possible ?
Try again now that abspath is used
I will tonight.
Hadrien Mary
Ph.D student in Biology Tournier-Gachet Team CNRS - LBCMCP - UMR 5088
Université de Toulouse - Bât. 4R3B1 118, route de Narbonne - 31062 Toulouse
On Thu, Oct 31, 2013 at 9:13 AM, Antoine Bertin notifications@github.comwrote:
Try again now that abspath is used
— Reply to this email directly or view it on GitHubhttps://github.com/Diaoul/subliminal/issues/242#issuecomment-27468565 .
Not working... Using https://github.com/Diaoul/subliminal/commit/c834bac46025fd6ac33a1aeb32ad8057b915f736 I have the same behaviour I described above.
Tell me if you need more informations.
Debug logs?
Sorry man :-)
$ subliminal Incoming/movies/Only.God.Forgives.2013/ -l fr -v
INFO:subliminal.video:Scanning directory u'/home/hadim/Incoming/movies/Only.God.Forgives.2013'
INFO:subliminal.video:Scanning video u'Only.God.Forgives.2013.mp4' in u'/home/hadim/Incoming/movies/Only.God.Forgives.2013'
DEBUG:guessit.transfo.guess_filetype:Found with confidence 1.00: {u'type': u'movie'}
DEBUG:guessit.transfo.guess_filetype:Found with confidence 1.00: {u'mimetype': u'video/mp4', u'container': u'mp4'}
DEBUG:guessit.transfo.guess_year:Found with confidence 1.00: {u'year': 2013}
DEBUG:guessit.transfo.guess_movie_title_from_position:folder: []
DEBUG:guessit.transfo.guess_movie_title_from_position:basename: [<guessit.matchtree.MatchTree object at 0x2ed6ed0>]
DEBUG:guessit.transfo.guess_movie_title_from_position:Found with confidence 0.60: {u'title': u'Only God Forgives'}
DEBUG:guessit.matcher:Found match tree:
0000000000000000000000 111
0000000000000000000000 000
0000000000000000001111
______________________.___
ttttttttttttttttttyyyy ccc
Only.God.Forgives.2013.mp4
DEBUG:guessit.matchtree:Final result: {
[1.00] "mimetype": "video/mp4",
[1.00] "type": "movie",
[0.60] "title": "Only God Forgives",
[1.00] "container": "mp4",
[1.00] "year": 2013
}
DEBUG:subliminal.video:Size is 1330991378
DEBUG:subliminal.video:Computed hashes {u'opensubtitles': u'a7c0c87d26b54e30', u'thesubdb': u'93fa4a674004ac0dadfcaa4834f77ab0'}
DEBUG:subliminal.video:Found subtitles set([<Language [fra]>, <Language [eng]>])
DEBUG:subliminal.api:Skipping provider 'bierdopje': no language to search for
DEBUG:subliminal.api:Skipping provider 'addic7ed': no video to search for
DEBUG:subliminal.api:Skipping provider 'tvsubtitles': no video to search for
INFO:subliminal.api:Listing subtitles with provider 'opensubtitles' for video <Movie [u'Only God Forgives', 2013]> with languages set([<Language [fra]>])
DEBUG:subliminal.providers.opensubtitles:Searching subtitles [{u'moviebytesize': '1330991378', u'sublanguageid': u'fre', u'moviehash': u'a7c0c87d26b54e30'}]
DEBUG:subliminal.providers.opensubtitles:Found subtitles [{'ISO639': 'fr', 'SubComments': '0', 'UserID': '0', 'SubFileName': 'Only.God.Forgives.2013.1080p.BluRay.x264.YIFY.srt', 'SubAddDate': '2013-09-25 17:48:29', 'SubBad': '0', 'SubLanguageID': 'fre', 'SeriesEpisode': '0', 'MovieImdbRating': '6.0', 'SubHash': 'ac93bad0d7252fc366cc79839d810971', 'MovieReleaseName': 'Only.God.Forgives.2013.1080p.BluRay.x264.YIFY', 'SubtitlesLink': 'http://www.opensubtitles.org/en/subtitles/5193385/only-god-forgives-fr', 'IDMovie': '151877', 'SeriesIMDBParent': '0', 'SubDownloadsCnt': '1848', 'QueryParameters': {'moviebytesize': '1330991378', 'sublanguageid': 'fre', 'moviehash': 'a7c0c87d26b54e30'}, 'MovieByteSize': '1330991378', 'MovieKind': 'movie', 'SeriesSeason': '0', 'IDSubMovieFile': '7881386', 'SubSize': '18643', 'IDSubtitle': '5193385', 'IDSubtitleFile': '1953735075', 'MovieFPS': '23.976', 'SubSumCD': '1', 'QueryNumber': '0', 'SubAuthorComment': '', 'MovieNameEng': '', 'MatchedBy': 'moviehash', 'SubHD': '1', 'SubRating': '0.0', 'SubDownloadLink': 'http://dl.opensubtitles.org/en/download/filead/1953735075.gz', 'SubHearingImpaired': '0', 'ZipDownloadLink': 'http://dl.opensubtitles.org/en/download/subad/5193385', 'SubFeatured': '0', 'MovieTimeMS': '0', 'SubActualCD': '1', 'UserNickName': '', 'SubFormat': 'srt', 'MovieHash': 'a7c0c87d26b54e30', 'LanguageName': 'French', 'UserRank': '', 'MovieName': 'Only God Forgives', 'IDMovieImdb': '1602613', 'MovieYear': '2013'}]
INFO:subliminal.api:Found 1 subtitles
INFO:subliminal.api:Listing subtitles with provider 'thesubdb' for video <Movie [u'Only God Forgives', 2013]> with languages set([<Language [fra]>])
DEBUG:subliminal.providers.thesubdb:Searching subtitles {u'action': u'search', u'hash': u'93fa4a674004ac0dadfcaa4834f77ab0'}
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): api.thesubdb.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /?action=search&hash=93fa4a674004ac0dadfcaa4834f77ab0 HTTP/1.1" 200 None
INFO:subliminal.api:Found 0 subtitles
DEBUG:guessit.transfo.guess_filetype:Found with confidence 1.00: {u'type': u'movie'}
DEBUG:guessit.transfo.guess_filetype:Found with confidence 1.00: {u'mimetype': u'video/x-matroska', u'container': u'mkv'}
DEBUG:guessit.transfo.guess_properties:Found with confidence 1.00: {u'videoCodec': u'h264'}
DEBUG:guessit.transfo.guess_properties:Found with confidence 1.00: {u'format': u'BluRay'}
DEBUG:guessit.transfo.guess_properties:Found with confidence 1.00: {u'screenSize': u'1080p'}
DEBUG:guessit.transfo.guess_year:Found with confidence 1.00: {u'year': 2013}
DEBUG:guessit.transfo.guess_movie_title_from_position:folder: []
DEBUG:guessit.transfo.guess_movie_title_from_position:basename: [<guessit.matchtree.MatchTree object at 0x35726d0>, <guessit.matchtree.MatchTree object at 0x3572790>]
DEBUG:guessit.transfo.guess_movie_title_from_position:Found with confidence 0.60: {u'title': u'Only God Forgives'}
DEBUG:guessit.matcher:Found match tree:
000000000000000000000000000000000000000000000 111
000000000000000000000000000000000000000000000 000
000000000000000000000000000000000000111122222
000000000000000000000000000001111112
00000000000000000000000111112
00000000000000000011112
______________________._____.______.____.YIFY.___
ttttttttttttttttttyyyy sssss ffffff vvvv ccc
Only.God.Forgives.2013.1080p.BluRay.x264.YIFY.mkv
DEBUG:guessit.matchtree:Final result: {
[1.00] "mimetype": "video/x-matroska",
[1.00] "videoCodec": "h264",
[1.00] "container": "mkv",
[1.00] "format": "BluRay",
[0.60] "title": "Only God Forgives",
[1.00] "screenSize": "1080p",
[1.00] "year": 2013,
[1.00] "type": "movie"
}
INFO:subliminal.subtitle:Computed score 31 with matches set([u'title', u'hash', u'year'])
INFO:subliminal.api:Downloading subtitle <OpenSubtitlesSubtitle [<Language [fra]>]> with score 31 into u'/home/hadim/Incoming/movies/Only.God.Forgives.2013/Only.God.Forgives.2013.fr.srt'
DEBUG:subliminal.api:All languages downloaded
1 subtitle downloaded
Last commits fixed the issue. Nice work man !
Fixed with f315ef9bd0729533704eafd03628a2d0fea90f95
I confirm the fix !
Subtitles are always re downloaded even if they already exist. I am alone seeing this ?