Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
stax76 committed Apr 8, 2019
1 parent 233561e commit 59d2ada
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 13 deletions.
8 changes: 0 additions & 8 deletions Main.cs
Expand Up @@ -4,7 +4,6 @@
using System.Security.Principal;
using System.Collections.Generic;
using System.Linq;
using System.Diagnostics;

namespace Wox.Plugin.mpv
{
Expand All @@ -18,13 +17,6 @@ public List<Result> Query(Query query)
{
List<Result> results = new List<Result>();

bool isRunning = false;
foreach (Process proc in Process.GetProcesses())
if (proc.ProcessName == "mpv" || proc.ProcessName == "mpvnet")
isRunning = true;
if (!isRunning)
return results;

foreach (var pair in mpvDic)
{
if (pair.Key.ToLower().Contains(query.Search) ||
Expand Down
6 changes: 3 additions & 3 deletions Properties/AssemblyInfo.cs
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("WoxMpvPlugin")]
[assembly: AssemblyCopyright("Copyright © 2019")]
[assembly: AssemblyCopyright("Copyright © stax76 2019")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand All @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.1.0.0")]
[assembly: AssemblyFileVersion("1.1.0.0")]
[assembly: AssemblyVersion("1.2.0.0")]
[assembly: AssemblyFileVersion("1.2.0.0")]
8 changes: 7 additions & 1 deletion README.md
Expand Up @@ -16,4 +16,10 @@ Furthermore add the following line to your mpv.conf:
input-ipc-server = \\.\pipe\mpvsocket
```

Restart Wox and type mpv, Wox might take time for indexing in the beginning.
Restart Wox and type mpv, Wox might take time for indexing in the beginning.

### Usage

Start mpv(.net).

Type mpv in Wox and search, select and execute mpv commands.
2 changes: 1 addition & 1 deletion plugin.json
Expand Up @@ -4,7 +4,7 @@
"Name":"mpv",
"Description":"Controls the mpv media player",
"Author":"stax76",
"Version":"1.1.0",
"Version":"1.2.0",
"Language":"csharp",
"Website":"https://github.com/stax76/wox-mpv-plugin",
"IcoPath": "mpv.ico",
Expand Down
Binary file added wox-mpv-plugin.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 59d2ada

Please sign in to comment.