Author Topic: Launching of apps associated to file types  (Read 19329 times)

pstrg

  • Newbie
  • *
  • Posts: 8
    • View Profile
Launching of apps associated to file types
« on: July 25, 2020, 16:29:49 »
Trying dual pane file managers (something I should have done before).
Much pleased to note that MC allows one to see the tree, a feature most others lack.

However, something did not work, as described below:
1) Selected File Explorer Look'N'Feel;
2) Selected a list of FLAC files;
3) Hit Enter
Instead of seeing foobar2000 (which is associated to FLAC) launch and the first file on the list to start playing, nothing happened.
What setting should be activated to enable this typical File Explorer behavior?

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4488
    • View Profile
    • Multi Commander
Re: Launching of apps associated to file types
« Reply #1 on: July 27, 2020, 08:07:26 »
Unless you configure in MC that some program should open it that filetype with program X, MC will then send the file to execute to Windows and Windows will check it list of associated program and start that.

If Windows fails to do that you can check the log and see what error windows returns.

If you press Ctrl+L you will see a log entry that it executed a file and if ShellExecute (The function in Windows that launches programs)  returned an error.
ex.
------
2020-07-27 00:00:00.000 Execute file item : <File to execute>
2020-07-27 00:00:00.000 ShellExecute error xxxx
---------

« Last Edit: July 27, 2020, 08:10:01 by Mathias (Author) »

pstrg

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Launching of apps associated to file types
« Reply #2 on: July 27, 2020, 15:27:13 »
Thank you for your reply.

Since FLAC files are already registered to foobar2000, it should not be necessary to register them within MC in order to have them opened by foobar2000, right?
The picture below illustrates my test.
- Selected a number of audio files and, with mouse over the selection, hit Enter.
Nothing happened.
foobar2000 wasn't running at the time and wasn't launched.
Log did not register anything as a result of the actions described above (FileOperations Log is empty).


Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4488
    • View Profile
    • Multi Commander
Re: Launching of apps associated to file types
« Reply #3 on: July 27, 2020, 17:15:31 »
No not if you are using the Windows associations. (they are mostly for when you install MC on portable device)

Ahh you need to turn on more logging for the error to be shown in the logview
In Core settings > Logging
Set "Log level" for application log to "Debug"

When if you "run" multiple files at once.. they are all sent to Windows and windows will try to start them.
But the targeting application also need to support getting multiple inputs.

Same issue if you only try to start 1 file ?


pstrg

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Launching of apps associated to file types
« Reply #4 on: July 27, 2020, 17:42:50 »
If just one file is selected, behavior is in part as expected: foobar2000 is launched, a single file shows up in the playlist but... it doesn't start playing (like in Explorer).

Is the info below what you need?

