dandere2x icon indicating copy to clipboard operation
dandere2x copied to clipboard

Multiprocess video segment order reversed

Open kmhcreative opened this issue 2 years ago • 2 comments

I installed Dandere2x via Homebrew on my M1 Mac and when I select "Multiprocess" it reassembles the split video segments in the reverse order. The "split_video" MKV files are in the right order, but the "subworkspace" folders and "non_migrated" MKV files are in the wrong order.

I fixed this by editing the /dandere2x/dandere2x_service/service_types/multiprocess_service.py file line 42:

divided_re_encoded_videos = sorted(glob.glob(os.path.join(self._service_request.workspace, "*.mkv")))

That literally has it sorted. The segments now reassemble in the correct order.

kmhcreative avatar Oct 03 '22 22:10 kmhcreative

Would you mind making a PR for this so you can get credit, or would you want me to do this?

akai-katto avatar Oct 07 '22 02:10 akai-katto

I don't need credit, a PR seems like overkill for a single word and two parentheses.

kmhcreative avatar Oct 08 '22 03:10 kmhcreative

closed.

Sorry for the slow close, ran into a medical emergency.

akai-katto avatar Oct 23 '22 19:10 akai-katto