Bug 432628 - Dolphin can't preview files accessed via smb:// in the information panel
Summary: Dolphin can't preview files accessed via smb:// in the information panel
Status: RESOLVED UNMAINTAINED
Alias: None
Product: phonon-backend-gstreamer
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.10.0
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-08 00:49 UTC by Jason Straight
Modified: 2022-11-24 02:29 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Dolphin browsing shared smb folder containing sounds (70.10 KB, image/png)
2021-02-09 21:54 UTC, Jason Straight
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Straight 2021-02-08 00:49:51 UTC
Not sure if this should be filed under dolphin, or kio-fuse.

Navigating to a remote folder with multimedia files, like sound/video doesn't allow me to play the previews in the preview pane in Dolphin.
Comment 1 Nate Graham 2021-02-09 21:06:10 UTC
How are you navigating to the folder? Via Dolphin? Can you verify whether the path shown in the URL navigator is a FUSE mount path or not? A screenshot would help me help you. :)
Comment 2 Jason Straight 2021-02-09 21:54:52 UTC
Created attachment 135544 [details]
Dolphin browsing shared smb folder containing sounds
Comment 3 Nate Graham 2021-02-09 21:58:10 UTC
Thanks. This view isn't provided by kio-fuse at all; it's provided by the SMB kioslave. Can you go to Dolphin's config window > General > Previews and tell me what the value is in the spinbox for "Skip previews for remote files above". I suspect it says "No previews". :)
Comment 4 Jason Straight 2021-02-09 21:59:57 UTC
I've actually got that set to 10MB.
Comment 5 Nate Graham 2021-02-09 22:04:00 UTC
Okay so you're seeing a bug in the SMB ioslave then. Moving this over there.

FWIW it works for me. I have mine set to 5 MB and I see previews on my Samba share for files under that size.

What version of Dolphin are you using? And what distro are you using? For future reference, these are good pieces of information to add to the initial bug report. :)
Comment 6 Jason Straight 2021-02-09 22:15:48 UTC
For the record, we're talking about the same preview right? The pane on the right? The play button is what doesn't work for me.


Dolphin 20.12.2 on Manjaro

Operating System: Manjaro Linux
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.10.14-1-MANJARO
OS Type: 64-bit
Processors: 12 × Intel® Core™ i7-9750H CPU @ 2.60GHz
Memory: 15.5 GiB of RAM
Graphics Processor: GeForce RTX 2060/PCIe/SSE2
Comment 7 Nate Graham 2021-02-09 23:01:16 UTC
Oh, the play button doesn't work? I thought you were talking about the fact that the icons don't have thumbnails. Reading through the text you wrote, I have no idea why I got that confused.

I can confirm the real issue. Might be in Dolphin, or might be in the smb ioslave. Leaving it here for now.
Comment 8 Harald Sitter 2021-02-10 10:19:12 UTC
Which phonon backend do you have installed?
Comment 9 Jason Straight 2021-02-10 13:27:25 UTC
(In reply to Harald Sitter from comment #8)
> Which phonon backend do you have installed?

junfan@V ~ % yay -Q | grep phonon
phonon-qt5 4.11.1-2
phonon-qt5-gstreamer 4.10.0-2
Comment 10 Nate Graham 2021-02-10 14:43:50 UTC
Name           : libphonon4qt5
Version        : 4.11.1-1.7

Name           : phonon4qt5-backend-gstreamer
Version        : 4.10.0-1.7
Comment 11 Harald Sitter 2021-02-17 13:12:37 UTC
Moving to pgst then, though I'm not sure that is even maintained.

The KIO->phonon streaming interface isn't ideal but practically it should and does work for me with VLC. In fact, without knowing why pgst falls on the face I don't see how to improve the streaming interface in a fashion that would help the backend fix streaming and also it'd need someone to write the code in the backend.

There could be an argument made that dolphin previews of non-local urls should be changed to run through kio-fuse thereby avoiding the bespoke streaming code entirely and likely fixing whatever is wrong with the backend for the purposes of this feature.
Comment 12 Nate Graham 2022-11-24 02:29:48 UTC
This backend for Phonon is no longer maintained or supported, and has not been for quite some time. Please use the VLC backend instead--which is the recommended and maintained replacement--and see if you can reproduce the issue there. If you can, please open a new bug report at https://bugs.kde.org/enter_bug.cgi?product=phonon-backend-vlc.

Thanks a lot!