GNOME Bugzilla – Bug 534832
Videos not correctly handled on MTP device
Last modified: 2010-09-20 22:42:23 UTC
Please describe the problem: 0.99.1 did not copy videos to the player at all. 0.99.2 copies OK, but the tracks are still sorted in the library under "music" - and the "videos" tag is empty. Steps to reproduce: 1. Connect player 2. Drag video file to player 3. Click on MTP > Videos 4. Nothing there 5. Click on MTP > Music > Unknown Artist 6. Video tracks! Actual results: s/Banshee.Hal/Banshee.HalBackend/Volume.cs:185 at Banshee.HalBackend.Volume.Resolve (Banshee.HalBackend.BlockDevice parent, Hal.Manager manager, Hal.Device device) [0x00044] in /build/buildd/banshee-1-0.99.2/src/Backends/Banshee.Hal/Banshee.HalBackend/Volume.cs:56 PTP: Opening session Sending file /documents/shared/video/tv/nowhere man/01 - Absolute Zero.avi, is video? True LIBMTP_Send_Track_From_File_Descriptor(): I don't think this is actually a track, strange filetype... Sending file /documents/shared/video/tv/nowhere man/02 - Turnabout.avi, is video? True LIBMTP_Send_Track_From_File_Descriptor(): I don't think this is actually a track, strange filetype... Sending file /documents/shared/video/tv/nowhere man/03 - The Incredible Derek.avi, is video? True LIBMTP_Send_Track_From_File_Descriptor(): I don't think this is actually a track, strange filetype... Recognised as videos, but not sorted appropriately. Expected results: Files are listed under the video tag. Does this happen every time? Yes Other information:
*** Bug 549101 has been marked as a duplicate of this bug. ***
Is this still happening? What device do you have?
Here happening with 1.2.1 and Creative Zen
I have a similar issue. I don't think my player (Sony Walkman NWZ-A818) is using MTP for transfer, but UMS instead. But the problem is still the same, however. When I try to copy a video podcast, it ends up in music-->uknown artist on the device, just like with Trent. This is especially an issue with my walkman as videos may only be played from the video directory on it. I wonder if this is not an issue with MTP, but maybe either something with HAL (I looked for a video_folders directive, I don't think it exists) or possibly an issue with the podcast plugin? I'd be happy to see even a simple workaround which let me instruct banshee which directory to copy videos to. As far as HAL goes, I added this entry for the walkman: <!-- Sony Walkman Video MP3 NWZ-A818 --> <match key="@storage.originating_device:usb.product_id" int_outof="0x325"> <addset key="portable_audio_player.access_method.protocols" type="strlist">storage</addset> <append key="portable_audio_player.output_formats" type="strlist">audio/x-ms-wma</append> <append key="portable_audio_player.output_formats" type="strlist">audio/aac</append> <append key="portable_audio_player.output_formats" type="strlist">audio/x-wav</append> <append key="portable_audio_player.output_formats" type="strlist">video/mpeg4</append> <append key="portable_audio_player.audio_folders" type="strlist">music/</append> <append key="portable_audio_player.audio_folders" type="strlist">video/</append> </match> </match>
(In reply to comment #4) Forgot to add, I'm using the latest version: 1.4.3-3
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.
Using Banshee 1.5.3, Rockbox 3.5 on a Sansa e280v1 and Ubuntu 9.10 I am seeing the same issue. Video podcasts are appearing under "Music" on the Sansa.
Created attachment 169626 [details] [review] Patch to fix the issue The only easy way to fix this is to just force all videos (podcast or not) into the Video folder. There's no foolproof way of telling my MTP device that a video is a video podcast and then to put it in the ZENcast section in the Videos. Attached patch fixes the issue on my device and should also on yours.
Comment on attachment 169626 [details] [review] Patch to fix the issue This was already committed