Package: thunar-data
Version: 1.6.11-1
Severity: wishlist
Tags: patch

Dear Maintainer,

the thunar-data Debian package ships with a "Send to" helper for 
gnome-bluetooth:
https://salsa.debian.org/xfce-team/desktop/thunar/blob/master/debian/gnome-obex-send.desktop
but it is missing "Send to" targets to play/enqueue files/directories in 
popular media 
players. I made 5 .desktop files I made for purpose. Please consider including 
them in the package?

It adds the possiblity to send whole directories/sets of files to 
mpv/vlc/audacious for 
playback/add to playlist.


>From fa910f7a7b2dbcb714c8811a44a225cb4254c1a5 Mon Sep 17 00:00:00 2001
From: nodiscc <nodi...@gmail.com>
Date: Mon, 19 Feb 2018 19:42:14 +0100
Subject: [PATCH] add "Send to" right-click menu for media players (vlc, mpv,
 audacious) allows sending a directory or selected files to those players
 (play or add to playlist/enqueue)

---
 debian/sendto-audacious-enqueue.desktop | 12 ++++++++++++
 debian/sendto-audacious-play.desktop    | 12 ++++++++++++
 debian/sendto-mpv-play.desktop          | 11 +++++++++++
 debian/sendto-vlc-play.desktop          | 12 ++++++++++++
 debian/sendto-vlc-queue.desktop         | 12 ++++++++++++
 5 files changed, 59 insertions(+)
 create mode 100644 debian/sendto-audacious-enqueue.desktop
 create mode 100644 debian/sendto-audacious-play.desktop
 create mode 100644 debian/sendto-mpv-play.desktop
 create mode 100644 debian/sendto-vlc-play.desktop
 create mode 100644 debian/sendto-vlc-queue.desktop

