From 704774aa208a7d7182a670bceb719e5620fb3b3e Mon Sep 17 00:00:00 2001
From: Richard <peper03@yahoo.com>
Date: Fri, 16 Nov 2012 22:58:41 +0100
Subject: [PATCH] A popup is now shown if no optical media could be found when
 the user select 'Play DVD or Blu-ray' from the Video menu.

---
 mythtv/programs/mythfrontend/main.cpp |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/mythtv/programs/mythfrontend/main.cpp b/mythtv/programs/mythfrontend/main.cpp
index d923a28..a6540df 100644
--- a/mythtv/programs/mythfrontend/main.cpp
+++ b/mythtv/programs/mythfrontend/main.cpp
@@ -1137,6 +1137,9 @@ static int internal_play_media(const QString &mrl, const QString &plot,
         }
         else
         {
+            QString msg = QObject::tr("No disc found in drive!");
+            ShowOkPopup(msg);
+
             if (dvd)
                 delete dvd;
             delete pginfo;
--
1.7.9.5

