Opening multiple files results in just one opened on the default application

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
pstrg
Posts: 2
Joined: 31 Oct 2020 23:18

Opening multiple files results in just one opened on the default application

Post by pstrg »

Evaluating multi-pane Explorer alternatives; just installed XYplorer on a Windows 10 Pro 64 bit (2004) machine.

Selected a number of FLAC files, hit Enter.

Expected behaviour (like File Explorer)
All selected files should be displayed on foobar2000 panel and first of the list should start playing.

Observed behaviour (XYplorer)
Just one of the selected files was displayed on foobar2000 panel and it started playing.

Is there a XYplorer setting to make it follow File Explorer behaviour?

highend
Posts: 14991
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Opening multiple files results in just one opened on the default application

Post by highend »

Right click the "Open with" button on the toolbar and make sure that Open Items by First 'Open With...' Match is checked

If this doesn't help, right click the same button, Customize File Associations...

Add a new one on top like this (adapt the path if necessary):

Code: Select all

flac>run """C:\Program Files (x86)\foobar2000\foobar2000.exe"" <selitems>";
One of my scripts helped you out? Please donate via Paypal

pstrg
Posts: 2
Joined: 31 Oct 2020 23:18

Re: Opening multiple files results in just one opened on the default application

Post by pstrg »

highend wrote: 01 Nov 2020 00:27 Right click the "Open with" button on the toolbar and make sure that Open Items by First 'Open With...' Match is checked

If this doesn't help, right click the same button, Customize File Associations...

Add a new one on top like this (adapt the path if necessary):

Code: Select all

flac>run """C:\Program Files (x86)\foobar2000\foobar2000.exe"" <selitems>";
Open Items by First 'Open With...' Match
Was already set, so it's not a solution.

Code: Select all

flac>run """C:\Program Files (x86)\foobar2000\foobar2000.exe"" <selitems>";
Worked - now multiple files do appear on foobar2000 and the first one starts playing, as expected. Thank you very much.

Not such a huge task, but it will be necessary to add a similar entry for each and every file associated to foobar2000 - why isn't that a default behaviour, as seen on File Explorer, Directory Opus, Q-Dir and xplore² ?

highend
Posts: 14991
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Opening multiple files results in just one opened on the default application

Post by highend »

Not such a huge task, but it will be necessary to add a similar entry for each and every file associated to foobar2000
No, you just extend the list for that entry by either providing only the extensions you want or all audio ones

Code: Select all

flac;mp3;wav>run """C:\Program Files (x86)\foobar2000\foobar2000.exe"" <selitems>";

or

Code: Select all

{:Audio}>run """C:\Program Files (x86)\foobar2000\foobar2000.exe"" <selitems>";

where {:Audio} stands for:

Code: Select all

*.aac
*.ac3
*.aif
*.aifc
*.aiff
*.ape
*.asf
*.au
*.au
*.cda
*.dsd
*.dsf
*.flac
*.m4a
*.mid
*.mp+
*.mp2
*.mp3
*.mpc
*.mpp
*.ogg
*.opus
*.wav
*.wma
*.wv
*.wva
One of my scripts helped you out? Please donate via Paypal

mussor
Posts: 78
Joined: 05 Sep 2022 11:42

Re: Opening multiple files results in just one opened on the default application

Post by mussor »

Hi, I tried using suggested method but then:
why does it take considerably longer to open multiple files or even just one audio file?

Using right click menu clicking "Open in foobar2000" does the job faster and event without need for customizing file associations.
I believe I have read something about this earlier but can't find it again now. What's behind this behaviour?

admin
Site Admin
Posts: 66546
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Opening multiple files results in just one opened on the default application

Post by admin »

You can check the Task Manager for the exact command line that foobar2000.exe was opened with. There should be some differences between the two calls.

Post Reply