patchCompact Disc Input and Control Library - Patches: patch #8315, Probe devices before querying...


patch #8315: Probe devices before querying media list

Submitted by:  None
Submitted on:  Thu 13 Feb 2014 08:51:12 PM UTC  
Category:  libcdio Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  Robert Kausch <enzo1982> Originator Email:  -email is unavailable-
Open/Closed:  Closed

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Thu 05 Jun 2014 07:51:07 PM UTC, comment #2:

Applied and pushed.

Robert Kausch <enzo1982>
Project MemberIn charge of this item.
Thu 05 Jun 2014 12:41:48 AM UTC, comment #1:

Please make the change directly - thanks. And thanks for the patch!

Rocky Bernstein <rocky>
Project Administrator
Thu 13 Feb 2014 08:51:12 PM UTC, original submission:

Here's another patch for OS X.

This one is relevant only for applications that call cdio_get_devices or cdio_get_default_device multiple times and expect up to date information each time.

The problem with IOServiceGetMatchingServices is that the result is cached by the system so if you insert or remove a disc between two calls, you won't get updated information returned.

To get an up to date media list, you need to probe the storage devices using IOServiceRequestProbe between the two calls.

The attached patch adds storage device probing before querying the media list.

Best regards,



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #30544:  libcdio-osx_probe.patch added by None (2KiB - text/x-diff)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by enzo1982 (Posted a comment)
  • -email is unavailable- added by rocky (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-06-05 enzo1982 CategoryNone => libcdio
        StatusNone => Done
        Open/ClosedOpen => Closed
    2014-06-05 rocky Assigned toNone => enzo1982
    2014-02-13 None Attached File- => Added libcdio-osx_probe.patch, #30544

    Back to the top

    Powered by Savane 3.3