GNOME Bugzilla – Bug 94506
Gnome-cd will not play a music cd that also contains data - Solaris
Last modified: 2004-12-22 21:47:04 UTC
Testing Sun's beta2 build10 - built from cvs 24th Sept - on Solaris 9 I tried to play a standard music cd that also contains a video (as the last track) using Gnome-cd. The cd will not play and is being labelled as a "Data cd" in Gnome-cd. This is not that same behaviour as Sun's Workman application - this app will play all the music tracks on the cd no problem. To recreate ------------ 1)Find a cd that contains a number of music tracks and some non-music data such as a video at end of cd 2) Put cd in Gnome-cd => cd will not play and is labelled as a "Data cd".
This is because of the CDROMREADTOCENTRY which says that the inserted CD is a DATA cd though it is not. Shane, if you put a data CD, what does workman do. And can you please send me a workman binary/source so that I can test it here.
Created attachment 11410 [details] [review] Patch for this bug
Iain: I have created the above patch after applying some of the patches already in bugzilla, so this patch may not apply directly. Thanks.
Created attachment 11411 [details] [review] The above patch modified a bit
Created attachment 11426 [details] [review] Modified the above patch some more
Again, I'd prefer if we had a way to do it on all architectures rather than only on Solaris.
I've tested Bala's patch and it works ok. Gnome-cd will play a cd that also contains data tracks. But Gnome-cd does not inform the user why the track will not play - it should label the track as a data track. Workman highlights to users why a track will not play by labelling it as a data track
As agreed with Bala I'm opening a separate bug against Gnome-cd not informing the user why the track will not play (i.e. labelling track as data track). Iain - will this patch be accepted/integrated into the gnome-media on CVS?
Shane: This patch is only for Solaris and Iain wants this to be done for all architectures. Iain: Can I do the same thing I have done for Solaris in Linux and Freebsd, or can you please suggest some other method Thanks.
any more sceal on this one?
iain? Any suggestions for bala?
ping?
I think the first thing to ascertain is whether this is a problem on FreeBSD and Linux. If it really is a problem then some similar patch to the other two files would be necessary, yes.
According to other bugs, this is a problem on all platforms.
*** Bug 74640 has been marked as a duplicate of this bug. ***
I broke this bug out into several for the various platforms, so they can be tracked seperately.
Applied the patch to CVS HEAD. The patch didn't apply cleanly, I had to do some hand tweaking - if someone could please verify I did it correctly on Solaris that would be great.