Code: [Select]
2020-07-27 12:31:01.455 [7256] (view=000001E890A94390) BrowsePath requested : 0000000000000000 = M:\MUSICm\&\B\Bacewicz=Sonata for piano n.2; Quintet with piano n.1; 2 ~Krystian Zimerman\
2020-07-27 12:31:01.455 [7256] Parent FileItem is invalid, FileSystem volume scan is required
2020-07-27 12:31:01.455 [7256] FileItem - UpdateLock ON : 000001E89157ABC0 = 'M:\MUSICm\&\B\Bacewicz=Sonata for piano n.2; Quintet with piano n.1; 2 ~Krystian Zimerman'
2020-07-27 12:31:01.455 [7256] ThreadWorkManager [Icon] - Request STOP - Current state : Stopped
2020-07-27 12:31:01.455 [7256] The Main Async FileSystem Scanner thread manager is created!
2020-07-27 12:31:01.455 [7256] File System Scanning Thread - Creating new Thread! (ThreadID : 7708) (AutoDelete : 0)
2020-07-27 12:31:01.455 [7256] File System Scanning Thread Resumed (Thread ID: 7708)!
2020-07-27 12:31:01.455 [7256] Leaving BrowsePath - Will wait for scan to complete (If scan was started)
2020-07-27 12:31:01.455 [7708] File System Scanning Thread - Started.
2020-07-27 12:31:01.455 [7708] Init FileSystem Scanning of path : M:\MUSICm\&\B\Bacewicz=Sonata for piano n.2; Quintet with piano n.1; 2 ~Krystian Zimerman\
2020-07-27 12:31:01.456 [7708] FileSystem Volume Scanning started : 000001E89157ABC0 = M:\MUSICm\&\B\Bacewicz=Sonata for piano n.2; Quintet with piano n.1; 2 ~Krystian Zimerman
2020-07-27 12:31:01.574 [7256] (view=000001E890B25780) BrowsePath requested : 0000000000000000 = C:\
2020-07-27 12:31:01.575 [7256] FileItem have NeedRescan flag set : 'C:'
2020-07-27 12:31:01.575 [7256] Filesystem volume scan is required : 'C:'
2020-07-27 12:31:01.575 [7256] FileItem - UpdateLock ON : 000001E8914026D0 = 'C:'
2020-07-27 12:31:01.575 [7256] ThreadWorkManager [Icon] - Request STOP - Current state : Stopped
2020-07-27 12:31:01.575 [7256] NEW FileExplorer Thread will be started.!
2020-07-27 12:31:01.575 [7256] File System Scanning Thread - Creating new Thread! (ThreadID : 9152) (AutoDelete : 1)
2020-07-27 12:31:01.575 [7256] File System Scanning Thread Resumed (Thread ID: 9152)!
2020-07-27 12:31:01.575 [7256] Leaving BrowsePath - Will wait for scan to complete (If scan was started)
2020-07-27 12:31:01.575 [9152] File System Scanning Thread - Started.
2020-07-27 12:31:01.576 [9152] Init FileSystem Scanning of path : C:
2020-07-27 12:31:01.576 [9152] FileSystem Volume Scanning started : 000001E8914026D0 = C:
2020-07-27 12:31:01.576 [9152] FileSystem Scanner : Exlucde item Hidden/System attribute '$Recycle.Bin'
2020-07-27 12:31:01.578 [9152] FileSystem Scanner : Found item '$WINDOWS.~BT' 0x00002010
2020-07-27 12:31:01.578 [9152] FileSystem Scanner : Exlucde item Hidden/System attribute '$Windows.~WS'
2020-07-27 12:31:01.578 [9152] FileSystem Scanner : Found item 'AMD' 0x00002010
2020-07-27 12:31:01.578 [9152] FileSystem Scanner : Found item 'Arquivos de Programas RFB' 0x00002010
2020-07-27 12:31:01.578 [9152] FileSystem Scanner : Exlucde item Hidden/System attribute 'bootTel.dat'
2020-07-27 12:31:01.578 [9152] FileSystem Scanner : Exlucde item Hidden/System attribute 'Config.Msi'
2020-07-27 12:31:01.578 [9152] FileSystem Scanner : Found item 'ContaCam' 0x00002010
2020-07-27 12:31:01.578 [9152] FileSystem Scanner : Found item 'dados' 0x00002010
2020-07-27 12:31:01.578 [9152] FileSystem Scanner : Exlucde item Hidden/System attribute 'Documents and Settings'
2020-07-27 12:31:01.579 [9152] FileSystem Scanner : Found item 'Ember Media Manager' 0x00002010
2020-07-27 12:31:01.579 [9152] FileSystem Scanner : Found item 'ESD' 0x00002010
2020-07-27 12:31:01.579 [9152] FileSystem Scanner : Found item 'inetpub' 0x00002010
2020-07-27 12:31:01.579 [9152] FileSystem Scanner : Found item 'Intel' 0x00002810
2020-07-27 12:31:01.579 [9152] FileSystem Scanner : Found item 'lin2win' 0x00002010
2020-07-27 12:31:01.579 [9152] FileSystem Scanner : Found item 'loggger' 0x00002010
2020-07-27 12:31:01.579 [9152] FileSystem Scanner : Found item 'Logs' 0x00002010
2020-07-27 12:31:01.579 [9152] FileSystem Scanner : Exlucde item Hidden/System attribute 'MSOCache'
2020-07-27 12:31:01.579 [9152] FileSystem Scanner : Found item 'netuptime' 0x00002010
2020-07-27 12:31:01.579 [9152] FileSystem Scanner : Exlucde item Hidden/System attribute 'OneDriveTemp'
2020-07-27 12:31:01.579 [9152] FileSystem Scanner : Exlucde item Hidden/System attribute 'pagefile.sys'
2020-07-27 12:31:01.579 [9152] FileSystem Scanner : Found item 'PerfLogs' 0x00000010
2020-07-27 12:31:01.579 [9152] FileSystem Scanner : Found item 'PRIME-A320M-A-ASUS-5007' 0x00000010
2020-07-27 12:31:01.579 [9152] FileSystem Scanner : Found item 'Program Files' 0x00000011
2020-07-27 12:31:01.579 [9152] FileSystem Scanner : Found item 'Program Files (x86)' 0x00000011
2020-07-27 12:31:01.579 [9152] FileSystem Scanner : Exlucde item Hidden/System attribute 'ProgramData'
2020-07-27 12:31:01.579 [9152] FileSystem Scanner : Found item 'Progs' 0x00002010
2020-07-27 12:31:01.579 [9152] FileSystem Scanner : Found item 'Python27' 0x00002010
2020-07-27 12:31:01.579 [9152] FileSystem Scanner : Exlucde item Hidden/System attribute 'Recovery'
2020-07-27 12:31:01.579 [9152] FileSystem Scanner : Found item 'Sandbox' 0x00002011
2020-07-27 12:31:01.579 [9152] FileSystem Scanner : Found item 'Sardelli' 0x00002010
2020-07-27 12:31:01.579 [9152] FileSystem Scanner : Found item 'script.speedtestnet-10.0.0.zip' 0x00002020
2020-07-27 12:31:01.579 [9152] FileSystem Scanner : Exlucde item Hidden/System attribute 'swapfile.sys'
2020-07-27 12:31:01.579 [9152] FileSystem Scanner : Exlucde item Hidden/System attribute 'System Volume Information'
2020-07-27 12:31:01.579 [9152] FileSystem Scanner : Found item 'Temp' 0x00002010
2020-07-27 12:31:01.579 [9152] FileSystem Scanner : Found item 'Users' 0x00000011
2020-07-27 12:31:01.579 [9152] FileSystem Scanner : Found item 'Windows' 0x00000010
2020-07-27 12:31:01.579 [9152] FileSystem Scanner : Found item '_DL' 0x00002010
2020-07-27 12:31:01.579 [9152] FileSystem Volume Scanning completed
2020-07-27 12:31:01.579 [9152] FileItemsCache needs to be updated. ( Removed : 0 , Existing : 26 )
2020-07-27 12:31:01.579 [9152] FileSystem scannig process completed
2020-07-27 12:31:01.579 [9152] File System Scanning Thread - AutoDelete - Deleting and exit thread
2020-07-27 12:31:01.663 [7708] FileSystem Scanner : Found item '..' 0x00002010
2020-07-27 12:31:01.663 [7708] FileSystem Scanner : Found item '01 Quintet with piano n.1 ¬I. Moderato molto espressivo - Allegro.flac' 0x00002020
2020-07-27 12:31:01.663 [7708] FileSystem Scanner : Found item '02 ¬II. Presto.flac' 0x00002020
2020-07-27 12:31:01.663 [7708] FileSystem Scanner : Found item '03 ¬III. Grave.flac' 0x00002020
2020-07-27 12:31:01.663 [7708] FileSystem Scanner : Found item '04 ¬IV. Con passione.flac' 0x00002020
2020-07-27 12:31:01.663 [7708] FileSystem Scanner : Found item '05 Sonata for piano n.2 ¬I. Maestoso - Agitato.flac' 0x00002020
2020-07-27 12:31:01.664 [7708] FileSystem Scanner : Found item '06 ¬II. Largo.flac' 0x00002020
2020-07-27 12:31:01.664 [7708] FileSystem Scanner : Found item '07 ¬III. Toccata. Vivo.flac' 0x00002020
2020-07-27 12:31:01.664 [7708] FileSystem Scanner : Found item '08 Quintet with piano n.2 ¬I. Moderato - Allegro.flac' 0x00002020
2020-07-27 12:31:01.664 [7708] FileSystem Scanner : Found item '09 ¬II. Larghetto.flac' 0x00002020
2020-07-27 12:31:01.664 [7708] FileSystem Scanner : Found item '10 ¬III. Allegro giocoso.flac' 0x00002020
2020-07-27 12:31:01.664 [7708] FileSystem Scanner : Found item '917QyK1bOPL._SL1500_.jpg' 0x00002020
2020-07-27 12:31:01.664 [7708] FileSystem Scanner : Found item '91v-rCMQ-UL._SL1500_.jpg' 0x00002020
2020-07-27 12:31:01.664 [7708] FileSystem Scanner : Found item 'A1fMj6epVtL._SL1500_.jpg' 0x00002020
2020-07-27 12:31:01.664 [7708] FileSystem Scanner : Found item 'bacewicz.txt' 0x00002020
2020-07-27 12:31:01.664 [7708] FileSystem Scanner : Found item 'back.jpg' 0x00002020
2020-07-27 12:31:01.664 [7708] FileSystem Scanner : Found item 'front.jpg' 0x00002020
2020-07-27 12:31:01.664 [7708] FileSystem Volume Scanning completed
2020-07-27 12:31:01.664 [7708] FileItemsCache needs to be updated. ( Removed : 0 , Existing : 17 )
2020-07-27 12:31:01.664 [7708] FileSystem scannig process completed
2020-07-27 12:31:01.664 [7708] File System Scanning Thread done - Will wait for next scan job (7708)
2020-07-27 12:31:01.882 [7256] Update of BrowseCache started ( parent : C: , Valid : 26 , Removed : 0 , New 26 )
2020-07-27 12:31:01.882 [7256] Update BrowseCache in all views that caches path : (000001E8914026D0) = C:
2020-07-27 12:31:01.882 [7256] (view=000001E890B25780) Insert items into View BrowseCache : Items in Cache : 0, Items to Add : 26, Cache for path : C:
2020-07-27 12:31:01.883 [7256] (view=000001E890B25780) Insert from BrowseCache into VIEW - Existing Items : 0 , Items to Add : 26, Cache for path : C:
2020-07-27 12:31:01.889 [7256] Background Thread - Start Job ( JobName : Icon Extractor , CMD : Cmd_None , CurrentState : Stopped)
2020-07-27 12:31:01.889 [7256] Background Thread - Start - Thread state is STOPPED. Queueing job
2020-07-27 12:31:01.889 [7256] FileSystem Scanning and Caches and UI update completed
2020-07-27 12:31:01.889 [17576] Background Thread [Icon Extractor] - Starting
2020-07-27 12:31:01.889 [17576] Icon Extractor - Begin
2020-07-27 12:31:01.894 [7256] FileItem - UpdateLock OFF : 000001E8914026D0 =' C:'
2020-07-27 12:31:01.899 [7256] Update of BrowseCache started ( parent : M:\MUSICm\&\B\Bacewicz=Sonata for piano n.2; Quintet with piano n.1; 2 ~Krystian Zimerman , Valid : 17 , Removed : 0 , New 17 )
2020-07-27 12:31:01.899 [7256] Update BrowseCache in all views that caches path : (000001E89157ABC0) = M:\MUSICm\&\B\Bacewicz=Sonata for piano n.2; Quintet with piano n.1; 2 ~Krystian Zimerman
2020-07-27 12:31:01.900 [7256] (view=000001E890A94390) Insert items into View BrowseCache : Items in Cache : 0, Items to Add : 17, Cache for path : M:\MUSICm\&\B\Bacewicz=Sonata for piano n.2; Quintet with piano n.1; 2 ~Krystian Zimerman
2020-07-27 12:31:01.900 [7256] (view=000001E890A94390) Insert from BrowseCache into VIEW - Existing Items : 0 , Items to Add : 17, Cache for path : M:\MUSICm\&\B\Bacewicz=Sonata for piano n.2; Quintet with piano n.1; 2 ~Krystian Zimerman
2020-07-27 12:31:01.901 [7256] Background Thread - Start Job ( JobName : Icon Extractor , CMD : Cmd_None , CurrentState : Running)
2020-07-27 12:31:01.901 [7256] FileSystem Scanning and Caches and UI update completed
2020-07-27 12:31:01.904 [17576] Icon Extractor - Done - 26 icons changed
2020-07-27 12:31:01.904 [17576] Icon Extractor - Begin
2020-07-27 12:31:01.906 [7256] FileItem - UpdateLock OFF : 000001E89157ABC0 =' M:\MUSICm\&\B\Bacewicz=Sonata for piano n.2; Quintet with piano n.1; 2 ~Krystian Zimerman'
2020-07-27 12:31:01.933 [7256] OnChangeEvent - View : 000001E890B25780 - Event : 'Icon Changed' - FileItem 000001E8914026D0
2020-07-27 12:31:01.935 [7256] OnChangeEvent - View : 000001E890B25780 - Event : 'Icon Changed' - FileItem 000001E8914026D0
2020-07-27 12:31:02.221 [17576] Icon Extractor - Done - 0 icons changed
2020-07-27 12:31:02.259 [17576] Icon Extractor - Begin
2020-07-27 12:31:02.263 [17576] Icon Extractor - Done - 16 icons changed
2020-07-27 12:31:02.263 [17576] Icon Extractor - Begin
2020-07-27 12:31:02.263 [7256] OnChangeEvent - View : 000001E890A94390 - Event : 'Icon Changed' - FileItem 000001E89157ABC0
2020-07-27 12:31:02.264 [7256] OnChangeEvent - View : 000001E890A94390 - Event : 'Icon Changed' - FileItem 000001E89157ABC0
2020-07-27 12:31:02.288 [7256] Start Monitor folder for changes : C:\ ( Add Count : 1)
2020-07-27 12:31:02.293 [7256] Path is now monitored : C:\ ( RefCount : 1 )
2020-07-27 12:31:02.293 [7256] Start Monitor folder for changes : M:\MUSICm\&\B\Bacewicz=Sonata for piano n.2; Quintet with piano n.1; 2 ~Krystian Zimerman ( Add Count : 1)
2020-07-27 12:31:02.293 [7256] Path is now monitored : M:\MUSICm\&\B\Bacewicz=Sonata for piano n.2; Quintet with piano n.1; 2 ~Krystian Zimerman ( RefCount : 1 )
2020-07-27 12:31:02.469 [17576] Icon Extractor - Done - 0 icons changed
2020-07-27 12:31:02.470 [17576] Background Thread - Work finished or stopped (Signaled : 0)
2020-07-27 12:31:02.470 [17576] _WorkerThreadProc - Jobb Name : Icon Extractor , Thread Jobb State : Stopped