diff --git a/debian/sendto-audacious-enqueue.desktop 
b/debian/sendto-audacious-enqueue.desktop
new file mode 100644
index 0000000..21065ce
--- /dev/null
+++ b/debian/sendto-audacious-enqueue.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Version=1.0
+Name=Audacious (Add to playlist)
+Name[fr]=Audacious (Ajouter)
+Encoding=UTF-8
+Exec=audacious -e %F
+TryExec=audacious
+Icon=audacious
+Terminal=false
+Type=Application
+MimeType=video/dv;video/mpeg;video/x-mpeg;video/msvideo;video/quicktime;video/x-anim;video/x-avi;video/x-ms-asf;video/x-ms-wmv;video/x-msvideo;video/x-nsv;video/x-flc;video/x-fli;application/ogg;application/x-ogg;video/x-ogm+ogg;audio/x-vorbis+ogg;application/x-matroska;audio/x-matroska;video/x-matroska;video/webm;audio/webm;audio/x-mp3;audio/x-mpeg;audio/mpeg;audio/x-wav;audio/x-mpegurl;audio/x-scpls;audio/x-m4a;audio/x-ms-asf;audio/x-ms-asx;audio/x-ms-wax;application/vnd.rn-realmedia;audio/x-real-audio;audio/x-pn-realaudio;application/x-flac;audio/x-flac;application/x-shockwave-flash;misc/ultravox;audio/vnd.rn-realaudio;audio/x-pn-aiff;audio/x-pn-au;audio/x-pn-wav;audio/x-pn-windows-acm;image/vnd.rn-realpix;video/vnd.rn-realvideo;audio/x-pn-realaudio-plugin;application/x-extension-mp4;audio/mp4;video/mp4;video/mp4v-es;x-content/video-vcd;x-content/video-svcd;x-content/video-dvd;x-content/audio-cdda;x-content/audio-player;video/x-flv;application/xspf+xml;inode/directory
+X-KDE-Protocols=ftp,http,https,mms,rtmp,rtsp,sftp,smb
diff --git a/debian/sendto-audacious-play.desktop 
b/debian/sendto-audacious-play.desktop
new file mode 100644
index 0000000..24694f1
--- /dev/null
+++ b/debian/sendto-audacious-play.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Version=1.0
+Name=Audacious (Play)
+Name[fr]=Audacious (Lire)
+Encoding=UTF-8
+Exec=audacious %F
+TryExec=audacious
+Icon=audacious
+Terminal=false
+Type=Application
+MimeType=video/dv;video/mpeg;video/x-mpeg;video/msvideo;video/quicktime;video/x-anim;video/x-avi;video/x-ms-asf;video/x-ms-wmv;video/x-msvideo;video/x-nsv;video/x-flc;video/x-fli;application/ogg;application/x-ogg;video/x-ogm+ogg;audio/x-vorbis+ogg;application/x-matroska;audio/x-matroska;video/x-matroska;video/webm;audio/webm;audio/x-mp3;audio/x-mpeg;audio/mpeg;audio/x-wav;audio/x-mpegurl;audio/x-scpls;audio/x-m4a;audio/x-ms-asf;audio/x-ms-asx;audio/x-ms-wax;application/vnd.rn-realmedia;audio/x-real-audio;audio/x-pn-realaudio;application/x-flac;audio/x-flac;application/x-shockwave-flash;misc/ultravox;audio/vnd.rn-realaudio;audio/x-pn-aiff;audio/x-pn-au;audio/x-pn-wav;audio/x-pn-windows-acm;image/vnd.rn-realpix;video/vnd.rn-realvideo;audio/x-pn-realaudio-plugin;application/x-extension-mp4;audio/mp4;video/mp4;video/mp4v-es;x-content/video-vcd;x-content/video-svcd;x-content/video-dvd;x-content/audio-cdda;x-content/audio-player;video/x-flv;application/xspf+xml;inode/directory
+X-KDE-Protocols=ftp,http,https,mms,rtmp,rtsp,sftp,smb
diff --git a/debian/sendto-mpv-play.desktop b/debian/sendto-mpv-play.desktop
new file mode 100644
index 0000000..1348c6e
--- /dev/null
+++ b/debian/sendto-mpv-play.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Name=MPV (Play)
+Name[fr]=MPV (Lire)
+Encoding=UTF-8
+Exec=mpv loadfile %F
+TryExec=mpv
+Icon=mpv
+Terminal=false
+Type=Application
+MimeType=video/dv;video/mpeg;video/x-mpeg;video/msvideo;video/quicktime;video/x-anim;video/x-avi;video/x-ms-asf;video/x-ms-wmv;video/x-msvideo;video/x-nsv;video/x-flc;video/x-fli;application/ogg;application/x-ogg;video/x-ogm+ogg;audio/x-vorbis+ogg;application/x-matroska;audio/x-matroska;video/x-matroska;video/webm;audio/webm;audio/x-mp3;audio/x-mpeg;audio/mpeg;audio/x-wav;audio/x-mpegurl;audio/x-scpls;audio/x-m4a;audio/x-ms-asf;audio/x-ms-asx;audio/x-ms-wax;application/vnd.rn-realmedia;audio/x-real-audio;audio/x-pn-realaudio;application/x-flac;audio/x-flac;application/x-shockwave-flash;misc/ultravox;audio/vnd.rn-realaudio;audio/x-pn-aiff;audio/x-pn-au;audio/x-pn-wav;audio/x-pn-windows-acm;image/vnd.rn-realpix;video/vnd.rn-realvideo;audio/x-pn-realaudio-plugin;application/x-extension-mp4;audio/mp4;video/mp4;video/mp4v-es;x-content/video-vcd;x-content/video-svcd;x-content/video-dvd;x-content/audio-cdda;x-content/audio-player;video/x-flv;application/xspf+xml;inode/directory
\ No newline at end of file
diff --git a/debian/sendto-vlc-play.desktop b/debian/sendto-vlc-play.desktop
new file mode 100644
index 0000000..ecc4588
--- /dev/null
+++ b/debian/sendto-vlc-play.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Version=1.0
+Name=VLC (Play)
+Name[fr]=VLC (Lire)
+Encoding=UTF-8
+Exec=vlc %F
+TryExec=vlc
+Icon=vlc
+Terminal=false
+Type=Application
+MimeType=video/dv;video/mpeg;video/x-mpeg;video/msvideo;video/quicktime;video/x-anim;video/x-avi;video/x-ms-asf;video/x-ms-wmv;video/x-msvideo;video/x-nsv;video/x-flc;video/x-fli;application/ogg;application/x-ogg;video/x-ogm+ogg;audio/x-vorbis+ogg;application/x-matroska;audio/x-matroska;video/x-matroska;video/webm;audio/webm;audio/x-mp3;audio/x-mpeg;audio/mpeg;audio/x-wav;audio/x-mpegurl;audio/x-scpls;audio/x-m4a;audio/x-ms-asf;audio/x-ms-asx;audio/x-ms-wax;application/vnd.rn-realmedia;audio/x-real-audio;audio/x-pn-realaudio;application/x-flac;audio/x-flac;application/x-shockwave-flash;misc/ultravox;audio/vnd.rn-realaudio;audio/x-pn-aiff;audio/x-pn-au;audio/x-pn-wav;audio/x-pn-windows-acm;image/vnd.rn-realpix;video/vnd.rn-realvideo;audio/x-pn-realaudio-plugin;application/x-extension-mp4;audio/mp4;video/mp4;video/mp4v-es;x-content/video-vcd;x-content/video-svcd;x-content/video-dvd;x-content/audio-cdda;x-content/audio-player;video/x-flv;application/xspf+xml;inode/directory
+X-KDE-Protocols=ftp,http,https,mms,rtmp,rtsp,sftp,smb
diff --git a/debian/sendto-vlc-queue.desktop b/debian/sendto-vlc-queue.desktop
new file mode 100644
index 0000000..01d588b
--- /dev/null
+++ b/debian/sendto-vlc-queue.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Version=1.0
+Name=VLC (Add to playlist)
+Name[fr]=VLC (Ajouter)
+Encoding=UTF-8
+Exec=vlc --playlist-enqueue %F
+TryExec=vlc
+Icon=vlc
+Terminal=false
+Type=Application
+MimeType=video/dv;video/mpeg;video/x-mpeg;video/msvideo;video/quicktime;video/x-anim;video/x-avi;video/x-ms-asf;video/x-ms-wmv;video/x-msvideo;video/x-nsv;video/x-flc;video/x-fli;application/ogg;application/x-ogg;video/x-ogm+ogg;audio/x-vorbis+ogg;application/x-matroska;audio/x-matroska;video/x-matroska;video/webm;audio/webm;audio/x-mp3;audio/x-mpeg;audio/mpeg;audio/x-wav;audio/x-mpegurl;audio/x-scpls;audio/x-m4a;audio/x-ms-asf;audio/x-ms-asx;audio/x-ms-wax;application/vnd.rn-realmedia;audio/x-real-audio;audio/x-pn-realaudio;application/x-flac;audio/x-flac;application/x-shockwave-flash;misc/ultravox;audio/vnd.rn-realaudio;audio/x-pn-aiff;audio/x-pn-au;audio/x-pn-wav;audio/x-pn-windows-acm;image/vnd.rn-realpix;video/vnd.rn-realvideo;audio/x-pn-realaudio-plugin;application/x-extension-mp4;audio/mp4;video/mp4;video/mp4v-es;x-content/video-vcd;x-content/video-svcd;x-content/video-dvd;x-content/audio-cdda;x-content/audio-player;video/x-flv;application/xspf+xml;inode/directory
+X-KDE-Protocols=ftp,http,https,mms,rtmp,rtsp,sftp,smb
-- 
2.11.0



-- System Information:
Debian Release: 9.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), 
LANGUAGE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- no debconf information

Reply via email to