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,9 +2,10 @@
- pressing shift key suppresses auto-load-folder - pressing shift key suppresses auto-load-folder
- switch --queue added, this will not clear the playlist but append - switch --queue added, this will not clear the playlist but append
and it will suppress auto-load-folder. The installer adds and it will suppress auto-load-folder. To get a 'Add to mpv.net playlist'
a 'Add to mpv.net playlist' context menu item, people with context menu item in explorer with multi selection support use my
portable download might use [Open with++](https://github.com/stax76/OpenWithPlusPlus#add-to-mpvnet-playlist) [Open with++](https://github.com/stax76/OpenWithPlusPlus#add-to-mpvnet-playlist) shell extension, as far as I know multi selection
can not be done using the Registry
### 5.4.2 ### 5.4.2

View File

@@ -2,7 +2,6 @@
using System.Windows.Forms; using System.Windows.Forms;
using System.Linq; using System.Linq;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO;
using System.Threading; using System.Threading;
using System.Diagnostics; using System.Diagnostics;
@@ -41,7 +40,9 @@ namespace mpvnet
foreach (string arg in args) 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); files.Add(arg);
else if (arg == "--queue") else if (arg == "--queue")
files[0] = "queue"; files[0] = "queue";