summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ0J0 T <jojo@peek-a-boo.at>2022-08-23 08:00:18 +0200
committerJ0J0 Todos <jojo@peek-a-boo.at>2023-03-29 07:46:08 +0200
commitc1908d551af57751ed906226ea299b2d1f4c118b (patch)
tree3a277caec4aeefde31afcf565a1b1d4bdc6aa976
parentcb630c45f6dadb43cbb4beef26434f71676b0b1b (diff)
convert: playlist: Document the feature
leaving out the fact that #EXTM3U is added to the playlist file header (that important?).
-rw-r--r--docs/plugins/convert.rst24
1 files changed, 23 insertions, 1 deletions
diff --git a/docs/plugins/convert.rst b/docs/plugins/convert.rst
index 622a8f2cd..8f00058b0 100644
--- a/docs/plugins/convert.rst
+++ b/docs/plugins/convert.rst
@@ -4,7 +4,8 @@ Convert Plugin
The ``convert`` plugin lets you convert parts of your collection to a
directory of your choice, transcoding audio and embedding album art along the
way. It can transcode to and from any format using a configurable command
-line.
+line. Optionally an m3u playlist file containing all the converted files can be
+saved to the destination path.
Installation
@@ -54,6 +55,21 @@ instead, passing ``-H`` (``--hardlink``) creates hard links.
Note that album art embedding is disabled for files that are linked.
Refer to the ``link`` and ``hardlink`` options below.
+The ``-m`` (or ``--playlist``) option enables the plugin to create an m3u8
+playlist file in the destination folder given by the ``-d`` (``--dest``) option
+or the ``dest`` configuration. Either a simple filename or a relative path plus
+a filename can be passed. The generated playlist will always use relative paths
+to the contained media files to ensure compatibility when read from external
+drives or on computers other than the one used for the conversion. Also refer
+to the ``playlist`` option below.
+
+Note that the classic m3u format doesn't support special characters in media
+file paths, thus the m3u8 format which requires media file paths to be unicode,
+is used. Typically a playlist file would be named *.m3u8. The name of the file
+can be freely chosen by the user though. Since it is always ensured that paths
+to media files are written as defined by the ``path`` configuration, a
+generated playlist potentially could contain unicode characters no matter what
+file ending was chosen.
Configuration
-------------
@@ -124,6 +140,12 @@ file. The available options are:
Default: ``false``.
- **delete_originals**: Transcoded files will be copied or moved to their destination, depending on the import configuration. By default, the original files are not modified by the plugin. This option deletes the original files after the transcoding step has completed.
Default: ``false``.
+- **playlist**: The name of a playlist file that should be written on each run
+ of the plugin. A relative file path (e.g `playlists/mylist.m3u8`) is allowed
+ as well. The final destination of the playlist file will always be relative
+ to the destination path (``dest``, ``--dest``, ``-d``). This configuration is
+ overridden by the ``-m`` (``--playlist``) command line option.
+ Default: none.
You can also configure the format to use for transcoding (see the next
section):