Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't use the internal player for mythflash URL:s.

  • Loading branch information...
commit 28399064608d666810f95f592302623fb86422f9 1 parent 7b47c27
Jonatan Lindblad natanojl authored
3  mythplugins/mythnetvision/mythnetvision/netsearch.cpp
View
@@ -564,7 +564,8 @@ void NetSearch::showWebVideo()
if (url.isEmpty())
return;
- if (!item->GetMediaURL().isEmpty() && item->GetMediaURL() != url)
+ if (!item->GetMediaURL().startsWith("mythflash") &&
+ !item->GetMediaURL().isEmpty() && item->GetMediaURL() != url)
{
VERBOSE(VB_GENERAL, QString("Trying to use internal player for %1").arg(item->GetMediaURL()));
GetMythMainWindow()->HandleMedia("Internal", item->GetMediaURL());
3  mythplugins/mythnetvision/mythnetvision/nettree.cpp
View
@@ -831,7 +831,8 @@ void NetTree::showWebVideo()
if (url.isEmpty())
return;
- if (!item->GetMediaURL().isEmpty() && item->GetMediaURL() != url)
+ if (!item->GetMediaURL().startsWith("mythflash") &&
+ !item->GetMediaURL().isEmpty() && item->GetMediaURL() != url)
{
VERBOSE(VB_GENERAL, QString("Trying to use internal player for %1").arg(item->GetMediaURL()));
GetMythMainWindow()->HandleMedia("Internal", item->GetMediaURL());
Please sign in to comment.
Something went wrong with that request. Please try again.