Re: [Banshee-List] MTP sync adds invalid files, no album art



I've finally found the problem with the invalid files - an update in libmtp!

There was a commit [1] in March 2011 that adds "Folder" at the top of the libmtp.h enum. This obviously screws up the mapping that Banshee uses, so MP3 files in Banshee's enum were treated as WAV files by libmtp's enum, so my Creative Zen treated them as WAV files and failed to load them.

The album art issue appears to be caused by the check only checking for JPEG support, but the Creative Zen X-Fi support JFIF (which mtp-detect reports as JPEG support). If I add it "or JFIF" to the loop over file format support then I also get album art.

I'll write up a bug report and some patches this weekend, but if anyone else is having problems with MTP devices and invalid files or no album art then that could be the issue!



On 12/11/12 20:07, IBBoard wrote:
I've got a Creative Zen X-Fi that often refuses to sync properly with
Banshee. Every so often I find an update that makes it work again, but a
few months down the line (when I try to sync again) Banshee refuses to
play nicely again.

The problem I have is that Banshee sees all existing tracks as "Other"
(orange in the usage bar). Any tracks that Banshee adds appear to sync
correctly, but when I try to play them then a) they don't have any album
art and b) a message pops up saying "There is a problem playing this
audio" and then it skips to the next track (which also fails).

Syncing from Rhythmbox works fine (but doesn't have my album art, etc,
set up). Syncing from Banshee, disconnecting and re-connecting lets
Banshee see the tracks it synced, but not other tracks. Checking from
Nautilus, it looks like other tracks go in sub-folders, but Banshee
tracks don't.

I've tried various versions of libmtp in case a later one introduced a
bug, but without success. It has also happened with most of the 2.x
series at least once (I'm currently running 2.6).

Does anyone have any ideas or anything I can try to debug the issue
before reporting it as a bug?




Setup: openSUSE 12.2, libmtp9-1.1.5-2.1 (from openSUSE Factory) or the
normal v1.1.3, banshee-2.6.0 (from the Gnome:Apps OBS) or banshee-2.4.1
(from openSUSE 12.2), Creative Zen X-FI (8GB) 1.04.08_1.03.03

Debug logging just says:

[6 Debug 19:51:38.678] Found DAP support (Banshee.Dap.Mtp.MtpSource) for
device My ZEN and Uuid /devices/pci0000:00/0000:00:1a.7/usb1/1-4
[1 Debug 19:51:38.956] Finished - Startup Job
[1 Debug 19:51:45.857] Starting - Saving Metadata to File
[12 Debug 19:51:45.865] Finished - Saving Metadata to File
[1 Warn  19:51:55.142] Forcefully breaking out of RCS loop b/c change in
total_width less than 1.0
[11 Debug 19:51:57.925] Starting
[11 Debug 19:51:57.985] Initialized MediaProfileManager: 0.050448
[11 Debug 19:51:58.004] GStreamer pipeline does not run: audioconvert !
novellaacenc bitrate=128000 profile=2 outputformat=0 ! novellqtmux
[11 Debug 19:51:58.023] GStreamer pipeline does not run: audioconvert !
xingenc bitrate=128 ! id3v2mux
[11 Debug 19:51:58.031] GStreamer pipeline does not run: audioconvert !
fluwmaenc bitrate=64000 vbr=false ! fluasfmux
[11 Debug 19:52:18.855] Finished - Adding 6 of 6 to My ZEN
[1 Warn  19:52:24.430] Forcefully breaking out of RCS loop b/c change in
total_width less than 1.0
[1 Debug 19:52:24.442] Unmapping DAP source
(/devices/pci0000:00/0000:00:1a.7/usb1/1-4)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]