Summary: | Opening a video from an smb:// location downloads the file rather than streaming | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Mike Lothian <mike> |
Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | kfm-devel, nicolas.fella |
Priority: | NOR | ||
Version: | 21.12.2 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Mike Lothian
2022-02-07 13:09:22 UTC
This behavior is somewhat intentional, but of course not ideal. The challenge is this: When setting up a SMB share in Dolphin it will save the credentials so that you don't have to enter them all the time. KDE apps/apps using KIO all can read these credentials, so e.g. when opening an image on a SMB share in Gwenview works without entering the credentials in Gwenview again. The problem arises with apps that don't use KIO but understand smb URLs, like smplayer or VLC. Dolphin could directly pass the smb URL to smplayer, but then smplayer would need to ask you for the share's password, which isn't ideal. Therefore Dolphin triggers kioexec to download the file and pass that to smplayer. However that's trading one issue for another :/ That said, there is a better alternative in place, KIOFuse. Instead of downloading the whole thing an passing it as a local file like kioexec KIOFuse exposes a virtual file system. This should solve both problems. The question here is why KIOFuse wasn't triggered in your case. Can you make sure you have KIOFuse installed? I think https://bugs.kde.org/show_bug.cgi?id=436553 is related here It is changed behaviour however, things used to stream, and I also don't have any authentication set up on this share (In reply to Nicolas Fella from comment #2) > I think https://bugs.kde.org/show_bug.cgi?id=436553 is related here That commit was to kio 5.66.0, I'm pretty sure this hasn't been happening for a year (In reply to Nicolas Fella from comment #1) > This behavior is somewhat intentional, but of course not ideal. The > challenge is this: > When setting up a SMB share in Dolphin it will save the credentials so that > you don't have to enter them all the time. KDE apps/apps using KIO all can > read these credentials, so e.g. when opening an image on a SMB share in > Gwenview works without entering the credentials in Gwenview again. > > The problem arises with apps that don't use KIO but understand smb URLs, > like smplayer or VLC. Dolphin could directly pass the smb URL to smplayer, > but then smplayer would need to ask you for the share's password, which > isn't ideal. Therefore Dolphin triggers kioexec to download the file and > pass that to smplayer. However that's trading one issue for another :/ > > That said, there is a better alternative in place, KIOFuse. Instead of > downloading the whole thing an passing it as a local file like kioexec > KIOFuse exposes a virtual file system. This should solve both problems. The > question here is why KIOFuse wasn't triggered in your case. Can you make > sure you have KIOFuse installed? I've installed kio-fuse and things work again, any idea when this became a requirement? |