Skip to content

Commit

Permalink
DVDInfo: Use GetPlaybackURL to determine the DVD path.
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-kendall committed May 20, 2011
1 parent 8e61015 commit 2e7deb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/dvdringbuffer.cpp
Expand Up @@ -36,7 +36,7 @@ static const char *dvdnav_menu_table[] =
DVDInfo::DVDInfo(const QString &filename)
: m_nav(NULL), m_name(NULL), m_serialnumber(NULL)
{
VERBOSE(VB_PLAYBACK, QString("DVDInfo: Starting."));
VERBOSE(VB_PLAYBACK, QString("DVDInfo: Trying %1").arg(filename));
QString name = filename;
if (name.left(6) == "dvd://")
name.remove(0,5);
Expand Down
2 changes: 1 addition & 1 deletion mythtv/programs/mythfrontend/main.cpp
Expand Up @@ -804,7 +804,7 @@ static int internal_play_media(const QString &mrl, const QString &plot,

if (pginfo->IsVideoDVD())
{
DVDInfo *dvd = new DVDInfo(pginfo->GetPathname());
DVDInfo *dvd = new DVDInfo(pginfo->GetPlaybackURL());
if (dvd && dvd->IsValid())
{
QString name;
Expand Down

0 comments on commit 2e7deb7

Please sign in to comment.