[Moving to development list]
On Wed, 26 Aug 2009 19:52:10 +0100 (BST), P.G. wrote:
>> Would it be an idea for gtkpod to automatically change the Media Type of
>> files added to the /Podcasts/ folder to "Podcast"?
> It would be useful. If I get chance, I'll have a look into it. In the
> meantime, if you feel like sending a patch then feel free.
Good point. My C is rusty, but this patch works for me (iPod Touch
src/misc_track.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/misc_track.c b/src/misc_track.c
index 0fa9df2..1aff233 100644
@@ -2147,6 +2147,7 @@ void gp_track_set_flags_podcast (Track *track)
track->remember_playback_position = 0x01; /* remember playback
* position */
track->flag4 = 0x01; /* Show Title/Album on the 'Now Playing' page */
+ track->mediatype = ITDB_MEDIATYPE_PODCAST; /* show up under Podcasts */
/* set podcast-specific flags for @track */
Thanks for the nudge,
"I went for the police Adam Sjøgren
But they were all over town asjo@...
I went for the fireengines
But they were all upside down"