Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

frostsigh

Re: The "Custom commands" feature cannot launch MPV.

I downloaded the version you're using, and it really can't play videos via a WebDAV URL.

This made me realize that different builds might behave differently.
I just downloaded mpv-x86_64-20260601-git-44a9b03.7z, and it can play videos from a WebDAV URL. However, it takes over the foreground of WinSCP, preventing me from continuing to use WinSCP; this doesn’t happen when WinSCP calls notepad.exe.

The version I initially used came from https://github.com/hooke007/mpv_PlayKit/releases which includes some useful tools.
When WinSCP calls the mpv.exe from mpv-lazy-20260510-noVS.7z, an error occurs. So I wrote a wrapper program in Go, and when WinSCP calls this mpv.exe through it, it works fine.

Finally, I downloaded mpv-lazy-20260510.exe and found that the extracted umpv.exe works very well (mpv.exe would take over the WinSCP foreground). (umpv.exe is a single-instance version of mpv.exe; this feature doesn’t matter to me.)

Conclusion: Although I don’t understand why some programs work fine on their own but can’t be properly invoked by WinSCP, the issue described in this post has been resolved for me. I hope I won’t encounter a similar problem again.
martin

Re: The "Custom commands" feature cannot launch MPV.

I have downloaded and extracted mpv-i686-20260601-git-44a9b03.7z to a random folder – and it seems that WinSCP can run it. I actually was not able to make MPV to play file from WebDAV (even when executed standalone from command line). But the player starts (both standalone and from WinSCP).

Can you share more details how your setup might differ?
Guest

Re: The "Custom commands" feature cannot launch MPV.

a free, open source, and cross-platform media player
https://mpv.io/
martin

Re: The "Custom commands" feature cannot launch MPV.

What is "MPV"?
frostsigh

The "Custom commands" feature cannot launch MPV.

Windows 11 25H2
WinSCP 6.5.6
custom command:
C:\Applications\mpv-lazy\mpv.exe "webdav://!U:!P@!@:!#!/!"

Symptom: An error window pops up, displaying an error message roughly identical to the log shown below.
log:
* 2026-05-26 10:03:07.520 (EOSExtException) Cannot execute 'C:\Applications\mpv-lazy\mpv.exe'.

* 2026-05-26 10:03:07.520 System Error.  Code: 1223.
* 2026-05-26 10:03:07.520 操作已被用户取消。  ---- It means "the operation has been cancelled by the user."