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 602947 - brasero_drive_get_medium() isn't sync
brasero_drive_get_medium() isn't sync
Status: RESOLVED OBSOLETE
Product: brasero
Classification: Applications
Component: libbrasero-media
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: Brasero maintainer(s)
Brasero maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2009-11-25 15:04 UTC by Bastien Nocera
Modified: 2018-09-21 16:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test case for above (886 bytes, text/plain)
2009-11-25 15:04 UTC, Bastien Nocera
Details

Description Bastien Nocera 2009-11-25 15:04:10 UTC
Created attachment 148448 [details]
test case for above

brasero_drive_get_medium() needs a main loop to work, and requires to wait before it will return a useful value. See attached test case.

This causes problems in sound-juicer where the code is faster than brasero's detection.
Comment 1 Bastien Nocera 2009-11-25 15:04:51 UTC
To compile:
gcc -o brasero-test `pkg-config --libs --cflags libbrasero-media` brasero-test.c
Comment 2 Luke Hutchison 2010-01-15 15:25:20 UTC
I don't know if this is related, but I get a range of errors / problems when inserting a CD on Fedora 13 / rawhide, including 

    Sound Juicer could not read the track listing on this CD.
    Reason: Cannot access CD: The specified location is not mounted    

and

    Sound Juicer could not read the track listing on this CD.
    Reason: Cannot access CD: Error while getting peer-to-peer
    dbus connection: The name :1.115 was not provided by any
    .service files

(The first error sounds like this bug report, the second one is possibly a different problem)

I successfully ripped a CD once but can't rip again (probably without reboot).  This particular part may be a problem with wodim.  Even before ripping was successful, I couldn't play the CD through sound-juicer.

Please let me know which issues require a separate bug report if any.
Comment 3 GNOME Infrastructure Team 2018-09-21 16:53:16 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/brasero/issues/80.