After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 434237 - Podcasts not copied to correct location on iPod
Podcasts not copied to correct location on iPod
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: Device - iPod
1.2.1
Other All
: Normal normal
: 2.x
Assigned To: Banshee Maintainers
Banshee Maintainers
: 436224 538222 554631 560929 584205 589301 589570 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-04-29 00:34 UTC by Justin F. Knotzke
Modified: 2009-11-11 22:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Write out the podcast mhsd to the db (25.38 KB, patch)
2009-04-29 18:14 UTC, Gabriel Burt
none Details | Review
Updated patch, should be used with the patch I'm about to post for Banshee (6.18 KB, patch)
2009-10-05 20:32 UTC, Gabriel Burt
committed Details | Review
Patch to Banshee git master for setting description/release date on podcast episodes (11.62 KB, patch)
2009-10-05 21:01 UTC, Gabriel Burt
none Details | Review

Description Justin F. Knotzke 2007-04-29 00:34:35 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:
Comment 1 Will Farrington 2007-10-01 19:53:54 UTC
I can confirm this issue on SVN TRUNK.
Comment 2 Maciej (Matthew) Piechotka 2008-02-04 22:40:35 UTC
*** Bug 436224 has been marked as a duplicate of this bug. ***
Comment 3 Andrew Conkling 2008-02-06 19:31:47 UTC
Copying Michael Urbanski to see if there's anything to be done on the Podcasting plugin side.
Comment 4 Gabriel Burt 2008-06-13 22:54:47 UTC
*** Bug 538222 has been marked as a duplicate of this bug. ***
Comment 5 Andrew Conkling 2008-10-22 12:24:02 UTC
Updating version according to downstream bug: https://bugs.launchpad.net/ubuntu/+source/banshee/+bug/140489
Comment 6 Francis Markham 2008-12-09 06:15:06 UTC
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"?
Comment 7 Kevin Dupuy 2009-01-02 05:18:07 UTC
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...
Comment 8 Andrés G. Aragoneses (IRC: knocte) 2009-02-23 23:01:50 UTC
I confirm this, I'll see if I have time this weekend to look at it.
Comment 9 Andrés G. Aragoneses (IRC: knocte) 2009-03-14 05:26:47 UTC
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?
Comment 10 Andrés G. Aragoneses (IRC: knocte) 2009-03-14 06:09:12 UTC
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.
Comment 11 Carlos Moffat 2009-04-18 21:48:00 UTC
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.
Comment 12 Gabriel Burt 2009-04-27 15:17:44 UTC
*** Bug 554631 has been marked as a duplicate of this bug. ***
Comment 13 Gabriel Burt 2009-04-27 15:17:57 UTC
*** Bug 560929 has been marked as a duplicate of this bug. ***
Comment 14 Gabriel Burt 2009-04-28 14:29:35 UTC
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.  :)
Comment 15 Gabriel Burt 2009-04-29 18:14:13 UTC
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.
Comment 16 Fredrik Skogberg 2009-04-29 19:39:52 UTC
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
Comment 17 Gabriel Burt 2009-04-29 19:49:13 UTC
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)
Comment 18 Fredrik Skogberg 2009-04-29 20:24:30 UTC
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
Comment 19 Thomas Mashos 2009-04-30 04:54:15 UTC
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?
Comment 20 Thomas Mashos 2009-05-01 01:31:54 UTC
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.
Comment 21 Carlos Moffat 2009-05-01 13:52:02 UTC
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.
Comment 22 Carlos Moffat 2009-05-01 15:31:10 UTC
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.
Comment 23 Thomas Mashos 2009-05-01 16:34:17 UTC
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. 
Comment 24 Thomas Mashos 2009-05-01 18:20:38 UTC
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.
Comment 25 Carlos Moffat 2009-05-01 18:55:01 UTC
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.
Comment 26 Gabriel Burt 2009-05-29 15:59:42 UTC
*** Bug 584205 has been marked as a duplicate of this bug. ***
Comment 27 Fred McDonald 2009-05-30 18:49:48 UTC
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
Comment 28 Carlos Moffat 2009-06-03 02:13:21 UTC
Hi,

Is the patch above going to make it into 1.5.0? 

Thanks.
Comment 29 Maciej (Matthew) Piechotka 2009-06-03 06:47:08 UTC
(In reply to comment #28)
> Hi,
> 
> Is the patch above going to make it into 1.5.0? 
> 
> Thanks.
> 

It was listed in features...
Comment 30 Matthäus Brandl 2009-07-19 20:33:50 UTC
Just installed 1.5.0 on Ubuntu from the team's PPA. This bug doesn't seem fixed!
Comment 31 Fred McDonald 2009-07-19 21:22:29 UTC
I have also updated and I see no improvement.
Can someone tell us if this should have been fixed in 1.5.0?
Comment 32 Andrés G. Aragoneses (IRC: knocte) 2009-07-19 21:45:07 UTC
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.
Comment 33 Carlos Moffat 2009-07-19 21:50:22 UTC
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.
Comment 34 Alex Launi 2009-07-21 22:37:49 UTC
*** Bug 589301 has been marked as a duplicate of this bug. ***
Comment 35 Alex Launi 2009-07-22 03:25:14 UTC
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.
Comment 36 Andrés G. Aragoneses (IRC: knocte) 2009-07-22 03:50:03 UTC
Alex, it's a patch against ipod-sharp. See http://banshee-project.org/download/development/
Comment 37 Alex Launi 2009-07-22 03:51:30 UTC
(In reply to comment #36)
> Alex, it's a patch against ipod-sharp. See
> http://banshee-project.org/download/development/
> 

Well that's embarrassing.
Comment 38 Alex Launi 2009-07-22 04:15:48 UTC
(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
Comment 39 Marie 2009-07-28 04:39:09 UTC
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
Comment 40 Andrés G. Aragoneses (IRC: knocte) 2009-07-30 16:10:28 UTC
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 :)
Comment 41 Adam 2009-08-06 12:23:12 UTC
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
Comment 42 Gabriel Burt 2009-10-05 18:16:09 UTC
*** Bug 589570 has been marked as a duplicate of this bug. ***
Comment 43 Thomas Mashos 2009-10-05 18:34:58 UTC
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
Comment 44 Gabriel Burt 2009-10-05 20:32:04 UTC
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.
Comment 45 Gabriel Burt 2009-10-05 21:01:43 UTC
Created attachment 144842 [details] [review]
Patch to Banshee git master for setting description/release date on podcast episodes
Comment 46 Andrés G. Aragoneses (IRC: knocte) 2009-10-05 21:12:56 UTC
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 47 Gabriel Burt 2009-10-27 23:15:06 UTC
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.
Comment 48 Gabriel Burt 2009-11-03 06:05:35 UTC
Fixed in ipod-sharp trunk and banshee git master.
Comment 49 jr.violette 2009-11-11 21:05:26 UTC
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
Comment 50 Gabriel Burt 2009-11-11 22:24:20 UTC
ipod-sharp 0.8.4 is the most recent, and includes the fix