XBMC does not detect DVD disc insertion after XBMC is started
#1
Using r32660 (but also doesn't work on r32393) on late 2009 Mac Mini (nVidia 9400M) running 10.6.4 and Confluence skin.

If you insert a DVD (or CD) after XBMC has been started, it no longer detects the insertion and the "Play" menu item from the bottom left corner of Confluence remains greyed out. If, however, you have the disc already in the drive when starting XBMC it detects it (and can be played) just fine.

Pastebin log is here and shows the following steps: XBMC being started, a DVD inserted, XBMC being shutdown.

Highlights from the log (by very unscientifically filtering on "dvd") seem to show it starting detection (this occurs before the dvd is inserted) but never completing. The "stop dvd detect media" message occurred when XBMC was quit:

Code:
20:31:36 T:2696799488 M:2532270080   DEBUG: CPlayerCoreConfig::<ctor>: created player DVDPlayer for core 1
20:31:36 T:2696799488 M:2532265984   DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvd
20:31:36 T:2696799488 M:2532265984   DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvdfile
20:31:36 T:2696799488 M:2532265984   DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvdimage
20:31:36 T:2696799488 M:2532265984  NOTICE: Default DVD Player: dvdplayer
20:31:36 T:2696799488 M:2532265984  NOTICE: Default Video Player: dvdplayer
20:31:36 T:2696799488 M:2520875008  NOTICE: start dvd mediatype detection
20:32:52 T:2696799488 M:2496651264  NOTICE: stop dvd detect media

This is in contrast to when the disc is already in the drive at startup when it correctly detects the disc.

Pastebin log for correct detection is here.

Highlights from this log suggest the disc is being detected this time:

Code:
20:41:23 T:2696799488 M:2499903488   DEBUG: CPlayerCoreConfig::<ctor>: created player DVDPlayer for core 1
20:41:23 T:2696799488 M:2499895296   DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvd
20:41:23 T:2696799488 M:2499895296   DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvdfile
20:41:23 T:2696799488 M:2499895296   DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvdimage
20:41:23 T:2696799488 M:2499891200  NOTICE: Default DVD Player: dvdplayer
20:41:23 T:2696799488 M:2499891200  NOTICE: Default Video Player: dvdplayer
20:41:23 T:2696799488 M:2487300096  NOTICE: start dvd mediatype detection
[color=red]20:41:23 T:2953961472 M:2487275520    INFO: Detecting DVD-ROM media filesystem...
20:41:23 T:2953961472 M:2487263232   DEBUG: SetNewDVDShareUrl: looking for disc thumb:[folder.jpg]
20:41:23 T:2953961472 M:2487263232   DEBUG: SetNewDVDShareUrl: looking for disc thumb:[Folder.jpg]
20:41:23 T:2953961472 M:2487263232   DEBUG: SetNewDVDShareUrl: looking for disc thumb:[folder.JPG]
20:41:23 T:2953961472 M:2487263232   DEBUG: SetNewDVDShareUrl: looking for disc thumb:[Folder.JPG][/color]
20:41:54 T:2696799488 M:2472169472  NOTICE: stop dvd detect media

Anyone confirm this is a bug (as opposed to me missing something)? If so, I'll add it a trac ticket, as it seems like quite a big issue (for me anyway!).

EDIT: Just tried and this also applies to audio CD's too, in exactly the same manner. So seems like a general disc detection issue. Updated info above

EDIT2: Now added trac ticket 9859

Thanks.
Reply
#2
Now confirmed that this used to work fine on the last stable release of XBMC Camelot 9.11 (r26018), but not on the pre-10.05 Dharma releases (tested on r32660 and r32393). I'll add a trac ticket (unless someone can tell me its all fine and I'm doing something wrong) and hopefully this can get fixed by those hardworking devs Nod
Reply
#3
perhaps better to report this bug in the bug tracker...
you can find the link to the tracker here:
http://wiki.xbmc.org/?title=HOW-TO_submi...Bug_Report
Reply
#4
Quote:perhaps better to report this bug in the bug tracker...
you can find the link to the tracker here:
http://wiki.xbmc.org/?title=HOW-TO_s...per_Bug_Report

Thats why I said "I'll add a trac ticket (unless someone can tell me its all fine and I'm doing something wrong) and hopefully this can get fixed by those hardworking devs" Wink

I like to raise issues in the forums first rather than adding potentially unnecessary tickets to see if [a] others have the same problem and/or [b] if I've just done something stupid and its not actually a bug.

OK, I've now added trac ticket 9859
Reply
#5
Thanks davilla for taking a look at this one so quickly, its much appreciated. Nod

Unfortunately, I've just tried dharma r32748 and the problem remains the same (I'm using the built-in superdrive here, and not an external USB drive if that helps). Is this simply because the changeset you made to fix the problem in the trunk at r32713 simply hasn't made it into the dharma branch yet?

Thanks.
Reply
#6
snowdrift Wrote:Thanks davilla for taking a look at this one so quickly, its much appreciated. Nod

Unfortunately, I've just tried dharma r32748 and the problem remains the same (I'm using the built-in superdrive here, and not an external USB drive if that helps). Is this simply because the changeset you made to fix the problem in the trunk at r32713 simply hasn't made it into the dharma branch yet?

Thanks.

The fix has not been back ported to Dharma yet.
Reply
#7
davilla Wrote:The fix has not been back ported to Dharma yet.

OK, cool. I'll wait patiently for that to happen then. Thanks again for the quick fix.

EDIT: Wow! That was fast! Now works perfectly again for me. Cheers! Cool
Reply
#8
I am now having exactly the same problem in Windows Vista. I realise this is the OSX forum, but have commented on the previous trac ticket as well.

If i insert the disc while xbmc is already open, it isn't detected.

However if i close xbmc, insert the disc and then launch xbmc again the play button is selectable.
Reply
#9
kulprit Wrote:I am now having exactly the same problem in Windows Vista. I realise this is the OSX forum, but have commented on the previous trac ticket as well.

If i insert the disc while xbmc is already open, it isn't detected.

However if i close xbmc, insert the disc and then launch xbmc again the play button is selectable.

I'd re-post this (or at least first take a look for similar topics) in the Windows specific support section if I were you. I've just tried it and its still working just fine in dharma beta 3 on my Mac Mini.
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC does not detect DVD disc insertion after XBMC is started0