# Name: videomass.conf
# Porpose: Videomass configuration file
# Writer: Gianluca Pernigotto, aka:jeanslack, mail:<jeanlucperni@gmail.com>
# Copyright: (c) 2013-2021 jeanslack <jeanlucperni@gmail.com>
# license: GPL3 (see COPYING file in the sources directory)

# This file is part of Videomass.

#    Videomass is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.

#    Videomass is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.

#    You should have received a copy of the GNU General Public License
#    along with Videomass.  If not, see <http://www.gnu.org/licenses/>.
#
###########################################################
#
# IMPORTANT NOTICE:
# Edit this file manually only if you know what you are doing.
# If you need to edit this file directly, at least read the following rules:
#
# - All uncommented strings are 'case sensitive' .
# - Do not change the header of the rows and columns in the uncommented strings.
# - It is allowed to add comments preceded by the pound symbol (#)
#   in every part of the file but starting from the beginning of the columns.
# - You can add empties spaces in every part of the file.
# - Add new implementations at the end of the file, avoiding re-adjusting all
#   indexes in the application code.

#-------------------------- 1- Versions ---------------------------------------#

# Updated: Oct 10 2021
#
# Changing the version number, make sure it matches with version number
# in the "../vdms_sys/configurator.py" file (`checkconf` function).
# This will automatically replace the older version of the configuration
# file with the new one.
# Version number of this configuration file:
3.4

#-------------------------- 2- FFmpeg dest. folder ----------------------------#

# Set up a destination folder for transcoding files with FFmpeg, `none` or
# absolute or relative `pathname` to folder, e.g. on Unix: /home/user/myfiles  .
# See also the section -9 below.
none

#-------------------------- 3- ffmpeg Transc. threads -------------------------#

# FFMPEG always has one main thread which does most of the processing.
# In case of multiple inputs there are also input threads for demuxing
# (1 thread per input); for single input demuxing is done on main thread.
# Setting "threads N" (where N > 1) on input enables multithreaded decoding
# which can spawn N additional threads for each decoder which supports it.
# Set the number of threads (from 0 to 32), default value is `4`:
-threads 4

#-------------------------- 4- Loglevels and stdin opt. -----------------------#

# WARNING: This section defines some important parameters that affect the
#          behavior of FFMPEG and Videomass. **Handle with Care**
#
# -loglevel  FFMPEG output messages are on stderr (excluse FFPROBE); Videomass
#            uses 'loglevel' option to capture and redirect output to log.
#            Changing the following logging level would also change the behavior
#            of the output on log messages and error messages.
#
# -stats  print progress report during encoding, useful for the progress bar
#         and the percentage progress label. If missing the -stats option,
#         Videomass would not work correctly. Note that only in some cases the
#         -stats option is explicitly excluded on the code.
#
# -hide_banner  is used to suppress printing initial informations of FFMPEG

# -nostdin  it disables interaction on standard input since Videomass uses
#           FFMPEG as background process.

# Set loglevel and options for FFPLAY
# available loglevels: `quiet`, `fatal`, `error`, `warning`, `info`
# (default `error`)
-loglevel error -hide_banner

# Set loglevel and options for FFMPEG
# available loglevels: `error`, `warning`, `info`, `verbose`, `debug`
# (default `warning`)
-loglevel warning -stats -hide_banner -nostdin

#-------------------------- 5- FFmpeg executables -----------------------------#

#  With invalid file names or `none`, the wizard dialog will be displayed.
#  Absolute or relative file name must be provided, eg. `/usr/bin/ffmpeg` or
#  `../../usr/bin/ffmpeg` . The absolute names of the binaries semplified by
#  environment variables, eg. `ffmpeg` is no longer supported by Videomass
#  version 3.3.5.

# With `true` the user enable local FFMPEG executable, `false` otherwise.
false
# Executable pathname of FFMPEG, `none` or `pathname`.
none

# With `true` the user enable local FFPROBE executable, `false` otherwise.
false
# Executable pathname of FFPROBE, `none` or `pathname`.
none

# With `true` the user enable local FFPLAY executable, `false` otherwise.
false
# Executable pathname of FFPLAY, `none` or `pathname`.
none

#-------------------------- 6- GUI setup --------------------------------------#

# Set icon themes map:
Videomass-Colours

# Set toolbar icon size (usually 16, 24, 32, 64), default is `24` px:
24

# Set toolbar positioning. 0 placed on top side; 1 placed at the bottom side;
# 2 placed at the rigth side; 3 is placed at the left side. default is 0 .
0

# Enable text alongside toolbar buttons. Values are `show` or `hide` .
# Default value is `hide` .
hide

#-------------------------- 7- Cache and temporary folder ---------------------#

# Clear cached data on exiting the application. `true` or `false`,
# where `true` (default) means enable clear cached data.
true

#-------------------------- 8- Downloader preferences -------------------------#

# Downloader preferences sets the downloader behavior during application
# startup. It needs one of the following fields:

#       `Disable all`,` youtube_dl`, `yt_dlp` or `false`

# Where `Disable all` means not load anything, `youtube_dl` means load/use
# youtube-dl on sturtup, `yt_dlp` means load/use yt_dl on sturtup, `false`
# means *not set at all* and the wizard dialog will be displayed.
false

#-------------------------- 9- FFmpeg outpput file saving ---------------------#

# Save the FFmpeg output files in the same source folder (`true` or `false`)
# default value is `false` .
false

# Additional suffix assignment to output files, `none` (default) or only
# alphanumeric characters; hyphen and underscore possible; blank spaces
# are not allowed.
none

#-------------------------- 10- youtube-dl output file saving -----------------#

# Set a destination folder for file downloads using youtube-dl/yt-dlp.
# `none` (default) or an absolute/relative `pathname` to some folder,
# e.g. on Unix: /home/user/myDownloads .
none

# Auto-create subfolders when download the playlists, `true` or `false`
# default value is `true`
true

#-------------------------- 11- behavior at program exit ----------------------#

# `enable` or `disable` the warning message before exiting the program.
# default value is `enable`
enable
