question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Subtitle found when scanning within folder but not from the parentfolder for the same movie

See original GitHub issue

I have a video:

/volume2/Movies/Jack Reacher- Never Go Back (2016)/Jack.Reacher.Never.Go.Back.2016.1080p.WEBDL.AC3.x264-FGT.mkv

When I try to find a subtitle from within this folder /volume2/Movies/Jack Reacher- Never Go Back (2016) it finds matching subtitles with 90+ scores.

But when I try to do the same but from within the parent directory /volume2/Movies it does find subtitles for that movie but only with scores around 60.

In the debug log from within the Jack Reacher folder it says the following that could have something to do with it:

INFO:subliminal.core:Refining video with metadata
DEBUG:subliminal.refiners.metadata:Found video_codec h264
DEBUG:subliminal.refiners.metadata:Found audio_codec AC3
DEBUG:subliminal.refiners.metadata:Found embedded subtitle set([<Language [und]>])
INFO:subliminal.core:Refining video with omdb
DEBUG:subliminal.refiners.omdb:Found 1 results
DEBUG:subliminal.refiners.omdb:Found result with matching year
DEBUG:subliminal.refiners.omdb:Found movie {u'imdbID': u'tt3393786', u'Title': u'Jack Reacher: Never Go Back', u'Type': u'movie', u'Poster': u'https://images-na.ssl-images-amazon.com/images/M/MV5BODQ3ODQ3NDI4NV5BMl5BanBnXkFtZTgwMDY1Mzk5OTE@._V1_SX300.jpg', u'Year': u'2016'}

In the debug log from the parent folder this:

INFO:subliminal.core:Refining video with metadata
DEBUG:subliminal.refiners.metadata:Found video_codec h264
DEBUG:subliminal.refiners.metadata:Found audio_codec AC3
DEBUG:subliminal.refiners.metadata:Found embedded subtitle set([<Language [und]>])
INFO:subliminal.core:Refining video with omdb
DEBUG:subliminal.refiners.omdb:Found 1 results
WARNING:subliminal.refiners.omdb:No matching movie found

debug log from /volume2/Movies/Jack Reacher- Never Go Back (2016): http://pastebin.com/4MUWyezT debug log from /volume2/Movies http://pastebin.com/3yKagKAM

root@LINNAS:/volume1/.@root # pip show subliminal
Name: subliminal
Version: 2.0.5

edit: I did some further testing and apparently it doesn’t play well when the directory has a release year in the name like Jack Reacher- Never Go Back (2016). Changing it to Jack Reacher- Never Go Back it works like it should.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
Diaoulcommented, Jan 18, 2017

It may be related to guessit, I’ll try to reproduce to further investigate this.

0reactions
ratoaq2commented, Feb 20, 2019

Fixed by 982991de3daaac87e4f05534f227f7c4b111407f

Read more comments on GitHub >

github_iconTop Results From Across the Web

srt file(s) in subfolders are not being imported. #1958 - GitHub
I've noticed this same issues, IE a Movie just downloaded today and it has a folder called "Subtitles" where the .srt files reside,...
Read more >
Any way to have Plex use the 'Subs' folder, or automatically ...
first step: copy the bat file into the main movie folder and execute it. No other setup is needed. it will do this,...
Read more >
Downloaded subtitles not saving next to Media content - Emby
I have set the option to save downloaded subtitles next to media, however when I downloaded a subtitle it is being saved somewhere...
Read more >
Make VLC recognize all subtitle files, whatever their name is ...
Hello Ι would like to request for a change to be done. When I download a movie it usually comes like this in...
Read more >
Subtitles accompany main file in different folder - FileBot
The subtitles are in a separate folder named “subs” named eng.srt ... Assuming that video and subtitle file are matched to the same...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found