Neuer Rechtsklick Content für Dolphin
This commit is contained in:
parent
3afa794a4e
commit
63eb6f94f6
7 changed files with 67 additions and 0 deletions
10
kde_context_plugin/share/kio/servicemenus/ffprobe.desktop
Executable file
10
kde_context_plugin/share/kio/servicemenus/ffprobe.desktop
Executable file
|
|
@ -0,0 +1,10 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Service
|
||||||
|
ServiceTypes=KonqPopupMenu/Plugin
|
||||||
|
MimeType=video/*;audio/*;
|
||||||
|
Actions=FFProbeInfo;
|
||||||
|
|
||||||
|
[Desktop Action FFProbeInfo]
|
||||||
|
Name=FFprobe Info anzeigen
|
||||||
|
Icon=dialog-information
|
||||||
|
Exec=ffprobe -v error -show_format -show_streams "%f" | kdialog --textbox - --title "FFprobe Ausgabe" --geometry 800x600
|
||||||
10
kde_context_plugin/share/kio/servicemenus/local.desktop
Executable file
10
kde_context_plugin/share/kio/servicemenus/local.desktop
Executable file
|
|
@ -0,0 +1,10 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Service
|
||||||
|
ServiceTypes=KonqPopupMenu/Plugin
|
||||||
|
MimeType=video/*
|
||||||
|
Actions=sendToWebSocket
|
||||||
|
|
||||||
|
[Desktop Action sendToWebSocket]
|
||||||
|
Name=Konvertiere AV1 Lokal
|
||||||
|
Exec=/home/data/.local/share/kio/servicemenus/local.sh %F
|
||||||
|
Icon=video-x-generic
|
||||||
9
kde_context_plugin/share/kio/servicemenus/local.sh
Executable file
9
kde_context_plugin/share/kio/servicemenus/local.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
SERVER="ws://localhost:8000/"
|
||||||
|
|
||||||
|
for FILE in "$@"; do
|
||||||
|
JSON=$(printf '{"data_path": "%s"}' "$FILE")
|
||||||
|
echo "$JSON" | websocat "$SERVER"
|
||||||
|
|
||||||
|
done
|
||||||
10
kde_context_plugin/share/kio/servicemenus/server110.desktop
Executable file
10
kde_context_plugin/share/kio/servicemenus/server110.desktop
Executable file
|
|
@ -0,0 +1,10 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Service
|
||||||
|
ServiceTypes=KonqPopupMenu/Plugin
|
||||||
|
MimeType=video/*
|
||||||
|
Actions=sendToWebSocket
|
||||||
|
|
||||||
|
[Desktop Action sendToWebSocket]
|
||||||
|
Name=Konvertiere AV1 Server 110
|
||||||
|
Exec=/home/data/.local/share/kio/servicemenus/server110.sh %F
|
||||||
|
Icon=video-x-generic
|
||||||
9
kde_context_plugin/share/kio/servicemenus/server110.sh
Executable file
9
kde_context_plugin/share/kio/servicemenus/server110.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
SERVER="ws://192.168.155.110:8000/"
|
||||||
|
|
||||||
|
for FILE in "$@"; do
|
||||||
|
JSON=$(printf '{"data_path": "%s"}' "$FILE")
|
||||||
|
echo "$JSON" | websocat "$SERVER"
|
||||||
|
|
||||||
|
done
|
||||||
10
kde_context_plugin/share/kio/servicemenus/server111.desktop
Executable file
10
kde_context_plugin/share/kio/servicemenus/server111.desktop
Executable file
|
|
@ -0,0 +1,10 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Service
|
||||||
|
ServiceTypes=KonqPopupMenu/Plugin
|
||||||
|
MimeType=video/*
|
||||||
|
Actions=sendToWebSocket
|
||||||
|
|
||||||
|
[Desktop Action sendToWebSocket]
|
||||||
|
Name=Konvertiere AV1 Server 111
|
||||||
|
Exec=/home/data/.local/share/kio/servicemenus/server111.sh %F
|
||||||
|
Icon=video-x-generic
|
||||||
9
kde_context_plugin/share/kio/servicemenus/server111.sh
Executable file
9
kde_context_plugin/share/kio/servicemenus/server111.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
SERVER="ws://192.168.155.111:8000/"
|
||||||
|
|
||||||
|
for FILE in "$@"; do
|
||||||
|
JSON=$(printf '{"data_path": "%s"}' "$FILE")
|
||||||
|
echo "$JSON" | websocat "$SERVER"
|
||||||
|
|
||||||
|
done
|
||||||
Loading…
Reference in a new issue