After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 577178 - When scanning MTP device it ignore the subfolders
When scanning MTP device it ignore the subfolders
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: Device - MTP
1.4.3
Other Linux
: Normal normal
: 1.x
Assigned To: Banshee Maintainers
Gabriel Burt
Depends on:
Blocks:
 
 
Reported: 2009-03-29 11:06 UTC by The Lemon Man
Modified: 2010-09-06 22:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
mtp-tracks log and content of an MTP device with directories (142.96 KB, application/octet-stream)
2009-06-25 11:29 UTC, farfouille64
Details

Description The Lemon Man 2009-03-29 11:06:55 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.
Comment 1 Gabriel Burt 2009-04-30 01:25:27 UTC
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?
Comment 2 The Lemon Man 2009-05-02 13:57:53 UTC
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.
Comment 3 farfouille64 2009-06-25 11:29:36 UTC
Created attachment 137360 [details]
mtp-tracks log and content of an MTP device with directories
Comment 4 farfouille64 2009-06-25 11:30:18 UTC
(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.
Comment 5 Luca Wehrstedt 2009-08-28 21:14:44 UTC
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
Comment 6 nyall 2009-09-04 14:36:28 UTC
> 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.
Comment 7 onip 2009-09-16 08:51:43 UTC
downgrading to libmtp-0.3.7 made banshee (git) work again.
Comment 8 Gabriel Burt 2009-10-27 20:16:30 UTC
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.
Comment 9 charlessp 2009-11-13 19:27:40 UTC
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.
Comment 10 gandalf 2010-04-05 16:50:04 UTC
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
Comment 11 Alan McGovern 2010-09-06 22:45:46 UTC
This bug was fixed a few months ago. It was only on 64bit systems caused by a bad wrapper around a libmtp struct.