p.s. Just for the record: most (not all) other multipane file explorers do have problems emulating the usual File Explorer behavior for multiple selected files associated with an application.

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4488
    • View Profile
    • Multi Commander
Re: Launching of apps associated to file types
« Reply #5 on: July 28, 2020, 08:02:01 »
No that is not the application log. That is the filesystem log that do logging and for troubleshoot with issue when scanning the filesystem
All you want is the error code is shown as I wrote before.

MC do not start all instances and do all that. MC is calling Windows and Windows do all the finding of associations and starting instances.
So if windows have any issue it should return an error code that is shown there.

pstrg

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Launching of apps associated to file types
« Reply #6 on: July 28, 2020, 14:53:03 »
Sure, sent the other log because the Application Log contains nothing related either to multi-file or single file events.
It's just like this:

Code: [Select]
...
2020-07-28 09:43:27.061 Initializing extension : File Utils
2020-07-28 09:43:27.064 Initializing extension : Multi Rename
2020-07-28 09:43:27.065 Initializing extension : File Viewer
2020-07-28 09:43:27.068 Initializing extension : Picture Tools
2020-07-28 09:43:27.069 Initializing Complate
2020-07-28 09:43:27.540 Application Ready!
2020-07-28 09:43:27.541 Start background thread to check if new version exists.
2020-07-28 09:43:28.273 No new version found

