Feb-16-2021, 01:11 PM
Not sure if I overwhelmed with entering the whole code.
It is worth noting, that, with all the Buttons and Defs (i.e.: View, Copy, Delete, Move), the View function is the only one causing problems of sudden program exit on second file selection attempt.
I can not find any examples explaining MPV player playing multiple videos in succession ( i.e.: utilizing the askopenfilenames multiple selection widget.
here is what I am currently using:
It is worth noting, that, with all the Buttons and Defs (i.e.: View, Copy, Delete, Move), the View function is the only one causing problems of sudden program exit on second file selection attempt.
I can not find any examples explaining MPV player playing multiple videos in succession ( i.e.: utilizing the askopenfilenames multiple selection widget.
here is what I am currently using:
def ViewFile(): # plays all selected files one by one, keeps speed selected in 1st clip unless changed.. files_list = WidgetFrame.files_list print(files_list) # loop through files for f in files_list: player.play(f) player.playlist_append(f) player.wait_for_playback() player.wait_for_playbackWould it be better to try and write the askopenfilenames resulting tuble to a playlist file and use that with MPV?