GNOME Bugzilla – Bug 628038
AppleDevice sets Drm/Protected attribute on all songs
Last modified: 2010-08-29 20:34:33 UTC
When my iPod is loaded by the AppleDevice dap backend, all songs have the Protected attribute, which is set here: if (track.DRMUserID > 0) { PlaybackError = StreamPlaybackError.Drm; } in src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs Printing out those DRMUserID values, they seem sequential (1 - 149, for 149 tracks). Probably an issue in libgpod then?
Created attachment 168814 [details] [review] Patch to fix a marshalling issue The attached patch fixes this issue and several others. We were treating a 4 byte field as being a 1 byte field which meant that every time we accessed a property declared *after* the "transferred" property, we were reading/writing to it with a 3 byte offset.
*** Bug 626923 has been marked as a duplicate of this bug. ***
Comment on attachment 168814 [details] [review] Patch to fix a marshalling issue I pushed it to libgpod git