Open > Open DVD/Blu-ray Drive/Folder

This commit is contained in:
Frank Skare
2019-08-08 18:45:34 +02:00
parent 032e91e4b4
commit f0546485cf
7 changed files with 55 additions and 18 deletions

View File

@@ -368,7 +368,9 @@ namespace mpvnet
{
string path = mp.get_property_string("path");
BeginInvoke(new Action(() => {
if (File.Exists(path) || path.Contains("://"))
if (path.Contains("://"))
Text = path + " - mpv.net " + Application.ProductVersion;
else if (File.Exists(path))
Text = path.FileName() + " - mpv.net " + Application.ProductVersion;
else
Text = "mpv.net " + Application.ProductVersion;