Version: 2.0-svn (using KDE 4.1.3)
Installed from: Ubuntu Packages
I want to play tracks off an SMB share. It won't put them into the playlist, either drag'n'drop from Konqueror or going in through the Amarok->Play Media->Network->Samba Shares.
When I select and click the track, the file selector closes but nothing is added to the playlist. When I drag a file from an smb:// window in Konqueror, the same. I'm running amarok from the command line - the terminal in both cases shows:
amarok(22838) KFileItem::isDir: can't say -> false
By the way, this is using 2.0 from today's svn.
I'm still getting the same behavior with 2.0.2 ran on KDE 4.2.68.
It won't load any file dropped or anyway loaded from a CIFS/SMB share which is opened in Dolphin via the "smb://" address or added to Places as "smb://hostname/sharename/".
The full file path when using KDE's Places or Dolphin is "smb://hostname/sharename/directory/file.mp3"
When I drop such a file on a running "amarok -d" instance reveals:
>>> Log >>>
amarok: Drop from external source or file browser
amarok: not a track no match
amarok: BEGIN: void Playlist::Controller::slotFinishDirectoryLoader(const Meta::TrackList&)
amarok: END__: void Playlist::Controller::slotFinishDirectoryLoader(const Meta::TrackList&) - Took 6.5e-05s
<<< Log <<<
And no file is added or played.
Adding (and of course, playing!) files works flawlessly when I mount the CIFS share and browse to it, then load files off it: the file will then have a "/media/share/directory/file.mp3" path. (but I can't do it anymore, because on network loss, the entire system blocks waiting for the stupid mount)
Apparent diagnosis: well Amarok seems unable to handle pseudo-URLs.
Steps to reproduce: Easy. You don't actually need a CIFS/Samba share. Just:
1) add a Folder View Applet
2) Open the Configuration for it
3) Click on "Specify a folder" and set the "desktop:/" url.
4) Put an .mp3 file on the Desktop and try to d&d it on Amarok.
It won't appear in the playlist nor be played.
*** Bug 193855 has been marked as a duplicate of this bug. ***
Any news on this? I can't test here
I observe the same behaviour in Amarok 2.1.1 and KDE 4.3.0 - the URL are not handled.
Marked as confirmed then
Fixed with commit c778f4f820ccb4260f99005086a1ccdc9dcc16e4
Great! This fix helps indeed. However:
1. When I load smb://host/Music/1.mp3, in playlist it appears like "Stream (smb://....)". I do not see neither song name, nor artist, no any other meta data (although I can play a song).
2. Consequently, loading directories does not work as well - they also appear as a single "Stream (smb://....)" entry and obviously their contents are not played.
I'm using Amarok 2.2.1 from Kubuntu PPA.
Amarok 2.x is out for two years(!) already and SMB support never worked. While this is definitely a good step forward, its still lacks important features, especially with regards to not working directory load. In Amarok 1.x smb:// support was great.
What are the chances to fix issues 1 and 2?
Please do not comment on closed bugs.
The problem is not so much Amarok but Samba. We usually suggest people use NFS shares or an Ampache music server instead.