[Bug 559658] Re: Music residing on GVFS mounted SMB shares won't be imported

2010-05-08 Thread Leon Breedt
This may be related to
https://bugs.launchpad.net/ubuntu/+source/gstreamer0.10/+bug/273294.

Regardless, I have found why it seems to be occurring.

It seems that entries on an SMB share do not necessarily have the
G_FILE_ATTRIBUTE_ACCESS_CAN_READ attribute, therefore the check in
_should_process() fails for these entries.

The result of this is that no directories are recursed into, and no
files are imported, with no feedback to the user that this has occurred.

My NAS Samba version:

  MediaServer /usr/syno/sbin/smbd --version
  Version 3.0.20b

This appears to be fixed upstream by commit
a57a51913b1057c85603bf3ada52f6d76582d139 in the Rhythmbox GIT repository
(patch attached), however applying that patch to the Ubuntu Rhythmbox
exposes some other problems which may be because the patch modifies
assumptions made by other code. E.g. Now it enumerates the directories
on the NAS, but I get not mounted errors later halfway through the
process, followed by a segfault.


** Patch added: rhythmbox-ignore-missing-processing-attributes.diff
   
http://launchpadlibrarian.net/48042490/rhythmbox-ignore-missing-processing-attributes.diff

-- 
Music residing on GVFS mounted SMB shares won't be imported
https://bugs.launchpad.net/bugs/559658
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to rhythmbox in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 559658] Re: Music residing on GVFS mounted SMB shares won't be imported

2010-05-08 Thread Leon Breedt
Just to clarify, applying the patch in my previous comment does cause
Rhythmbox to successfully add a number of files to its database before
it crashes.

-- 
Music residing on GVFS mounted SMB shares won't be imported
https://bugs.launchpad.net/bugs/559658
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to rhythmbox in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 273294] Re: Rhythmbox can not use smb:// as library location

2010-05-08 Thread Leon Breedt
See my comments at the end of
https://bugs.launchpad.net/ubuntu/+source/rhythmbox/+bug/559658, may be
the same bug.

-- 
Rhythmbox can not use smb:// as library location
https://bugs.launchpad.net/bugs/273294
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs