Bug 410001 - Allow network URLs (e.g. smb://, ftp://, webdavs://) to be configured as as music locations
Summary: Allow network URLs (e.g. smb://, ftp://, webdavs://) to be configured as as m...
Status: CONFIRMED
Alias: None
Product: Elisa
Classification: Applications
Component: general (show other bugs)
Version: 0.4.2
Platform: Manjaro Linux
: HI wishlist
Target Milestone: ---
Assignee: Matthieu Gallien
URL:
Keywords:
: 393180 414547 422365 424517 436917 447180 462363 467618 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-07-19 14:52 UTC by Jack
Modified: 2024-03-06 21:57 UTC (History)
18 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
The error code that appears when you try to open a samba-shared file (21.06 KB, image/png)
2019-07-19 14:52 UTC, Jack
Details
Elisa log when opening a file from a non protected share (188.70 KB, image/png)
2020-01-16 21:27 UTC, Jack
Details
Elisa log when opening a file from a password protected share (286.86 KB, image/png)
2020-01-16 21:28 UTC, Jack
Details
Elisa Local Files Indexer error message (72.82 KB, image/png)
2020-01-16 21:28 UTC, Jack
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jack 2019-07-19 14:52:55 UTC
Created attachment 121629 [details]
The error code that appears when you try to open a samba-shared file

SUMMARY
I'm unable to scan (and therefore add to my library) the music folder located in my local NAS (being cifs-mounted or not) with the Elisa tool (the progress bar advances but it doesn't do anything).  
Also, if I try to open a file by manually searching it, Elisa displays the attached error, which says "file.aiff is a file, but a folder was expected" 
I've tried to play the files with VLC and everything works fine.

STEPS TO REPRODUCE
1a. Try to add a samba-shared folder to the music library with Elisa
1b. Try to play a file located in a remote samba-shared folder with Elisa, or mount that folder and try to play one of its file

OBSERVED RESULT
a. Anything has changed
b. The attached error appears


EXPECTED RESULT
a. The album contained in the folder and subfolder should be added to the music library
b. The files should play correctly like every audio file located in storage devices like the computer hard disk or a USB pendrive


SOFTWARE/OS VERSIONS
Linux: Manjaro x64 updated with the latest packages as of 2019-07-19
KDE Plasma Version: latest released as of 2019-07-19
KDE Frameworks Version: latest released as of 2019-07-19
Qt Version: latest released as of 2019-07-19
Comment 1 Nate Graham 2019-07-21 22:44:29 UTC
How are you accessing the Samba shared folder? Locally mounting it? from the smb://server/share path? Some other method?
Comment 2 Jack 2019-07-23 20:17:06 UTC
(In reply to Nate Graham from comment #1)
> How are you accessing the Samba shared folder? Locally mounting it? from the
> smb://server/share path? Some other method?

If in Dolphin I navigate to smb://server/share and I play the diles with Elisa, nothing happens
If I mount smb://server/share to /home/jack/music/smb I can see that folder and all of its content in Elisa, but when I try to play an audio file I only get the attached error message
Comment 3 Nate Graham 2019-07-23 20:41:39 UTC
Thank you! If neither of those methods work, that's not good. Ideally both should.
Comment 4 Alexander Stippich 2019-11-07 17:38:44 UTC
I cannot reproduce when the samba share is mounted. Is this still an issue with latest git?
Comment 5 Nate Graham 2019-11-28 05:21:36 UTC
*** Bug 414547 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2020-01-16 20:24:16 UTC
Can you try again with Elisa 19.12.1? We think we've fixed this now.
Comment 7 Jack 2020-01-16 21:26:12 UTC
(In reply to Nate Graham from comment #6)
> Can you try again with Elisa 19.12.1? We think we've fixed this now.

Thank you all, I've just tried, here is what I found:

RESULTS
[smb share mounted on local folder]
        Working as if the music files are stored in the local drive
[file in a non protected smb share > right click > Open with Elisa]
        Working, see the "smb-free.png" attachment
[file in password protected smb share > right click > Open with Elisa]
        Not working, see the "smb-protected.png" attachment

PROBLEMS
I have the password of the protected share stored in Dolphin, and when I use it to open the remote folder it behaves normally. Why can't Elisa (and VLC) access to the share using Dolphin? Or its credentials? Or at least prompt the user to enter them?

Also, any idea on why I'm getting the message in the "indexer.png" attachment? I've just reinstalled and removed "/home/jack/.cache/elisa/" and "/home/jack/.local/share/elisa/"

In both the working cases I still can't:
- see the artwork in Elisa
- see the files under "recently played"
Comment 8 Jack 2020-01-16 21:27:26 UTC
Created attachment 125182 [details]
Elisa log when opening a file from a non protected share
Comment 9 Jack 2020-01-16 21:28:00 UTC
Created attachment 125183 [details]
Elisa log when opening a file from a password protected share
Comment 10 Jack 2020-01-16 21:28:38 UTC
Created attachment 125184 [details]
Elisa Local Files Indexer error message
Comment 11 Nate Graham 2020-01-16 23:39:27 UTC
It looks like the local file indexer didn't get installed properly, which is possibly a distro packaging issue, or else some kind of local error. That would be throwing off other things. I would recommend getting that fixed and then trying again.
Comment 12 Bug Janitor Service 2020-01-31 04:33:13 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 13 Jack 2020-02-01 12:15:44 UTC
Reinstalling elisa doesn't solve the file indexer problem
Comment 14 Patrick Silva 2020-02-10 17:12:17 UTC
I can play file from a samba share with elisa 19.12.2 running
"elisa smb://samba-server/path/to/file/song.mp3" in Konsole.

Operating System: Arch Linux 
KDE Plasma Version: 5.17.90
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1
Comment 15 Patrick Silva 2020-02-10 17:19:57 UTC
But I can't add a samba share to elisa settings. 
When I click on "Ok" button to confirm selection, "Configure" window closes
and the path is not added.
Comment 16 Matthieu Gallien 2020-02-10 21:05:26 UTC
(In reply to Patrick Silva from comment #15)
> But I can't add a samba share to elisa settings. 
> When I click on "Ok" button to confirm selection, "Configure" window closes
> and the path is not added.

Elisa is now correctly giving the smb:// url to the audio player and it just works.

Indexing the music directly from a samba share would require direct support in Elisa and it is not yet done (would probably require usage of KIO). This could be quite slow if you have a big collection and may require some support for preindexing your music like Amarok could.
Comment 17 Nate Graham 2020-11-11 18:09:45 UTC
*** Bug 422365 has been marked as a duplicate of this bug. ***
Comment 18 Nate Graham 2020-11-11 18:21:26 UTC
*** Bug 424517 has been marked as a duplicate of this bug. ***
Comment 19 Nate Graham 2020-11-11 18:30:24 UTC
*** Bug 393180 has been marked as a duplicate of this bug. ***
Comment 20 Nate Graham 2021-05-11 15:05:48 UTC
*** Bug 436917 has been marked as a duplicate of this bug. ***
Comment 21 Patrick Silva 2021-12-18 22:49:54 UTC
*** Bug 447180 has been marked as a duplicate of this bug. ***
Comment 22 John 2022-08-22 14:19:52 UTC
I'm not exactly sure if i should report here or at bug 418605 (should i duplicate the comment there as well???)...

Anyway, here is my case:

I have musics on my phone.

I would like to be able, when i am on the network (kde connect'ed, for example...), that elisa would load that musics and let me ear them (stream them from my phone) just like it came from any other hard drive.
Comment 23 Patrick Silva 2022-11-28 20:33:06 UTC
*** Bug 462363 has been marked as a duplicate of this bug. ***
Comment 24 Patrick Silva 2023-03-20 20:22:59 UTC
*** Bug 467618 has been marked as a duplicate of this bug. ***