Bug 506845 - mpv can't open video files over sftp if the filename contains square brackets
Summary: mpv can't open video files over sftp if the filename contains square brackets
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-10 07:04 UTC by ugjka
Modified: 2025-07-12 12:37 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screencast of the bug (2.20 MB, video/mp4)
2025-07-10 07:04 UTC, ugjka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ugjka 2025-07-10 07:04:08 UTC
Created attachment 183118 [details]
screencast of the bug

SUMMARY:
mpv can't open video files over sftp if the filename contains square brackets, remove the square brackets and the video then opens just fine. (The problem doesn't exist when you play local files)

STEPS TO REPRODUCE:
1. Open sftp share in dolphin
2. Have a video with square brackets in the filename there
3. Try opening it with mpv video player

OBSERVED RESULT: mpv tries to open the video but doesn't and exits

EXPECTED RESULT: mpv should play the video


SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.5-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700G with Radeon Graphics
Memory: 64 GiB of RAM (54,7 GiB usable)
Graphics Processor: AMD Radeon Graphics
Manufacturer: ASUS

ADDITIONAL INFORMATION: see the attachment for a screencast of the bug
Comment 1 ugjka 2025-07-12 12:37:38 UTC
Hmm, when I use Flatpak version of mpv, there is no problem