Posts: 3,027
Joined: Oct 2012
Reputation:
189
the subtitle hash is especially calculated for opensubtitles - it is not only the file hash (rather the hash of the filesize, a block from the beginning of the file, a block from the end of the file); this is not stored in the database and must be calculated at runtime
with the actual nightly you should not have the issue any more (at least I did not have it yesterday)
tinyMediaManager - THE media manager of your choice - available for Windows, macOS and Linux
Help us translate tinyMediaManager at
Weblate | Translations at 66%
Found a bug or want to submit a feature request? Contact us at
GitLab
Posts: 524
Joined: Aug 2015
Reputation:
26
I understand it needs to access video file for the movie hash when using "Automatically download subtitles" command.
But I'm asking about "Search & download subtitle" command. Isn't it a search based on IMDb ID? And their API says "If you define imdbid, then moviehash, moviebytesize and query is ignored". Doesn't that mean the hash and moviebytesize aren't required for this command?
As for the bug fix, I'm still seeing the file handles left open with the video file locked even after the subtitle search is done (updated tmm three times including one manual update). Could be only me and I'll see what other users have to say.
Posts: 3,027
Joined: Oct 2012
Reputation:
189
I've just rewrote that part of code for being used without the FileChannel.map; could you try the latest nightly?
tinyMediaManager - THE media manager of your choice - available for Windows, macOS and Linux
Help us translate tinyMediaManager at
Weblate | Translations at 66%
Found a bug or want to submit a feature request? Contact us at
GitLab
Posts: 524
Joined: Aug 2015
Reputation:
26
Great! it's fixed now. No file handle getting opened with subtitle search and no file getting locked. Thanks!