update changelog
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
- added new setting to start with maximized window
|
- added new setting to start with maximized window
|
||||||
- long file names work now even if not enabled by the OS
|
- long file names work now even if not enabled by the OS
|
||||||
- fixed history being written even when history file wasn't created prior
|
- fixed history being written even when history file wasn't created prior
|
||||||
|
- libmpv updated to shinchiro 2019-08-31
|
||||||
|
|
||||||
### 5.3
|
### 5.3
|
||||||
|
|
||||||
|
|||||||
@@ -387,10 +387,10 @@ namespace mpvnet
|
|||||||
else
|
else
|
||||||
Text = "mpv.net " + Application.ProductVersion;
|
Text = "mpv.net " + Application.ProductVersion;
|
||||||
|
|
||||||
double duration = mp.get_property_number("duration");
|
|
||||||
ProgressTimer.Interval = (int)(mp.Duration.TotalMilliseconds / 99);
|
ProgressTimer.Interval = (int)(mp.Duration.TotalMilliseconds / 99);
|
||||||
if (ProgressTimer.Interval < 100) ProgressTimer.Interval = 100;
|
if (ProgressTimer.Interval < 100) ProgressTimer.Interval = 100;
|
||||||
if (ProgressTimer.Interval > 999) ProgressTimer.Interval = 999;
|
if (ProgressTimer.Interval > 999) ProgressTimer.Interval = 999;
|
||||||
|
UpdateProgressBar();
|
||||||
}));
|
}));
|
||||||
|
|
||||||
if (RecentFiles.Contains(path)) RecentFiles.Remove(path);
|
if (RecentFiles.Contains(path)) RecentFiles.Remove(path);
|
||||||
@@ -513,7 +513,7 @@ namespace mpvnet
|
|||||||
|
|
||||||
void UpdateProgressBar()
|
void UpdateProgressBar()
|
||||||
{
|
{
|
||||||
if (mp.TaskbarProgress)
|
if (mp.TaskbarProgress && Taskbar != null)
|
||||||
Taskbar.SetValue(mp.get_property_number("time-pos"), mp.Duration.TotalSeconds);
|
Taskbar.SetValue(mp.get_property_number("time-pos"), mp.Duration.TotalSeconds);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user