Cycle audio was not working for BluRay
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
which was difficult to choose and extremely slow.
|
||||
- BluRay folder paths are auto detected when received
|
||||
from drag & drop and command line.
|
||||
- Cycle audio was not working for BluRay.
|
||||
|
||||
|
||||
5.4.8.3 Beta
|
||||
|
||||
@@ -287,13 +287,6 @@ namespace mpvnet
|
||||
}
|
||||
|
||||
public static void CycleAudio()
|
||||
{
|
||||
string path = core.get_property_string("path");
|
||||
|
||||
if (!File.Exists(path))
|
||||
return;
|
||||
|
||||
using (MediaInfo mi = new MediaInfo(path))
|
||||
{
|
||||
MediaTrack[] audTracks = core.MediaTracks.Where(track => track.Type == "a").ToArray();
|
||||
|
||||
@@ -309,7 +302,6 @@ namespace mpvnet
|
||||
core.commandv("set", "aid", aid.ToString());
|
||||
core.commandv("show-text", audTracks[aid - 1].Text.Substring(3), "5000");
|
||||
}
|
||||
}
|
||||
|
||||
static void ShowProfiles()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user