Page 1 of 1

Delayed / slow playing start when opening audios from the file explorer [#18218]

Posted: Sat Aug 21, 2021 3:43 pm
by toto666
Greetings,

Using MediaMonkey 5.0.1.2433 on Windows 10 20H2,

When I try to open a file from MM, either:

- from the playlist
- from the library
- from the menu "File -> Open from file or URL..."

it starts playing instantly. However, if I either :

- double click on the file from the file explorer
- right click on the file in the file explorer and select "play now in MM"

there is a ~2 seconds delay between the either action and the beginning of the playback, which is extremely annoying.

Notes :

- all the fade-in / fade-out options are disabled in the plug-in settings.
- Windows Defender is disabled, I also tried disabling my AntiVirus (Avast) (without success)
- MM is already started, so it is not due to a lag of MM starting up
- my library is empty, so the delay cannot be caused by MM's long library update at startup
- my computer is very fast (fresh Windows installation on Rysen 5 5600X / 32GB RAM / M2 Samsung 980 Pro HDD)
- opening a file in VLC via the Windows explorer is instantaneous
- I tried uninstalling / re-installing MM (using CCleaner) (without success)
- I tried running MM as Administrator, I also tried running Win7 compatibility (without success)
- I had no issue using MM4

Related topics (?) :

1 - viewtopic.php?t=54837 however, unlike reported in one comment, when I switch to next track in a playlist, it is instantaneous, it is really just the opening from Windows Explorer which is very slow.

2 - viewtopic.php?t=82611, not solving the issue.

3 - viewtopic.php?f=1&t=84613 from there I could try the :
The problem - MediaMonkey is not telling the OS, when a call is made, to check for an existing instance of the program first for properly processing the request. The delay is caused by the OS being unable to launch another instance of MM when 'Allow just one instance of MediaMonkey' is checked (see 1). You can test this by unchecking that option (Tools>Options>General), and you'll find that a request to play/queue another track from Windows File Explorer will open immediately - but only in a new instance of MediaMonkey (see 2).

And indeed, unchecking the option for single instance made MM start a new instance when double clicking on a file in the explorer.

----------------------

Thank you very much for your help, I am willing to test further experimentations if need be.

Re: Delayed / slow playing start when opening audios from the file explorer

Posted: Wed Aug 25, 2021 6:14 am
by PetrCBR
Thanks for your feedback. Tracked as 18218.

Re: Delayed / slow playing start when opening audios from the file explorer [#18218]

Posted: Wed Aug 25, 2021 2:33 pm
by toto666
Dear PetrCBR,

Thank you for the prompt answer, I could see on your link that the issue is fixed in build 2500. Is there any mean to get this build or do I have to wait for the next official release ?

I do not know whether early MM builds are available somewhere or not...

Re: Delayed / slow playing start when opening audios from the file explorer [#18218]

Posted: Wed Aug 25, 2021 2:37 pm
by Lowlander
The build is not available yet, but when new beta's are release (including this fix) you can find them posted here: viewtopic.php?f=30&t=86639&sd=d

Re: Delayed / slow playing start when opening audios from the file explorer [#18218]

Posted: Fri Sep 03, 2021 11:19 am
by toto666
Greatings,

I saw that the 2500 alpha was available here : viewtopic.php?f=30&t=86639&sd=d and I installed it after uninstalling my previous version. However, the issue is still present while it is noted on PetrCBR's link that it is supposed to be solved in build 2500.

Did I miss something here ?

Re: Delayed / slow playing start when opening audios from the file explorer [#18218]

Posted: Fri Sep 03, 2021 12:53 pm
by PetrCBR
That's strange ... it's way faster for me now. Can you make me a debuglog ?