GNOME Bugzilla – Bug 577178
When scanning MTP device it ignore the subfolders
Last modified: 2010-09-06 22:45:46 UTC
As said in the summary Banshee doesn't do a recursive scan into all the subfolders of the music folder with the result of not showing up songs transferred with Windows Media Player.
We use LIBMTP_Get_Tracklisting_With_Callback which claims to give you all tracks, regardless of folder. If you run the mtp-tracks command, I assume your tracks don't show up there either?
At the moment, using rhythmbox, all my tracks are shown even those trasferred with windows media player and stored into subfolders. With banshee i get only tracks stored in the main folder of the player.
Created attachment 137360 [details] mtp-tracks log and content of an MTP device with directories
(In reply to comment #1) > We use LIBMTP_Get_Tracklisting_With_Callback which claims to give you all > tracks, regardless of folder. If you run the mtp-tracks command, I assume your > tracks don't show up there either? > I have the same issue : Music files transfered via Window media player are not displayed by banshee (1.4.3 & 1.5) but they are with Rhymthmbox and mtp-tracks. See attachment.
I think I have the same issue: I can't see any track using Banshee because they're all in the subfolder Music. With Rhythmbox and mtp-tracks I can see them all. I cannot verify if a track in the root directory of the player gets listed by Banshee because I cannot transfer any file there. I'm using Banshee 1.4.3 and libmtp 1.0.0 on gentoo, and my player is a Creative ZEN 4 GB
> I'm using Banshee 1.4.3 and libmtp 1.0.0 on gentoo, and my player is a Creative > ZEN 4 GB I think you might be seeing a different bug - it seems banshee is incompatible with libmtp 1.0.0 (or there's a bug in this release of libmtp). Using earlier versions of libmtp I could get all the tracks on my device recognized by banshee, but with 1.0.0 banshee can't retrieve any tracks.
downgrading to libmtp-0.3.7 made banshee (git) work again.
Bulk changing the assignee to banshee-maint@gnome.bugs to make it easier for people to get updated on all banshee bugs by following that address. It's usually quite apparent who is working on a given bug by the comments and/or patches attached.
Banshee 1.5.1 on openSUSE 11.2, tested with libmtp versions 0.3.7 (tarball), 1.0.0 (tarball) and 1.0.1 (tarball as well as 11.2 package). For the first time I can see my Sony player. So things are getting better! But I still have still never tried any file transfer yet. About the sub-folders issue, whatever the libmtp version I use, Banshee only list music files present on the device MUSIC root. However files linked into playlists are recognized and shown in Banshee's device content sub-tree. They can be found in their right virtual location, inside their respective playlist node with their URI: mtp/file_id/file_name.
The problem is there in the actual version of banshee. Rythmbox and Amarok did not have this problem. If you need further information, please ask. Banshee: 1.6.0 libmtp: 0.3.7 OS: Ubuntu 9.10 Player: Samsung YP-K3
This bug was fixed a few months ago. It was only on 64bit systems caused by a bad wrapper around a libmtp struct.