GNOME Bugzilla – Bug 630209
Podcasts not showing under Podcast menu in iPod Nano
Last modified: 2020-03-17 09:00:24 UTC
Hi, I'm not sure if this is a libgpod or a banshee bug, but it seems like it'd be good to keep track of it here. The issue is that although I can successfully sync my ipod, podcasts show up in the main music library, not the podcast library, in the iPod. When I disconnect the iPod and connect it again, both programs show an empty podcast sections and the podcast files show up (as in the ipod) in the main music library. I'm using an updated version of libgpod (0.7.94) from the banshee-daily PPA, but I tried to downgrade to the version available in lucid (0.7.93) and got the same results with gtkpod. Three additional details: - to get around https://bugzilla.gnome.org/show_bug.cgi?id=629838 I'm using a patched version of libgpod-sharp (the patch is in this bug report) - this happens with gtkpod too - this problem is reported here too: https://bugs.launchpad.net/ubuntu/+source/libgpod/+bug/642441 Thanks.
I think this commit is likely to improve this situation. http://git.gnome.org/browse/banshee/commit/?id=0ca9006011eb2e02ab4cf03305f52ed81d0e8a61
Hi David, I just compiled banshee and libgpod from git. The podcast now show up in the Podcast playlist in Banshee when I sync, but they still show up in the main music library in my ipod. Can we mark this bug confirmed?
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report. This commit adds correct metadata corrections for supported iPod categories. http://git.gnome.org/browse/banshee/commit/?id=0ca9006011eb2e02ab4cf03305f52ed81d0e8a61
Hi David, Thanks. I'll wait for the next version, although the patch you mention is already in the git version I compiled, which did not solve the problem. Best.
My apologies, I misread your comment as confirmation of this being fixed. Manhandling Bugzilla back into its prior state.
Bumping the importance on this. I didn't see it getting reopened so I thought this was fixed for 1.8.0. Whoops. We'll try get this fixed asap.
Hi, Can we change the status of this bug to 'confirmed'?
I'm having the same problem with Banshee 1.7.6 and an ipod 5g (16gb, blue). I'm running Ubuntu 10.10 with libgpod4 (0.7.95-1).
Bug 631246 looks very similar to this and has lots of debugging output.
*** Bug 631777 has been marked as a duplicate of this bug. ***
Could the affected parties please provide the information as requested on the following page? http://live.gnome.org/Banshee/LibgpodTransition
*** Bug 631246 has been marked as a duplicate of this bug. ***
Created attachment 172505 [details] Banshee Log
Hi David, In my case, iPod Nano, Blue, 5th Generation (previous to the latest one) S/N YM02854272X Model: MC066LL Firmware: 1.0.2 I'm attaching the rest. Cheers
Created attachment 172506 [details] gvfs-mount -list output
Created attachment 172507 [details] udevadm info --export-db output
This works for me on my iPhone with banshee from git master and from what I recall it should also work with 1.8.0. Can you try the 1.8.0 release to verify that everything is ok with your device? If it works fine for you, could you mark this bug as resolved/closed? Otherwise, let me know :) Thanks!
Hi Alan, I'have a 3rd generation iPod Touch (with iOS 4.1): podcasts and music are seen under Video section.
Hi Alan, Sorry for the delay in answering. I am now using 1.8.0 from Ubuntu 10.10. The problem still persists in that version. all the best.
Hi Alan, Just to add, this is the output when I connect the iPod and try to sync. Sometimes (like this one) old podcasts are not deleted from the Ipod, even though I have set 'sync entire library' and the podcasts in question are no longer in my library. [2 Debug 08:16:54.924] Refreshing any podcasts that haven't been updated in over an hour [3 Info 08:16:55.064] AppleDeviceSource is ignoring unmounted volume 107 GB Filesystem [3 Warn 08:16:55.110] Caught an exception - System.InvalidOperationException: Operation is not valid due to the current state of the object (in `Banshee.Dap.AppleDevice') at Banshee.Dap.AppleDevice.AppleDeviceSource.DeviceInitialize (IDevice device) [0x0022e] in /build/buildd/banshee-1.8.0/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceSource.cs:118 at Banshee.Dap.DapService.FindDeviceSource (IDevice device) [0x00025] in /build/buildd/banshee-1.8.0/src/Dap/Banshee.Dap/Banshee.Dap/DapService.cs:162 [4 Debug 08:16:55.888] DAAP Proxy listening for connections on port 8089 [1 Debug 08:16:55.933] Finished - Startup Job [3 Debug 08:16:57.376] Found DAP support (Banshee.Dap.AppleDevice.AppleDeviceSource) for device TocaDiscos and Uuid /devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.0/host6/target6:0:0/6:0:0:0/block/sdb/sdb1 ** (Banshee:8314): WARNING **: Unknown action (0x2000400) in smart playlist will be ignored. ** (Banshee:8314): WARNING **: Unknown smart rule action at 4702310: 2000400. Trying to continue. ** (Banshee:8314): WARNING **: Unknown action (0x2000400) in smart playlist will be ignored. ** (Banshee:8314): WARNING **: Unknown smart rule action at 4703622: 2000400. Trying to continue. ** (Banshee:8314): WARNING **: Unknown action (0x2000400) in smart playlist will be ignored. ** (Banshee:8314): WARNING **: Unknown smart rule action at 4704938: 2000400. Trying to continue. ** (Banshee:8314): WARNING **: Unknown action (0x2000400) in smart playlist will be ignored. ** (Banshee:8314): WARNING **: Unknown smart rule action at 4706248: 2000400. Trying to continue. [5 Warn 08:17:25.720] Caught an exception - System.NullReferenceException: Object reference not set to an instance of an object (in `Banshee.Dap.AppleDevice') at Banshee.Dap.AppleDevice.AppleDeviceTrackInfo.LoadFromIpodTrack () [0x00007] in /build/buildd/banshee-1.8.0/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs:115 [5 Warn 08:17:25.733] Caught an exception - System.NullReferenceException: Object reference not set to an instance of an object (in `Banshee.Dap.AppleDevice') at Banshee.Dap.AppleDevice.AppleDeviceTrackInfo.LoadFromIpodTrack () [0x00007] in /build/buildd/banshee-1.8.0/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs:115 [5 Warn 08:17:25.773] Caught an exception - System.NullReferenceException: Object reference not set to an instance of an object (in `Banshee.Dap.AppleDevice') at Banshee.Dap.AppleDevice.AppleDeviceTrackInfo.LoadFromIpodTrack () [0x00007] in /build/buildd/banshee-1.8.0/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs:115 [5 Warn 08:17:25.816] Caught an exception - System.NullReferenceException: Object reference not set to an instance of an object (in `Banshee.Dap.AppleDevice') at Banshee.Dap.AppleDevice.AppleDeviceTrackInfo.LoadFromIpodTrack () [0x00007] in /build/buildd/banshee-1.8.0/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs:115 [5 Warn 08:17:25.856] Caught an exception - System.NullReferenceException: Object reference not set to an instance of an object (in `Banshee.Dap.AppleDevice') at Banshee.Dap.AppleDevice.AppleDeviceTrackInfo.LoadFromIpodTrack () [0x00007] in /build/buildd/banshee-1.8.0/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs:115 [5 Warn 08:17:25.888] Caught an exception - System.NullReferenceException: Object reference not set to an instance of an object (in `Banshee.Dap.AppleDevice') at Banshee.Dap.AppleDevice.AppleDeviceTrackInfo.LoadFromIpodTrack () [0x00007] in /build/buildd/banshee-1.8.0/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs:115 [5 Warn 08:17:25.919] Caught an exception - System.NullReferenceException: Object reference not set to an instance of an object (in `Banshee.Dap.AppleDevice') at Banshee.Dap.AppleDevice.AppleDeviceTrackInfo.LoadFromIpodTrack () [0x00007] in /build/buildd/banshee-1.8.0/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs:115 [6 Debug 08:18:17.762] Starting DAP sync [6 Debug 08:18:18.649] Ending DAP sync [7 Debug 08:18:21.001] Starting AppleDevice sync thread cycle [7 Debug 08:18:21.005] Starting - Syncing iPod ** (Banshee:8314): WARNING **: Unknown action type 33555456 ** (Banshee:8314): CRITICAL **: itdb_splr_validate: assertion `at != ITDB_SPLAT_UNKNOWN' failed ** (Banshee:8314): WARNING **: Unknown action type 33555456 ** (Banshee:8314): CRITICAL **: itdb_splr_validate: assertion `at != ITDB_SPLAT_UNKNOWN' failed ** (Banshee:8314): WARNING **: Unknown action type 33555456 ** (Banshee:8314): CRITICAL **: itdb_splr_validate: assertion `at != ITDB_SPLAT_UNKNOWN' failed ** (Banshee:8314): WARNING **: Unknown action type 33555456 ** (Banshee:8314): CRITICAL **: itdb_splr_validate: assertion `at != ITDB_SPLAT_UNKNOWN' failed ** (Banshee:8314): CRITICAL **: itdb_splr_validate: assertion `at != ITDB_SPLAT_UNKNOWN' failed libitdbprep: itdb_sqlite_generate_itdbs called with file /media/TOCADISCOS/iPod_Control/iTunes/iTunesCDB and uuid 000A270020A85614 itlp directory='/media/TOCADISCOS/iPod_Control/iTunes/iTunes Library.itlp' *.itdb files will be stored in '/media/TOCADISCOS/iPod_Control/iTunes/iTunes Library.itlp' [mk_Dynamic] Processing '/tmp/filekMBcB4/Dynamic.itdb' [mk_Dynamic] creating table structure [mk_Dynamic] - processing 2359 tracks [mk_Dynamic] - processing 4 playlists [mk_Dynamic] done. [mk_Extras] Processing '/tmp/filekMBcB4/Extras.itdb' [mk_Extras] re-building table structure [mk_Extras] done. [mk_Genius] Processing '/tmp/filekMBcB4/Genius.itdb' [mk_Genius] re-building table structure [mk_Genius] done. library_persistent_id = 0x30a276fc8233cc85 [mk_Library] Processing '/tmp/filekMBcB4/Library.itdb' [mk_Library] building table structure [mk_Library] compiling SQL statements [mk_Library] - inserting into "version_info" [mk_Library] - inserting into "genre_map" [mk_Library] - inserting songs into "item_to_container" [mk_Library] - inserting playlist 'TocaDiscos' into "container" [mk_Library] - inserting songs into "item_to_container" [mk_Library] - inserting playlist 'Podcasts' into "container" [mk_Library] - inserting songs into "item_to_container" [mk_Library] - inserting playlist 'iPod' into "container" [mk_Library] - inserting songs into "item_to_container" [mk_Library] - inserting playlist 'Unheard' into "container" library_persistent_id = 0x30a276fc8233cc85 device name = TocaDiscos [mk_Library] - inserting into "db_info" [mk_Library] - processing 2359 tracks [mk_Library] done. [mk_Locations] Processing '/tmp/filekMBcB4/Locations.itdb' [mk_Locations] re-building table structure [mk_Locations] Processing 2359 tracks... [mk_Locations] done. [run_post_process_commands] Getting SQL post process commands [run_post_process_commands] Running 88 post process commands now [run_post_process_commands] ERROR when executing 'CreateRentalExpiredColumn': duplicate column name: rental_expired [run_post_process_commands] 87 out of 88 post process commands successfully executed [run_post_process_commands] done. itdbprep: copying 'Dynamic.itdb' itdbprep: copying 'Extras.itdb' itdbprep: copying 'Genius.itdb' itdbprep: copying 'Library.itdb' itdbprep: copying 'Locations.itdb' itdbprep: copying 'Locations.itdb.cbk' [7 Info 08:18:29.650] Wrote iPod database [7 Debug 08:18:29.651] Finished - Syncing iPod [7 Debug 08:18:29.653] Ending AppleDevice sync thread cycle
This commit seems to indicate that this specific bug has been addressed: http://git.gnome.org/browse/banshee/commit/?id=58db80fad813f863f9e2a7e877aec0de2744ee37 1.8.0 doesn't carry this though, so it would be great if you could try the banshee daily ppa and confirm if it is working correctly.
Hi David The daily build hasn't been working with my ipod for a while. I can't even sync music with it. Instead, I tried applying that commit to the version in maverick-updates. No luck, the podcasts went straight to music.
to add, I still get a bunch of warnings: [14 Warn 02:04:36.313] Caught an exception - System.NullReferenceException: Object reference not set to an instance of an object (in `Banshee.Dap.AppleDevice') at Banshee.Dap.AppleDevice.AppleDeviceTrackInfo.LoadFromIpodTrack () [0x00007] in /home/cmoffat/Sandbox/banshee-1.8.0/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs:115 [14 Warn 02:04:36.326] Caught an exception - System.NullReferenceException: Object reference not set to an instance of an object (in `Banshee.Dap.AppleDevice') at Banshee.Dap.AppleDevice.AppleDeviceTrackInfo.LoadFromIpodTrack () [0x00007] in /home/cmoffat/Sandbox/banshee-1.8.0/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs:115 [14 Warn 02:04:36.345] Caught an exception - System.NullReferenceException: Object reference not set to an instance of an object (in `Banshee.Dap.AppleDevice') at Banshee.Dap.AppleDevice.AppleDeviceTrackInfo.LoadFromIpodTrack () [0x00007] in /home/cmoffat/Sandbox/banshee-1.8.0/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs:115 [14 Warn 02:04:36.359] Caught an exception - System.NullReferenceException: Object reference not set to an instance of an object (in `Banshee.Dap.AppleDevice') at Banshee.Dap.AppleDevice.AppleDeviceTrackInfo.LoadFromIpodTrack () [0x00007] in /home/cmoffat/Sandbox/banshee-1.8.0/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs:115 [14 Warn 02:04:36.372] Caught an exception - System.NullReferenceException: Object reference not set to an instance of an object (in `Banshee.Dap.AppleDevice') at Banshee.Dap.AppleDevice.AppleDeviceTrackInfo.LoadFromIpodTrack () [0x00007] in /home/cmoffat/Sandbox/banshee-1.8.0/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs:115
Hi Again, After a few more tries: - The daily ppa version doesn't work at all, it made a mess of my music & podcast collections in my ipod. - The maverick-updates version with the above commit didn't work. the podcasts *still* show up in the music library, but they don't even play. - The vanilla maverick-updates version has this bug. Weirdly, I had added a few podcasts in iTunes, and in Banshee they show up in the video section. Crazy stuff.
Hi Again, Ok, need to correct that last post. I hadn't deleted ~/.config/banshee-1/addins-001 after I installed a new version. When I did that, the daily ppa version worked for music and podcasts, but the podcasts still show up in the music section of the ipod. Bummer.
Hello, First, could we marked this bug as confirmed? It seems like there's enough info already. Also, looking at the gpodder source, it looks like those guys set *all* four flags (see Gabriel's patch linked above to see what I'm talking about) instead of just one. I tried (and failed) to do this myself with the Banshee source code, but it didn't work. Maybe that's the problem? Carlos
(In reply to comment #26) > > First, could we marked this bug as confirmed? It seems like there's enough info > already. It looks like you've given all of the requested information, and between the duplicates and the 9 people on the CC list, it's probably safe to assume that this is a real problem. ;) Setting the bug to NEW.
This is a dupe of fixed bug #631172 *** This bug has been marked as a duplicate of bug 631172 ***
Gabriel, I'll try git again if needed, but as you can see from my previous comments to this bug, setting Flag4 did not fix the problem for me. Mine is a 5th Generation Nano.
It should be fixed in 1.9.0 as well. Yes, please do test 1.9.0 -- it fixed the issue for me and at least one other person.
Gabriel, Ok, I will. Although I'm afraid that if we're talking about this patch: http://git.gnome.org/browse/banshee/commit/?id=58db80fad813f863f9e2a7e877aec0de2744ee37 I already tried, and didn't work. Cheers.
Hi Gabriel, This is the output I get using Ubuntu's daily build from today when I try to sync my podcast library: Starting DAP sync [6 Debug 22:39:38.674] Starting [6 Debug 22:39:39.415] Initialized MediaProfileManager: 0.699398 [6 Debug 22:39:39.502] GStreamer pipeline does not run: audioconvert ! novellaacenc bitrate=128000 profile=2 outputformat=0 ! novellqtmux [6 Debug 22:39:39.581] GStreamer pipeline does not run: audioconvert ! xingenc bitrate=128 ! id3v2mux [6 Debug 22:39:39.632] GStreamer pipeline does not run: audioconvert ! fluwmaenc bitrate=64000 vbr=false ! fluasfmux [6 Debug 22:40:00.309] Finished - Adding 5 of 5 to Vitrola [6 Debug 22:40:05.317] Ending DAP sync [7 Debug 22:40:06.723] Starting AppleDevice sync thread cycle [7 Debug 22:40:06.726] Starting - Syncing iPod ** (Banshee:10472): CRITICAL **: itdb_cp_track_to_ipod: assertion `filename' failed [7 Warn 22:40:07.497] Cannot save track to iPod - System.NullReferenceException: Object reference not set to an instance of an object (in `libgpod-sharp') at GPod.ITDB.GetLocalPath (GPod.Device device, GPod.Track track) [0x00000] in <filename unknown>:0 at Banshee.Dap.AppleDevice.AppleDeviceTrackInfo.CommitToIpod (GPod.ITDB database) [0x00395] in /build/buildd/banshee-1.9.0+git20101122.r1.f300117/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs:287 at Banshee.Dap.AppleDevice.AppleDeviceSource.PerformSyncThreadCycle () [0x000a2] in /build/buildd/banshee-1.9.0+git20101122.r1.f300117/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceSource.cs:530 ** (Banshee:10472): CRITICAL **: itdb_cp_track_to_ipod: assertion `filename' failed [7 Warn 22:40:07.500] Cannot save track to iPod - System.NullReferenceException: Object reference not set to an instance of an object (in `libgpod-sharp') at GPod.ITDB.GetLocalPath (GPod.Device device, GPod.Track track) [0x00000] in <filename unknown>:0 at Banshee.Dap.AppleDevice.AppleDeviceTrackInfo.CommitToIpod (GPod.ITDB database) [0x00395] in /build/buildd/banshee-1.9.0+git20101122.r1.f300117/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs:287 at Banshee.Dap.AppleDevice.AppleDeviceSource.PerformSyncThreadCycle () [0x000a2] in /build/buildd/banshee-1.9.0+git20101122.r1.f300117/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceSource.cs:530 ** (Banshee:10472): CRITICAL **: itdb_cp_track_to_ipod: assertion `filename' failed [7 Warn 22:40:07.503] Cannot save track to iPod - System.NullReferenceException: Object reference not set to an instance of an object (in `libgpod-sharp') at GPod.ITDB.GetLocalPath (GPod.Device device, GPod.Track track) [0x00000] in <filename unknown>:0 at Banshee.Dap.AppleDevice.AppleDeviceTrackInfo.CommitToIpod (GPod.ITDB database) [0x00395] in /build/buildd/banshee-1.9.0+git20101122.r1.f300117/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs:287 at Banshee.Dap.AppleDevice.AppleDeviceSource.PerformSyncThreadCycle () [0x000a2] in /build/buildd/banshee-1.9.0+git20101122.r1.f300117/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceSource.cs:530 ** (Banshee:10472): CRITICAL **: itdb_cp_track_to_ipod: assertion `filename' failed [7 Warn 22:40:07.507] Cannot save track to iPod - System.NullReferenceException: Object reference not set to an instance of an object (in `libgpod-sharp') at GPod.ITDB.GetLocalPath (GPod.Device device, GPod.Track track) [0x00000] in <filename unknown>:0 at Banshee.Dap.AppleDevice.AppleDeviceTrackInfo.CommitToIpod (GPod.ITDB database) [0x00395] in /build/buildd/banshee-1.9.0+git20101122.r1.f300117/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs:287 at Banshee.Dap.AppleDevice.AppleDeviceSource.PerformSyncThreadCycle () [0x000a2] in /build/buildd/banshee-1.9.0+git20101122.r1.f300117/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceSource.cs:530 ** (Banshee:10472): WARNING **: Unknown action type 33555456 ** (Banshee:10472): CRITICAL **: itdb_splr_validate: assertion `at != ITDB_SPLAT_UNKNOWN' failed ** (Banshee:10472): WARNING **: Unknown action type 33555456 ** (Banshee:10472): CRITICAL **: itdb_splr_validate: assertion `at != ITDB_SPLAT_UNKNOWN' failed ** (Banshee:10472): WARNING **: Unknown action type 33555456 ** (Banshee:10472): CRITICAL **: itdb_splr_validate: assertion `at != ITDB_SPLAT_UNKNOWN' failed ** (Banshee:10472): WARNING **: Unknown action type 33555456 ** (Banshee:10472): CRITICAL **: itdb_splr_validate: assertion `at != ITDB_SPLAT_UNKNOWN' failed ** (Banshee:10472): CRITICAL **: itdb_splr_validate: assertion `at != ITDB_SPLAT_UNKNOWN' failed libitdbprep: itdb_sqlite_generate_itdbs called with file /media/VITROLA/iPod_Control/iTunes/iTunesCDB and uuid 000A270020A85614 itlp directory='/media/VITROLA/iPod_Control/iTunes/iTunes Library.itlp' *.itdb files will be stored in '/media/VITROLA/iPod_Control/iTunes/iTunes Library.itlp' [mk_Dynamic] Processing '/tmp/filerSVezt/Dynamic.itdb' [mk_Dynamic] creating table structure [mk_Dynamic] - processing 2355 tracks [mk_Dynamic] - processing 1 playlists [mk_Dynamic] done. [mk_Extras] Processing '/tmp/filerSVezt/Extras.itdb' [mk_Extras] re-building table structure [mk_Extras] done. [mk_Genius] Processing '/tmp/filerSVezt/Genius.itdb' [mk_Genius] re-building table structure [mk_Genius] done. library_persistent_id = 0x84db1d49b8a399e6 [mk_Library] Processing '/tmp/filerSVezt/Library.itdb' [mk_Library] building table structure [mk_Library] compiling SQL statements [mk_Library] - inserting into "version_info" [mk_Library] - inserting into "genre_map" [mk_Library] - inserting songs into "item_to_container" [mk_Library] - inserting playlist 'Vitrola' into "container" library_persistent_id = 0x84db1d49b8a399e6 device name = Vitrola [mk_Library] - inserting into "db_info" [mk_Library] - processing 2355 tracks [mk_Library] done. [mk_Locations] Processing '/tmp/filerSVezt/Locations.itdb' [mk_Locations] re-building table structure [mk_Locations] Processing 2355 tracks... [mk_Locations] done. [run_post_process_commands] Getting SQL post process commands [run_post_process_commands] Running 88 post process commands now [run_post_process_commands] ERROR when executing 'CreateRentalExpiredColumn': duplicate column name: rental_expired [run_post_process_commands] 87 out of 88 post process commands successfully executed [run_post_process_commands] done. itdbprep: copying 'Dynamic.itdb' itdbprep: copying 'Extras.itdb' itdbprep: copying 'Genius.itdb' itdbprep: copying 'Library.itdb' itdbprep: copying 'Locations.itdb' itdbprep: copying 'Locations.itdb.cbk' [7 Info 22:40:25.467] Wrote iPod database [7 Debug 22:40:25.468] Finished - Syncing iPod [7 Debug 22:40:25.470] Ending AppleDevice sync thread cycle I can "fix it" by using gtkpod, which identifies the stuff that didn't get copies, but basically this version doesn't even copy the stuff over, music folder or not. I should point out that when I access the ipod with gtkpod *two* podcasts playlists show up. Maybe there's something different with the 5G nanos, but this is definitely not working. Best.
The nano5g uses sqlite database similar to the ones used by iOS devices. I'm not sure podcast support was ever tested with such devices. Gabriel's fix should help the other ipod models.
Hi Christophe, Aha. So it sounds like this bug should be reopened until it can be sorted out. I'm happy to help debug this issue. All the best
I'd rather have someone confirms whether it works on 4th nano or older and keep this bug closed if that's the case, and create a new bug for the 5th gen nano/iPhone/iPod Touch if that's not working for these devices
Hi Christophe, Mmhh. Well, I am the bug reporter, and I have a nano 5g. This is the ipod I was using when I originally filed the bug. What happened is that Gabriel submitted a patch to fix #631172 and, because it looks similar, this bug was marked as a duplicate. But if, as you say, it is not a duplicate, we should unmark it as such and reopen it, don't you think? All the best.
Ah, I didn't pay attention it was marked as a duplicate of another bug. Yeah, probably makes sense to reopen this bug if there is not a more appropriate one opened already. Would be interesting to know what happens with iOS devices.
(In reply to comment #37) > Would be interesting to know what happens with iOS devices. Hi Christophe, I have a 3rd generation iPod Touch with iOS 4.1, and the behaviour is similar, because podcasts (and music) are shown in the Video section. It can not be the same bug, perhaps.
Created attachment 175356 [details] Banshee dbg output: Connect iPod, download Podcast, sync manually
(In reply to comment #11) > Could the affected parties please provide the information as requested on the > following page? > > http://live.gnome.org/Banshee/LibgpodTransition I'm affected. The main menu on the iPod has a Podcasts entry and pointing to it shows "12 podcasts", but clicking on the item doesn't allow me to access the files. I've attached the output while doing a manual sync of one podcast. It's a silver 160 GB Classic podcast. 5G, 4G, I wouldn't know, but if you tell me how to find out, I'll post that info. The model is MC293, firmware version 2.0.4 PC. The last three char of the serial number are 9ZS. I'll attach the output of the udevadm command as well -- it's kind of a lot. (No need to be root to run it, btw.) Here's the gvfs-mount --list output: $ gvfs-mount --list Drive(0): CD/DVD Drive Type: GProxyDrive (GProxyVolumeMonitorGdu) Drive(1): Apple iPod Type: GProxyDrive (GProxyVolumeMonitorGdu) Volume(0): Paul?s iPod Type: GProxyVolume (GProxyVolumeMonitorGdu) Mount(0): Paul?s iPod -> file:///media/PAUL'S%20IPOD Type: GProxyMount (GProxyVolumeMonitorGdu) Mount(0): ftp as pbalm on 192.168.1.2 -> ftp://pbalm@192.168.1.2/ Type: GDaemonMount Mount(1): usbdisk2 on 192.168.1.2 -> smb://192.168.1.2/usbdisk2/ Type: GDaemonMount
Created attachment 175357 [details] udevadmin with iPod connected
Weird: Using the search function, I can find and play the podcasts. But I can't enter the podcast menu, and I can't find the podcasts either in the Music menu (Artists, Albums or whatever), nor in Videos. One result in the search results says it's in album "BBC Radio", but this album doesn't appear in the Albums menu.
iPod Classic belong to bug #631172
Hello, I'm repeating myself a bit myself here, but I just want to point out that gpodder, which works well with my iPod, sets *4* flags and other things for each podcast. This is the relevant bit of the code: def set_podcast_flags(self, track, episode): try: # Set blue bullet for unplayed tracks on 5G iPods if episode.is_played: track.mark_unplayed = 0x01 if track.playcount == 0: track.playcount = 1 else: if track.playcount > 0 or track.bookmark_time > 0: #track is partially played so no blue bullet track.mark_unplayed = 0x01 else: #totally unplayed track.mark_unplayed = 0x02 # Set several flags for to podcast values track.remember_playback_position = 0x01 track.flag1 = 0x02 track.flag2 = 0x01 track.flag3 = 0x01 track.flag4 = 0x01 except: log('Seems like your python-gpod is out-of-date.', sender=self) Could it be that setting only flag #4 as Gabriel did with the patch that solved bug #631172 is just not enough for the nano 5g?
Oh, thanks for repeating this, I'm not following this thread closely enough (not a banshee dev). So this means that libgpod works well enough for podcasts and that there are indeed issues on banshee side.
Hi Christophe, Yes, gtkpod and gpodder work for me, so it looks like the issue is on banshee (or the libgpod bindings, anyways). The problem is that gpodder and banshee don't play well together. Even if the podcasts are set to be managed manually, syncing music with Banshee will screw up the database, so that gpodder returns a "cannot open device" error. This is a bug triggered in gpodder when the podcast database is empty or something of the sort. In any case, the "solution" here is either (1) not use banshee at all (gtkpod+gpodder play well together) or (2) don't have the podcast show up in the right place. I'm going for (1) for now, as I mostly use my ipod to listen to podcast and it is a pain to find them among all the music, even if it means running 3 (!!!!) pieces of software to listen to music in my computer + syncing my ipod. Cheers.
Looking at the libgpod python binding, I don't think flag1-3 exist. My guess is gpodder is setting them, and no error happens b/c Python will let you do about anything you want. libgpod's pythong binding has a set_podcast method of is identical to the flags we set except it sets skip_when_shuffling=1. Carlos, are you testing w/ audio podcasts? I noticed that I wasn't setting Flag4=1 for video podcasts.
Hi Gabriel, Oh, I guess that clears that up. I can see flag1-3 in the 'gpod.py' file of the python bindings, but I can't tell what the references are about. You don't think the Apple "API" (har har) requires that extra flag to bet set for the podcast to show up on the menu, do you? I am only testing with audio podcasts (not into video podcasts myself). Cheers.
The flag1-3 references are within Playlist, not Track. I don't know, maybe that SkipWhenShuffling flag is necessary. To retest, have you deleted the podcast files on your iPod and resynced them? Because simply upgrading Banshee and loading the iPod in it won't suffice, you need to add the podcast files anew.
Carlos, I pushed to git master the SkipWhenShuffling=true change -- can you please test?
Hi Gabriel, I guess the banshee-daily PPA will pick up your patch tomorrow? I'll test then. As for tests, yes, I usually totally wiped out the ipod with a windows machine, tried it empty, then wiped out again, but this time added a podcast, to make sure it was initialized, and then tried banshee. And every time I had a new version of banshee, I deleted everything but my database to make sure no addin files where not the latest ones. A clean test, I think :)
Hi Gabriel, Sorry to say, but it didn't work. The podcasts still show up on music. Another couple of symptoms: - The music that I put in the ipod shows up in the video section *too*. - When there's a podcast already in the ipod (I put it there with iTunes) banshee shows is as *playlist* called Podcasts, but it shows nothing on the actual Podcasts section. Cheers.
(In reply to comment #52) > Another couple of symptoms: > > - The music that I put in the ipod shows up in the video section *too*. > > - When there's a podcast already in the ipod (I put it there with iTunes) > banshee shows is as *playlist* called Podcasts, but it shows nothing on the > actual Podcasts section. > I can confirm all of them.
Hey guys, some NullReferenceExceptions you are getting may be because of another bug (AppleDevice addin not handling correctly invalid tracks -- tracks that are in the DB but which don't have a corresponding file in the device), which I filed as bug 634652. Can some of you test the patch I posted in that bug to check if it improves your scenarios in any way (at least, it improved mine because it was preventing me completely from syncing my device). Thanks.
The patch from the bugreport should be in the Banshee daily snapshot ppa now: live.gnome.org/Banshee/CommonQuestions/TestingOnUbuntu Does this still happen now?
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!
Created attachment 182062 [details] Banshee debugging output
The problem persists with banshee 1.9.4+git20110224.r1.12e07c0-0ubuntu1+maverick and a 5g nano.
Hi, This bug is still present. The following output is when trying to copy a single podcast to a wiped-out + 1 added podcast (using iTunes/Windows). I'm using banshee 1.9.4. [2 Debug 20:04:57.720] Refreshing any podcasts that haven't been updated in over an hour [3 Debug 20:04:58.522] DAAP Proxy listening for connections on port 8089 [1 Debug 20:04:58.725] Finished - Startup Job ** (Banshee:2299): CRITICAL **: itdb_playlist_is_audiobooks: assertion `pl->members' failed [4 Debug 20:05:29.659] Found DAP support (Banshee.Dap.AppleDevice.AppleDeviceSource) for device Razor and Uuid /devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb1 [4 Info 20:05:29.667] AppleDeviceSource is ignoring unmounted volume 107 GB Filesystem [4 Warn 20:05:29.699] Caught an exception - System.InvalidOperationException: Operation is not valid due to the current state of the object (in `Banshee.Dap.AppleDevice') at Banshee.Dap.AppleDevice.AppleDeviceSource.DeviceInitialize (IDevice device) [0x00000] in <filename unknown>:0 at Banshee.Dap.DapService.FindDeviceSource (IDevice device) [0x00000] in <filename unknown>:0 ** (Banshee:2299): WARNING **: Unknown action (0x2000400) in smart playlist will be ignored. ** (Banshee:2299): WARNING **: Unknown smart rule action at 13703: 2000400. Trying to continue. ** (Banshee:2299): WARNING **: Unknown action (0x2000400) in smart playlist will be ignored. ** (Banshee:2299): WARNING **: Unknown smart rule action at 15403: 2000400. Trying to continue. ** (Banshee:2299): WARNING **: Unknown action (0x2000400) in smart playlist will be ignored. ** (Banshee:2299): WARNING **: Unknown smart rule action at 17107: 2000400. Trying to continue. ** (Banshee:2299): WARNING **: Unknown action (0x2000400) in smart playlist will be ignored. ** (Banshee:2299): WARNING **: Unknown smart rule action at 18805: 2000400. Trying to continue. [1 Debug 20:06:40.060] Creating Pango.Layout, configuring Cairo.Context [1 Debug 20:06:40.297] Creating Pango.Layout, configuring Cairo.Context [1 Debug 20:06:40.320] Creating Pango.Layout, configuring Cairo.Context [5 Debug 20:06:51.958] Starting [5 Debug 20:06:53.038] Initialized MediaProfileManager: 1.037317 [5 Debug 20:06:53.136] GStreamer pipeline does not run: audioconvert ! novellaacenc bitrate=128000 profile=2 outputformat=0 ! novellqtmux [5 Debug 20:06:53.506] GStreamer pipeline does not run: audioconvert ! xingenc bitrate=128 ! id3v2mux [5 Debug 20:06:53.863] GStreamer pipeline does not run: audioconvert ! fluwmaenc bitrate=64000 vbr=false ! fluasfmux [5 Debug 20:07:07.116] Finished - Adding 1 of 1 to Razor [6 Debug 20:07:07.362] Starting AppleDevice sync thread cycle [6 Debug 20:07:07.373] Starting - Syncing iPod ** (Banshee:2299): CRITICAL **: itdb_cp_track_to_ipod: assertion `filename' failed [6 Warn 20:07:07.497] Cannot save track to iPod - System.NullReferenceException: Object reference not set to an instance of an object (in `libgpod-sharp') at GPod.ITDB.GetLocalPath (GPod.Device device, GPod.Track track) [0x00000] in <filename unknown>:0 at Banshee.Dap.AppleDevice.AppleDeviceTrackInfo.CommitToIpod (GPod.ITDB database) [0x00000] in <filename unknown>:0 at Banshee.Dap.AppleDevice.AppleDeviceSource.PerformSyncThreadCycle () [0x00000] in <filename unknown>:0 ** (Banshee:2299): WARNING **: Unknown action type 33555456 ** (Banshee:2299): CRITICAL **: itdb_splr_validate: assertion `at != ITDB_SPLAT_UNKNOWN' failed ** (Banshee:2299): WARNING **: Unknown action type 33555456 ** (Banshee:2299): CRITICAL **: itdb_splr_validate: assertion `at != ITDB_SPLAT_UNKNOWN' failed ** (Banshee:2299): WARNING **: Unknown action type 33555456 ** (Banshee:2299): CRITICAL **: itdb_splr_validate: assertion `at != ITDB_SPLAT_UNKNOWN' failed ** (Banshee:2299): WARNING **: Unknown action type 33555456 ** (Banshee:2299): CRITICAL **: itdb_splr_validate: assertion `at != ITDB_SPLAT_UNKNOWN' failed ** (Banshee:2299): CRITICAL **: itdb_splr_validate: assertion `at != ITDB_SPLAT_UNKNOWN' failed libitdbprep: itdb_sqlite_generate_itdbs called with file /media/RAZOR/iPod_Control/iTunes/iTunesCDB and uuid 000A270020A85614 itlp directory='/media/RAZOR/iPod_Control/iTunes/iTunes Library.itlp' *.itdb files will be stored in '/media/RAZOR/iPod_Control/iTunes/iTunes Library.itlp' [mk_Dynamic] Processing '/tmp/fileaEdwEy/Dynamic.itdb' [mk_Dynamic] creating table structure [mk_Dynamic] - processing 3 tracks [mk_Dynamic] - processing 2 playlists [mk_Dynamic] done. [mk_Extras] Processing '/tmp/fileaEdwEy/Extras.itdb' [mk_Extras] re-building table structure [mk_Extras] done. [mk_Genius] Processing '/tmp/fileaEdwEy/Genius.itdb' [mk_Genius] re-building table structure [mk_Genius] done. library_persistent_id = 0xeec4fa6ec8b1d53d [mk_Library] Processing '/tmp/fileaEdwEy/Library.itdb' [mk_Library] building table structure [mk_Library] compiling SQL statements [mk_Library] - inserting into "version_info" [mk_Library] - inserting into "genre_map" [mk_Library] - inserting songs into "item_to_container" [mk_Library] - inserting playlist 'Razor' into "container" [mk_Library] - inserting songs into "item_to_container" [mk_Library] - inserting playlist 'Podcasts' into "container" library_persistent_id = 0xeec4fa6ec8b1d53d device name = Razor [mk_Library] - inserting into "db_info" [mk_Library] - processing 3 tracks [mk_Library] done. [mk_Locations] Processing '/tmp/fileaEdwEy/Locations.itdb' [mk_Locations] re-building table structure [mk_Locations] Processing 3 tracks... [mk_Locations] done. [run_post_process_commands] Getting SQL post process commands [run_post_process_commands] Running 88 post process commands now [run_post_process_commands] ERROR when executing 'CreateRentalExpiredColumn': duplicate column name: rental_expired [run_post_process_commands] 87 out of 88 post process commands successfully executed [run_post_process_commands] done. itdbprep: copying 'Dynamic.itdb' itdbprep: copying 'Extras.itdb' itdbprep: copying 'Genius.itdb' itdbprep: copying 'Library.itdb' itdbprep: copying 'Locations.itdb' itdbprep: copying 'Locations.itdb.cbk' [6 Info 20:07:28.379] Wrote iPod database [6 Debug 20:07:28.381] Finished - Syncing iPod [6 Debug 20:07:28.383] Ending AppleDevice sync thread cycle
An additional comment: I should point out that a big tell (as a non-programmer user) is that gpodder can sync to my ipod with no major issues, and they show up correctly on the /Podcast section of my ipod. However, when I open it in banshee, the podcasts are under /Videos
I can confirm Carlos statement. This is somehow strange, because - AFAIK - Banshee uses libgpod...like Gpodder does.
Carlos, jacopo, what version of libgpod are you using?
I'm using 0.8.0 version.
Hi Gabriel, I'm using 0.8.0 from the banshee ppa (ubuntu maverick).
Using banshee from the stable PPA (2.0.1) and libgpod from the main archives, the podcasts now show up in the right place for me. Syncing seems so be working fine too. No cover art or release dates, but good enough for me!
I take it back. It worked for a couple of weeks with my ipod nano and my iphone, and now is back putting eveyrything under /music
This is still a problem for banshee 2.6.0. I'm using a new iPod classic 160 GB with FW 2.0.5 PC. I am running Ubuntu 12.04. $ dpkg -l |egrep banshee ii banshee 2.6.0-1ubuntu1~hyper1+precise Media Management and Playback application ii banshee-extension-lyrics 2.4.0-1ubuntu1 Lyrics extension for Banshee ii banshee-extension-soundmenu 2.6.0-1ubuntu1~hyper1+precise Media Management and Playback application - sound menu extension ii banshee-extensions-common 2.4.0-1ubuntu1 common files for banshee-community-extensions $ dpkg -l |egrep libgpod ii libgpod-common 0.8.2-6~hyper1+precise common files for libgpod ii libgpod4 0.8.2-6~hyper1+precise library to read and write songs and artwork to an iPod The iPod is brand new, and I just sync'ed my music and podcasts. The podcasts show up in the Music menu on the iPod, and the Podcast menu shows 0 podcasts.
The bug persits. I'm using an iPod Classic 80GB on Ubuntu 12.04. $ dpkg -l *banshee* gives me: ii banshee 2.6.0-1ubuntu1~hyper1+precise Media Management and Playback application ii banshee-extension-soundmenu 2.6.0-1ubuntu1~hyper1+precise Media Management and Playback application - sound menu extension $ dpkg -l |egrep libgpod gives me: ii libgpod-common 0.8.2-6~hyper1+precise common files for libgpod ii libgpod-dev 0.8.2-6~hyper1+precise development files for libgpod ii libgpod4 0.8.2-6~hyper1+precise library to read and write songs and artwork to an iPod What else do you need to work on this bug?
Banshee is not under active development anymore and had its last code changes more than three years ago. Its codebase has been archived. Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (or rather transfer the project to GNOME Gitlab, as GNOME Bugzilla is being shut down) if anyone takes the responsibility for active development again. See https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/264 for more info.