Note that I duly understand what you repeated in the previous replies to my issue.
What is not clear to me is
- why is CM able to launch foobar2000 as expected when I try to open a single file
- but does nothing at all if I try to open more than one simultaneously.
Shouldn't it emulate the usual File Explore behavior?

pstrg

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Launching of apps associated to file types
« Reply #7 on: July 28, 2020, 15:04:32 »
Addendum

Besides the (already existing) Windows associations, forced association of some audio files like this:



Then, selected a number of such files and, with mouse still over the selection, hit Enter - nothing happened (no new lines in Application Log either).

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4488
    • View Profile
    • Multi Commander
Re: Launching of apps associated to file types
« Reply #8 on: July 28, 2020, 15:43:24 »
Sure, sent the other log because the Application Log contains nothing related either to multi-file or single file events.
It's just like this:

Code: [Select]
...
2020-07-28 09:43:27.061 Initializing extension : File Utils
2020-07-28 09:43:27.064 Initializing extension : Multi Rename
2020-07-28 09:43:27.065 Initializing extension : File Viewer
2020-07-28 09:43:27.068 Initializing extension : Picture Tools
2020-07-28 09:43:27.069 Initializing Complate
2020-07-28 09:43:27.540 Application Ready!
2020-07-28 09:43:27.541 Start background thread to check if new version exists.
2020-07-28 09:43:28.273 No new version found

