GNOME Bugzilla – Bug 434237
Podcasts not copied to correct location on iPod
Last modified: 2009-11-11 22:24:20 UTC
Please describe the problem: When copying podcasts from Banshee to the iPod, all the podcasts end up in the general music section and not the Podcast section of the database. Therefore, when going into the iPod itself, all the podcasts appear to be missing. Yet, they are in the Artists section. Steps to reproduce: 1.Download a podcast 2. Sync with iPod 3. Actual results: The podcasts disappear from the podcast section of the iPod. Expected results: That the podcasts appear in the podcast section.. gtkpod is capable of doing this. Does this happen every time? Yes Other information:
I can confirm this issue on SVN TRUNK.
*** Bug 436224 has been marked as a duplicate of this bug. ***
Copying Michael Urbanski to see if there's anything to be done on the Podcasting plugin side.
*** Bug 538222 has been marked as a duplicate of this bug. ***
Updating version according to downstream bug: https://bugs.launchpad.net/ubuntu/+source/banshee/+bug/140489
Should this only add podcasts that are subscribed to within Banshee to the iPod podcasts menu, or should it include all songs with genre "podcast"?
Fr(In reply to comment #6) > Should this only add podcasts that are subscribed to within Banshee to the iPod > podcasts menu, or should it include all songs with genre "podcast"? > Probably only subscribed podcasts, easier to manage with show titles and published dates, etc. on the iPod. I can also confirm that this is a major problem. Podcast sync is the one reason I'm still using gtkpod for iPod sync, even though I *really* want to use Banshee! BTW, applies to Banshee 1.4 as well...
I confirm this, I'll see if I have time this weekend to look at it.
Strangely, I cannot import right now any podcast (not to the device, I just mean loading them from banshee), neither with 1.4.3 or trunk, and I see no errors on the console. Any ideas?
Nevermind, I don't know how I got it working now. However, after looking at it a bit I believe that the root cause of this bug is bug 575326 which I just filed, so anyone with bug rights should mark it as a dependency.
At least for me, this is a major issue with Banshee, as most of the time I'm listening to podcasts with my ipod. Any news on this? Thanks.
*** Bug 554631 has been marked as a duplicate of this bug. ***
*** Bug 560929 has been marked as a duplicate of this bug. ***
I'm working on a patch to ipod-sharp for this. I think I'm fairly close, but atm it's causing my ipod to crash. :)
Created attachment 133589 [details] [review] Write out the podcast mhsd to the db This patch should do it, it's generally working in my testing on a 4th gen nano. Would be great if all of you could test it with various devices and with different types of syncing - manual, add/remove, podcasts, videos, music, etc.
I checked out the latest version of ipod-sharp from the subversion repo, then I applied the patch and built using ./autogen.sh --prefix=/usr && make, followed by sudo make install. I'm running Ubuntu Jaunty. I then started Banshee, and I still experience the same problem. Gtkpod still says that the hash is incorrect and I still don't see any podcasts under podcasts. Also my playlists were erased. ipod-sharp reports my ipod as a nano 4th gen 8gb (purple). I guess it may be relevant to point out that I have both my desktop (gnome) as well as my ipod set to swedish. I'll happily assist in any way I can. Br Fredrik
Banshee makes a local copy of ipod-sharp for its own use (since ipod-sharp isn't in the GAC), so you'll need to either rebuild Banshee or manually copy the ipod-sharp.dll* files to where Banshee expects them (bin/ if you are using 'make run' to run Banshee uninstalled)
After following Gabriels instructions, everything seems to work as expected. Very nice work indeed. My iPod is now 100% managed by Banshee, and set to automatically sync when I connect it to my computer. If there's anything else I can do, please let me know. /Fredrik
I'm having difficulties getting ipod-sharp compiled. Is there any reason we can't attach the ipod-sharp.dll* files here for people to test?
Ok, I worked out compiling it, just some mono dependency issues. I have tested this on my Ipod Nano Silver (4GB). I've had some issues, but I'm not sure if this is a bug, or if this is related to me trying to use rhythmbox and gpodder to sync my Ipod and the hash problems. At first, my Ipod synced all the podcasts and put them under both Music and podcasts. I then resynced the ipod and it removed the podcasts under music (yay), but now looking at podcasts all of my podcasts are in there twice. They aren't actually on there twice, as when I go to play one my ipod shows both being played, so it seems its just a setting thing (and perhaps tied to my earlier db issues with other programs). It's progress though, as before I couldn't even get podcasts to show up under podcast and now it does. I'll continue to use this and see if new podcasts show up twice. If I need to, I'll also try restoring the ipod under itunes.
Hi, I just tried this on Debian/Sid (just in case somebody needs instructions): 1) apt-get source libipod-cil (get source for ipod-sharp) 2) sudo apt-get source libipod-cil (get build dependencies) 3) cd ipod-sharp-0.8.2/ 3) patch -p0 < path_to_above_patch 4) dpkg-buildpackage 5) wait 6) cd .. 7) sudo dpkg -i libipod*.deb 8) sudo cp /usr/lib/ipod-sharp/ipod-sharp*.dll* /usr/lib/banshee-1/ 9) start banshee I decided to delete all my ipod files and start from scratch. So far, this has worked beatifully. Thanks a lot! Hopefully you can commit this for the next ipod-sharp release. Cheers.
All right, back to square 1: now Banshee doesn't sync my music anymore (it goes through the process, but then I can't eject the iPod and/or it crashes trying). Oh well.
Ok, I restored my ipod to factory settings using itunes. Everything almost works perfectly. Functionality wise, everything works great. I only have each podcast listed once, and everything is in the right spot (music under music, podcasts under podcasts) Problems: 1) Coverart for podcasts is not transfered to the ipod (it is for music, not podcasts though) 2) The Podcasts don't list the release date (it lists unknown). Both coverart for podcasts and release dates (published dates) are in banshee, so it's just not getting transfered over.
Hmm, Well not all is good in the realm of podcasts. I have tried to put the podcasts in the on-the-go playlist via my ipod. The ipod is successful in putting the song on the playlist, but if I try to go to that podcast, I end up in an endless tree of playlists. Example: Music > Playlists > On The Go > On The Go > On The Go > On The Go > On The Go > On The Go > On The Go > On The Go > On The Go > On The Go > On The Go > On The Go Also, it would appear that the ipod does not save the place that I am in the podcast. This makes it difficult to listen to podcasts when i'm running around town.
Ok, Thomas' message reminded me that Banshee can have trouble with an iPod if it hasn't been used w/ gtkpod or itunes (I think ipod-sharp still doesn't deal well with the hash database issue?). Anyways, now it seems to be working fine again (I forgot to mention I have an iPod Classic 80 GB), although as Thomas mentions, the coverart and dates are not being transferred, and I also noticed that if I hit sync banshee seems to try to add to the iPod *all* the podcasts episodes I have minus the ones effectively downloaded. To be clear: * I'm suscribed to 8 different podcasts. * I have downloaded 6 episodes total. * According to Banshee, there are 194 or 195 episodes total (the number next to 'Podcasts' on the navigation panel says 194, the number in the status bar below says 195 (???)). So when I hit sync after a first successful sync when the first 6 episodes have been transferred to the iPod, Banshee goes through saying "Adding to the IPOD" or something of the sort, and the file count is 188 (194-6). This takes quite a bit of time and doesn't make any sense, as none of the episodes have an actual file associated with them in my computer. Cheers.
*** Bug 584205 has been marked as a duplicate of this bug. ***
Could someone please upload that dll. It would greatly help those non-developers among us. I'm having a similar problem. My podcasts transfer (as play them by using music>search) but they neither show up in the podcast nor music section. iPod Classic 80GB black running firmware 1.1.2 Banshee 1.4.3-4 from the Banshee repository. Ubuntu 9.04
Hi, Is the patch above going to make it into 1.5.0? Thanks.
(In reply to comment #28) > Hi, > > Is the patch above going to make it into 1.5.0? > > Thanks. > It was listed in features...
Just installed 1.5.0 on Ubuntu from the team's PPA. This bug doesn't seem fixed!
I have also updated and I see no improvement. Can someone tell us if this should have been fixed in 1.5.0?
Guys, the bug is still open (therefore it's not fixed in any version). If you're interested in this getting fixed, try out the patch that is posted, and give feedback. Thanks.
My experience with the patch (applied against 1.4.3) is the podcast are copied to the correct location, although some metadata (artwork and release dates) is not copied, and that on subsequent syncs the each podcast shows up multiple times in my ipod (classic). Cheers.
*** Bug 589301 has been marked as a duplicate of this bug. ***
This patch appears to be seriously bitrotten. No file named Track.cs or TrackDatabase.cs appear to exist in my clone of master. If I've made some stupid mistake please let me know and I'll test, but as far as I can tell this patch needs reworked. I'll take a stab at it and see if it's a simple fix.
Alex, it's a patch against ipod-sharp. See http://banshee-project.org/download/development/
(In reply to comment #36) > Alex, it's a patch against ipod-sharp. See > http://banshee-project.org/download/development/ > Well that's embarrassing.
(In reply to comment #33) > My experience with the patch (applied against 1.4.3) is the podcast are copied > to the correct location, although some metadata (artwork and release dates) is > not copied, and that on subsequent syncs the each podcast shows up multiple > times in my ipod (classic). > > Cheers. > I've got the exact same experience with this applied against svn head of ipod-sharp and git master of banshee
Hello, I have the same issue here (my podcast don't transfer to my ipod) and tried to follow the instructions from Carlos (comment #21)... problem is... I don't understand what I shoud do. The 3 first steps are easy and going fine. Then the "patch -p0 < path_to_above_patch" I can't figure out what I should do. I suppose it refers to comment #15 from Gabriel who says "Created an attachment (id=133589) [edit] Write out the podcast mhsd to the db" but that also alliens' talk to me.... Could someone explain in a easy-to-understand-for-a-newbie way what to do? Thanks in advance... Marie
Marie, this is not the best place to ask for help. For reference, please read: http://banshee-project.org/download/development/ (Bottom line is that Gabriel's patch should be applied to ipod-sharp, not to banshee itself) If you have more questions I recommend you to use the Forum, the mailing list, or IRC. See: http://banshee-project.org/about/contact/ Thanks for trying to test patches and give feedback. We hope to hear from you soon again :)
The patch only partially resolves the issues. Of the 35 Pod Casts listed in Banshee as being on the IPOD, only 9 are listed and available from the Pod Cast menu. Only those that had previously been synchronized as music have album art and none have the details relating to release date, even though visible in Banshee. This is on an Ipod Classic 120GB. Adam
*** Bug 589570 has been marked as a duplicate of this bug. ***
I've tested Gabriel's patch on my Ubuntu 9.04 system again. I've the following problem, which are either a problem with the patch, or that Banshee doesn't like the ipod db when I first connected it. 1) Podcasts are copied to the ipod regardless if they are already on there (don't need 5 of the same podcast episode on the ipod). This seems to be a db problem rather than the file getting copied multiple times. 2) Podcast Artwork is not copied to the ipod 3) Podcast release date is not copied to the ipod 4) The podcasts appear to not keep the place they are in when I disconnect my ipod from my car. This may be due to the db issue from #1. Thomas
Created attachment 144838 [details] [review] Updated patch, should be used with the patch I'm about to post for Banshee This patch is working much better for me. It sets the ReleaseDate properly, and handles removing podcasts much better.
Created attachment 144842 [details] [review] Patch to Banshee git master for setting description/release date on podcast episodes
Comment on attachment 144838 [details] [review] Updated patch, should be used with the patch I'm about to post for Banshee + public string Description { + get { + DetailRecord detail = record.GetDetail (DetailType.Description); + return detail.Value; + } set { + DetailRecord detail = record.GetDetail (DetailType.Description); + detail.Value = value; + } + } Hey Gabriel, shouldn't you use the new function SetDetailValue(_,_) in the setter?
Comment on attachment 144838 [details] [review] Updated patch, should be used with the patch I'm about to post for Banshee Andres: yep, thanks for catching that. I've committed the ipod-sharp patch. I'm holding off on committing the Banshee patch until Aaron gives me input on whether I should roll a new ipod-sharp release, or have Banshee depend on ipod-sharp trunk for now.
Fixed in ipod-sharp trunk and banshee git master.
When i use the patch against current source (ipod-sharp-0.8.3) and compile with the instructions above from Carlos, I get the following error at step 4: ./TrackDatabase.cs(316,21): error CS0103: The name `misc_record' does not exist in the current context ./TrackDatabase.cs(317,21): error CS0103: The name `misc_record' does not exist in the current context ./TrackDatabase.cs(318,21): error CS0103: The name `misc_record' does not exist in the current context ./TrackDatabase.cs(320,24): error CS0103: The name `misc_record' does not exist in the current context ./TrackDatabase.cs(327,24): error CS0103: The name `podcast_groups' does not exist in the current context ./TrackDatabase.cs(332,37): error CS0103: The name `podcast_groups' does not exist in the current context ./TrackDatabase.cs(338,13): error CS0103: The name `podcast_groups' does not exist in the current context The date on 0.8.3 seemed to be Oct 2, so I thought the patch would still need to be applied? Thanks for any help so I can test this. My Setup Ubuntu 9.10 Karmic iPod Classic 160 Black
ipod-sharp 0.8.4 is the most recent, and includes the fix