temp allow all urls as way to use more of youtube-dl supported sites.
This commit is contained in:
@@ -145,7 +145,8 @@ bool MiniMediaPlayer::isValidMediaUrl(QUrl mediaUrl)
|
||||
//TODO: check more than host?
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
//For now, allow all urls since worst case youtube-dl will just fail to add anything to playlist.
|
||||
return true;
|
||||
}
|
||||
|
||||
void MiniMediaPlayer::mediaStateChanged(QMediaPlayer::State state)
|
||||
|
||||
Reference in New Issue
Block a user