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 412841 - [iPod] Set mediatype field in Itdb_Track (audio, video, podcast, audiobook etc.)
[iPod] Set mediatype field in Itdb_Track (audio, video, podcast, audiobook etc.)
Status: RESOLVED OBSOLETE
Product: rhythmbox
Classification: Other
Component: iPod
0.9.8
Other Linux
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on: 363822 412842
Blocks: 338564
 
 
Reported: 2007-02-27 23:29 UTC by Ed Catmur
Modified: 2018-05-24 12:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
iPod Video Podcast Support (5.83 KB, patch)
2010-07-05 01:38 UTC, Jerico Dev
none Details | Review

Description Ed Catmur 2007-02-27 23:29:46 UTC
From itdb.h:

  guint32 mediatype;  /* It seems that this field denotes the type of
		         the file on (e.g.) the 5g video iPod. It must
			 be set to 0x00000001 for audio files, and set
			 to 0x00000002 for video files. If set to
			 0x00, the files show up in both, the audio
			 menus ("Songs", "Artists", etc.) and the
			 video menus ("Movies", "Music Videos",
			 etc.). It appears to be set to 0x20 for music
			 videos, and if set to 0x60 the file shows up
			 in "TV Shows" rather than "Movies". 

			 The following list summarizes all observed types:

			 * 0x00 00 00 00 - Audio/Video
			 * 0x00 00 00 01 - Audio
			 * 0x00 00 00 02 - Video
			 * 0x00 00 00 04 - Podcast
			 * 0x00 00 00 06 - Video Podcast
			 * 0x00 00 00 08 - Audiobook
			 * 0x00 00 00 20 - Music Video
			 * 0x00 00 00 40 - TV Show (shows up ONLY in TV Shows
			 * 0x00 00 00 60 - TV Show (shows up in the
			                            Music lists as well) */

We should set this appropriately.
Comment 1 Ed Catmur 2007-02-27 23:33:14 UTC
Adding media types as dependencies.
Comment 2 Christophe Fergeau 2007-03-29 18:20:41 UTC
The patch from bug #424086 sets it to either podcasts or audio
Comment 3 Jerico Dev 2010-07-05 01:38:50 UTC
Created attachment 165253 [details] [review]
iPod Video Podcast Support

The patch is against release 0.12.8 as it's been written for Ubuntu Lucid. If you have trouble applying it to the main codeline, let me know.
Comment 4 Jerico Dev 2010-07-05 01:40:52 UTC
The above patch is only a partial solution as it does not introduce Audiobook support. Anyway it would be nice if you could get that into mainline as it's probably quite interesting for other users also to have at least video podcast support.

Credits also go to Bastien Nocera who submitted a patch to bug #363822 which I partially re-used here.
Comment 5 timobauwan 2010-12-12 14:55:48 UTC
I also would appriciate very much the mentioned support of audiobooks! Any plans this will happen in future? Akaik in the moment only Amarok 1.4 has the ability that audiobooks (when they are mp3-files) are shown correctly as such on the ipod.
Comment 6 GNOME Infrastructure Team 2018-05-24 12:23:19 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/rhythmbox/issues/332.