Note that I duly understand what you repeated in the previous replies to my issue.
What is not clear to me is
- why is CM able to launch foobar2000 as expected when I try to open a single file
- but does nothing at all if I try to open more than one simultaneously.
Shouldn't it emulate the usual File Explore behavior?

As I said before. You need to enable loglevel "debug" for it to show the error sent from Windows.
MC is not launching foobar2000. MC tell windows to open these file with whatever you have configured with file associations.
MC is forwarding all to Windows. It should be the same as Windows Explorer does. It does the same thing.
I works for me for winamp and other program. FooBar2000 I never tested on that. And I currently do not have the ability to do that


Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4488
    • View Profile
    • Multi Commander
Re: Launching of apps associated to file types
« Reply #9 on: July 28, 2020, 15:45:31 »
Addendum

Besides the (already existing) Windows associations, forced association of some audio files like this:



Then, selected a number of such files and, with mouse still over the selection, hit Enter - nothing happened (no new lines in Application Log either).
You can probably not do that if you want the program to queue all files instead of opening X numbers of instance of foobar.

I Now for winamp you needed to do "Winamp.exe /add <filename>"  to make it do the queue. for foobar I have no idea.

Also If I remeber it correct the fileextension need to be *.mp3 *.flac and so on as you see in the default item for viewers/editors.
« Last Edit: July 28, 2020, 15:49:29 by Mathias (Author) »

