summaryrefslogtreecommitdiff
path: root/media-plugins/vdr-filebrowser/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-plugins/vdr-filebrowser/files
reinit the tree, so we can have metadata
Diffstat (limited to 'media-plugins/vdr-filebrowser/files')
-rw-r--r--media-plugins/vdr-filebrowser/files/commands.conf37
-rw-r--r--media-plugins/vdr-filebrowser/files/order.conf19
-rw-r--r--media-plugins/vdr-filebrowser/files/othercommands.conf15
-rw-r--r--media-plugins/vdr-filebrowser/files/sources.conf10
4 files changed, 81 insertions, 0 deletions
diff --git a/media-plugins/vdr-filebrowser/files/commands.conf b/media-plugins/vdr-filebrowser/files/commands.conf
new file mode 100644
index 000000000000..72a96c869e59
--- /dev/null
+++ b/media-plugins/vdr-filebrowser/files/commands.conf
@@ -0,0 +1,37 @@
+# * commands.conf *
+# A file defining commands to be run on files, roughly based on vdr's original commands.conf syntax:
+# Columns are separated by colons, first column is the name of the command.
+# When it ends with a question mark, you will be asked whether you really want to execute this command.
+#
+# The second column contains a filename pattern, that you only see commands useful in current context.
+# If this starts with an exclamation mark, it will be treated as a shell script that returns 0
+# if it matches and anything other if it doesn't. %f is replaced with the filename to be checked
+# (escape sequences from below apply, %! analogue). As this results in loading your shell and running
+# a command for every file and defined command, consider using othercommands.conf (see below)
+# to move away seldom used commands.
+#
+# The third column contains the command to be executed, where following expansions are made:
+# %f: current file
+# %d: if available, a destination file must be choosed, which is inserted
+# here
+# %D: if available, a destination file must be choosed, with the possibility
+# to create a new one
+# %m: expands to currently marked files, separated by a space. If no file is
+# marked, current file is used
+# %M: the same as %m, but this will change some time - don't use it
+# %%: %
+# %:: :
+#
+# The fourth (facultative) column contains flags.
+# Following are recognized at the moment:
+# b: Don't switch to the output of this command (it is available via "Threads"-command)
+# s: Execute command synchronously - beware, this may yield to a non-responsive osd for a while!
+# r: Remove thread from list automaticially if it had no errors
+#
+# The fifth (facultative) column may contain an access code, only numbers are supported!
+#
+# Examples:
+# Remove?:*:rm -rf %m:s:12345
+# Move:*.c:mv %m %D:br
+# Recode:+(*.ogg|*.mp3):recode %d %M
+
diff --git a/media-plugins/vdr-filebrowser/files/order.conf b/media-plugins/vdr-filebrowser/files/order.conf
new file mode 100644
index 000000000000..676eb2386596
--- /dev/null
+++ b/media-plugins/vdr-filebrowser/files/order.conf
@@ -0,0 +1,19 @@
+# * order.conf *
+# A file to reorder commands. Usually you will see internal commands first, then commands from commands.conf
+# and then a command to show the thread list.
+# To reorder, just insert the names of the commands in this file, one per line.
+# To remove a certain command prefix its name with a minus sign (-).
+# Attention: Internal command names are localized, so your order.conf needs to be changed when you switch from
+# english to french, and again when you switch from french to german.
+# Attention2: For custom commands, remove the question mark and escaped colons.
+# Commands not mentioned in order.conf are appended to ordered commands.
+#
+# Example (uses commands.conf-snippet from above):
+# Remove #shows remove first
+# Threads #an internal command to see currently executing commands
+# Mark #an internal command
+# -Unmark #Hide an internal command
+# %--- #Reorder the command "---", escape first minus sign
+#
+# Please note that those comments aren't supported in order.conf at the time!
+
diff --git a/media-plugins/vdr-filebrowser/files/othercommands.conf b/media-plugins/vdr-filebrowser/files/othercommands.conf
new file mode 100644
index 000000000000..9ac671974354
--- /dev/null
+++ b/media-plugins/vdr-filebrowser/files/othercommands.conf
@@ -0,0 +1,15 @@
+# * othercommands.conf *
+# You have the possibility to move commands into their own submenu.
+# Apart from reducing the need to "scroll" with the color keys, it keeps cost of command-matching low
+# (especially with shell-matched commands) for they are checked not until you open this menu.
+# Syntax is like in order.conf, you still define your commands in commands.conf, this file determines
+# which (named) commands are moved to the menu.
+# Both Attention and Attention2 from above apply.
+#
+# Example
+# Mark all # move this commands to the menu
+# Threads
+# Sources
+#
+# Please note that those comments aren't supported in othersources.conf at the time!
+
diff --git a/media-plugins/vdr-filebrowser/files/sources.conf b/media-plugins/vdr-filebrowser/files/sources.conf
new file mode 100644
index 000000000000..d5760c387b4b
--- /dev/null
+++ b/media-plugins/vdr-filebrowser/files/sources.conf
@@ -0,0 +1,10 @@
+# * sources.conf *
+# Define sources in the style of many other plugins to switch your virtual root at runtime.
+# First field specifies source's name, second the path. Escaping rules from above apply.
+# The third (facultative) field specifies a file filter.
+#
+# Example
+# All%: (note the escaped colon!):/
+# Home:/home:*.doc
+# Temp:/tmp
+