switch --queue added

This commit is contained in:
Frank Skare
2019-10-14 12:10:30 +02:00
parent 7371949730
commit b94f9de582
2 changed files with 7 additions and 5 deletions

View File

@@ -2,7 +2,6 @@
using System.Windows.Forms;
using System.Linq;
using System.Collections.Generic;
using System.IO;
using System.Threading;
using System.Diagnostics;
@@ -41,7 +40,9 @@ namespace mpvnet
foreach (string arg in args)
{
if (!arg.StartsWith("--") && (arg == "-" || arg.Contains("://") || arg.Contains(":\\") || arg.StartsWith("\\\\")))
if (!arg.StartsWith("--") && (arg == "-" || arg.Contains("://") ||
arg.Contains(":\\") || arg.StartsWith("\\\\")))
files.Add(arg);
else if (arg == "--queue")
files[0] = "queue";