pstrg

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Launching of apps associated to file types
« Reply #10 on: July 28, 2020, 19:01:07 »
Quote
As I said before. You need to enable loglevel "debug" for it to show the error sent from Windows.
MC is not launching foobar2000. MC tell windows to open these file with whatever you have configured with file associations.
MC is forwarding all to Windows. It should be the same as Windows Explorer does. It does the same thing.
I works for me for winamp and other program. FooBar2000 I never tested on that. And I currently do not have the ability to do that

Please note that logging was already enabled...
In fact, just in case, tried each of the four Debug settings (Eval, Trace, Result, Begin/End).
In all cases, upon selecting files and hitting Enter, nothing shows up on the debug tab(s).




Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4488
    • View Profile
    • Multi Commander
Re: Launching of apps associated to file types
« Reply #11 on: July 28, 2020, 22:11:28 »
Quote
As I said before. You need to enable loglevel "debug" for it to show the error sent from Windows.
MC is not launching foobar2000. MC tell windows to open these file with whatever you have configured with file associations.
MC is forwarding all to Windows. It should be the same as Windows Explorer does. It does the same thing.
I works for me for winamp and other program. FooBar2000 I never tested on that. And I currently do not have the ability to do that

Please note that logging was already enabled...
In fact, just in case, tried each of the four Debug settings (Eval, Trace, Result, Begin/End).
In all cases, upon selecting files and hitting Enter, nothing shows up on the debug tab(s).



That is  "Filesystem Log" (Log for Filesystem scanning and such) If you look at the top you see "Application Log"set the loglevel for this to "Debug"
The log for filesystem log you can disable again. It is very verbose and you do not need that.


pstrg

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Launching of apps associated to file types
« Reply #12 on: July 28, 2020, 22:33:53 »
I appreciate your patience.
Application debug now enabled as well.
After I select a number of files and hit Enter, nothing happens and no new data appears on the log window.

https://i.imgur.com/oZ7HRyT.jpg[/img]]http://imgur.com

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4488
    • View Profile
    • Multi Commander
Re: Launching of apps associated to file types
« Reply #13 on: July 28, 2020, 23:06:05 »
Ehh Nothing ? That is not correct.
It should always print out the result code in the log like
"<DATE> <TIME> ShellExecute Error 0"

Did you remove the custom filetype setup you did?

But I don't really know what this will give you. It will probably give you an error code that is sent from Windows that is nonsens.
There must be something with how foobar is registered that is wrong/missing if for now it queue files if multiple files are launched


pstrg

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Launching of apps associated to file types
« Reply #14 on: July 29, 2020, 02:33:47 »
Looks like something was caught this time.


Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4488
    • View Profile
    • Multi Commander
Re: Launching of apps associated to file types
« Reply #15 on: July 29, 2020, 11:59:17 »
I tried foobar.. I got the same issue. classic Winamp and other players I have, have no issue. only foobar.

Foobar is doing something different with their association in registry compare to all other apps I have that support this.
Normally you want to open all on the "open" command. but they do not do that.
They have the correct settings in the registry but they disabled them by adding a "LegacyDisable" key

So I got it working by removing or rename the "LegacyDisable" key under HKEY_CLASSES_ROOT\foobar2000.MP3\shell\open\
And for FLAC I guess it is under foobar2000.FLAC  so you need to do this for all extensions

« Last Edit: July 29, 2020, 12:01:01 by Mathias (Author) »