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