Open 666dsa666 opened 2 years ago
I tried applying https://github.com/Unmanic/unmanic-plugins/issues/154 recommendations, but I did not solve the issue.
Though I believe I did find the problem.
I believe the list is not cleaned between each files. On second file metadata you can see 4 streams, of which 2 are subtitles. 6 files were created during the extraction.
FFMPEG command for 2nd file : ffmpeg -hide_banner -loglevel info -i /library/movies/movie (2021)/movie.2021.WEBDL-1080p.mkv -strict -2 -max_muxing_queue_size 4096 -map 0:s:0 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.fre.French.srt -map 0:s:0 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.fre.French.srt -map 0:s:0 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.fre.Full.srt -map 0:s:1 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.fre.FORCED.srt -map 0:s:0 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.fre.French.srt -map 0:s:0 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.fre.French.srt -map 0:s:0 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.fre.French.srt -map 0:s:0 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.fre.French.srt -map 0:s:0 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.eng.srt -map 0:s:1 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.cze.srt -map 0:s:2 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.dut.srt -map 0:s:3 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.hun.srt -map 0:s:4 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.pol.srt -map 0:s:5 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.rum.srt -map 0:s:6 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.rus.srt -map 0:s:7 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.spa.srt -map 0:s:0 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.eng.English-[CC].srt -map 0:s:1 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.spa.Latin-American-Spanish-[CC].srt -map 0:s:0 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.fre.srt -map 0:s:0 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.fre.French.srt -map 0:s:0 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.eng.English.srt -map 0:s:1 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.jpn.Japanese.srt -map 0:s:2 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.kor.Korean.srt -map 0:s:2 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.eng.English.srt -map 0:s:3 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.jpn.Japanese.srt -map 0:s:4 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.kor.Korean.srt -map 0:s:0 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.eng.English.srt -map 0:s:1 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.jpn.Japanese.srt -map 0:s:2 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.kor.Korean.srt -map 0:s:0 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.fre.French-[Forced].srt -map 0:s:1 -y /library/movies/movie (2021)/movie.2021.WEBDL-1080p.fre.French.srt
I tried applying https://github.com/Unmanic/unmanic-plugins/issues/154 recommendations, but I did not solve the issue.
Though I believe I did find the problem.
I believe the list is not cleaned between each files. On second file metadata you can see 4 streams, of which 2 are subtitles. 6 files were created during the extraction.
Yea. That is the solution, though it may be more involved than what I wrote in that message. The list is being appended to. And the object is not being recreated between files. This never used to be an issue up until the last release.
I am also experiencing this issue since upgrading to 0.1.4.
As an additional behavior, the plugin seems to 'extract' a bunch of empty and duplicate subtitle files for tracks for languages/types that matched previous media files but not in the currently processing file. This happens until it eventually spirals and just starts failing to process every file. The only way I've been able to get it to start processing things again is to restart the container.
What was originally just a frustrating (but overall inconsequential) inconvenience turned into garbage being littered throughout new media folders in my collection.
Everyone who has this plugin installed on the latest release will have this issue.
I'll fix it later this week
I assumed it was a problem for everyone given the nature of the problem described in #154. Figured it might help to know of other behaviors being caused in case further work is needed after the expected fixes are in place.
Im unsure if I need to open another issue or if the issue is actually the same, but for some file removing the subtitles simply does not work, while acting like it does, making them reappear and be treated endlessly.
Using MkvToolnix I can delete the subtitles without issues.
Seems solved using latest plugin update (had to update manually as it was not detected).
Errors are :
Log before the error :
Second file :
I have many files acting the same way.