Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If opening more than 1 file, only the last file is played #431

Open
yursan9 opened this issue May 6, 2019 · 1 comment
Open

If opening more than 1 file, only the last file is played #431

yursan9 opened this issue May 6, 2019 · 1 comment

Comments

@yursan9
Copy link

yursan9 commented May 6, 2019

Overview Description:
If I tried to select more than 1 file in nautilus and open them by pressing Enter or right click and select Open with Gnome MPV, it's always play the last file in selection. I can open multiple file if I start Gnome MPV from terminal.

$ gnome-mpv a.mp4 b.mp4

Steps to Reproduce:

  1. Select 2 or more files
  2. Press Enter or Right Click and select Open With Gnome MPV

Actual Results:
Only the last file on selection is added to the playlist

Expected Results:
All selected files is added to the playlist too

Version:

$ gnome-mpv --version
GNOME MPV 0.16

Additional Information:
MPV version:
0.29.1

@gnome-mpv
Copy link
Collaborator

I suspect that this is caused by a bug in nautilus or gio. When you open multiple files with nautilus or gio (the cli utility) using an app that uses dbus activation, multiple open signals with one file each will be sent in sequence instead of one signal with all the files. If you manually send an open signal with multiple files (e.g. using d-feet), all the files will be inserted into the playlist as it should.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants