Bug 424517

Summary: Cannot play files from SMB Share
Product: [Applications] Elisa Reporter: Tomi <obi>
Component: generalAssignee: Matthieu Gallien <matthieu_gallien>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate
Priority: NOR    
Version: 19.12.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tomi 2020-07-21 20:04:44 UTC
SUMMARY
I'm trying to play Music from SMB share hosted on Synology NAS. 

STEPS TO REPRODUCE
1. Configure Elisa -> add path smb://username@server.local:445/music/ -> Nothing happens 
2. From Dolphin open music file in Elisa -> File appears on Elisa playlist but does not play.   

OBSERVED RESULT
Cannot playback Music from SMB share with Elisa

EXPECTED RESULT
Play music files from SMB share

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Pop!_OS 20.04
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION
Console error when trying to add folder with Configure Elisa: "setting:kf5.kio.kdirmodel: The kioslave for "smb" violates the hierarchy structure: I arrived at node "/music/" , but "/music" does not start with that path."

Console error when trying to playback file by opening it from Dolphin:
[00007f2490001b20] smb stream error: open failed for 'username:@server.local:445/music/Gamma Ray - Land of the Free II/01 - Into the Storm.flac' (Operation not permitted)
[000055b0e89ca660] main input error: Your input can't be opened
[000055b0e89ca660] main input error: VLC is unable to open the MRL 'smb://username:@server.local:445/music/Gamma Ray - Land of the Free II/01 - Into the Storm.flac'. Check the log for details.
qrc:/qml/ElisaMainWindow.qml:190:17: Unable to assign [undefined] to QString
qrc:/qml/HeaderBar.qml:94:9: QML Image: Failed to get image from provider: image://icon/error
qrc:/qml/HeaderBar.qml:60:9: QML Image: Failed to get image from provider: image://icon/error
[00007f248c0070f0] main stream error: cannot resolve  port 554 : Name or service not known
[00007f248c0070f0] access_realrtsp stream error: cannot connect to :554
[00007f248c0070f0] main stream error: Connection failed
[00007f248c0070f0] main stream error: VLC could not connect to ":554".
[00007f248c0070f0] nfs stream error: nfs_parse_url_incomplete failed: 'Invalid URL specified'
[000055b0e8dbe5c0] main input error: Your input can't be opened
[000055b0e8dbe5c0] main input error: VLC is unable to open the MRL ''. Check the log for details.
[00007f24900528c0] main stream error: cannot resolve  port 554 : Name or service not known
[00007f24900528c0] access_realrtsp stream error: cannot connect to :554
[00007f24900528c0] main stream error: Connection failed
[00007f24900528c0] main stream error: VLC could not connect to ":554".
[00007f24900528c0] nfs stream error: nfs_parse_url_incomplete failed: 'Invalid URL specified'
[000055b0e77edc80] main input error: Your input can't be opened
[000055b0e77edc80] main input error: VLC is unable to open the MRL ''. Check the log for details.
Comment 1 Matthieu Gallien 2020-07-27 20:33:08 UTC
Thanks for your report.

Your first step cannot be solved for the next release because that would need adding a new error message for invalid paths. Elisa is not supporting smb:// paths right now. This is a feature request.

Your second step might work if the music backend of Elisa is supporting smb:// paths itself and the file path is handled correctly. I will see if this can be fixed for next release.
Comment 2 Nate Graham 2020-11-11 18:21:26 UTC

*** This bug has been marked as a duplicate of bug 410001 ***