fix(youtubedl-material): fix identation (#7979)

**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [ ] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
This commit is contained in:
Stavros Kois
2023-04-14 10:44:42 +03:00
committed by GitHub
parent 0ff0425055
commit 0d14a88209
3 changed files with 214 additions and 215 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ name: youtubedl-material
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/youtubedl-material
- https://github.com/Tzahi12345/YoutubeDL-Material
version: 5.0.2
version: 5.0.3
annotations:
truecharts.org/catagories: |
- media
+212 -212
View File
@@ -73,220 +73,220 @@ questions:
description: default
- value: dark
description: dark
- variable: extrasettigns
label: Extra Settings
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: ytdl_title_top
label: Title Top
description: Sets the top bar and browser tab title.
schema:
type: string
default: YoutubeDL-Material
- variable: ytdl_file_manager_enabled
label: Enable File Manager
description: Enables file management in the home screen.
schema:
type: boolean
default: true
- variable: ytdl_enable_downloads_manager
label: Enable Download Manager
description: Enables download management page.
schema:
type: boolean
default: true
- variable: ytdl_allow_quality_select
label: Allow Quality Select
description: Allows changing quality of files (resolution/bitrate). Disabling this means it's always the best quality selected.
schema:
type: boolean
default: true
- variable: ytdl_download_only_mode
label: Download Only Mode
description: Playing videos is disabled, they can only be downloaded.
schema:
type: boolean
default: false
- variable: ytdl_use_api_key
label: Enable YTDL-Material API Key
description: Allows YoutubeDL-Material's API to be utilized.
schema:
type: boolean
default: false
- variable: ytdl_api_key
label: YTDL-Material API Key
description: Key used to authenticate YoutubeDL-Material's API users.
schema:
type: string
private: true
default: ""
- variable: ytdl_youtube_api_key
label: Youtube API Key
description: Youtube API Key.
schema:
type: string
private: true
default: ""
- variable: ytdl_use_twitch_api
label: Enable Twitch API Key
description: Enables Twitch API use, currently only used for downloading chats for VODs.
schema:
type: boolean
default: false
- variable: ytdl_twitch_api_key
label: Twitch API Key
description: Twitch API Key.
schema:
type: string
private: true
default: ""
- variable: ytdl_twitch_auto_download_chat
label: Twitch Auto Download Chat
description: Automatically downloads Twitch chats for VODs.
schema:
type: boolean
default: false
- variable: ytdl_use_sponsorblock_api
label: Enable SponsorBlock
description: Enables Skip ads button in the video player if found on SponsorBlock.
schema:
type: boolean
default: false
- variable: ytdl_generate_nfo_files
label: Generate NFO Files
description: Automatically creates NFO files for downloaded videos, primarily used with Kodi.
schema:
type: boolean
default: false
- variable: downloadersettigns
label: Downloader Settings
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: ytdl_default_file_output
label: Default File Output
description: Changes the formatting for file names based on youtube-dl output template.
schema:
type: string
default: ""
- variable: ytdl_custom_args
label: Custom Args
description: Youtube-dl args that get added to every download.
schema:
type: string
default: ""
- variable: ytdl_allow_playlist_categorization
label: Allow Playlist Categorization
description: Allow Playlist Categorization
schema:
type: boolean
default: true
- variable: ytdl_use_youtubedl_archive
label: Use Youtubedl Archive
description: Creates and uses archive text files to avoid redownloading the same file, and helps track/port already downloaded files.
schema:
type: boolean
default: false
- variable: ytdl_include_thumbnail
label: Include Thumbnail
description: Downloads thumbnail along with file.
schema:
type: boolean
default: true
- variable: ytdl_include_metadata
label: Include Metadata
description: Downloads .info.json files along with file (highly recommended).
schema:
type: boolean
default: true
- variable: ytdl_max_concurrent_downloads
label: Max Concurrent Downloads
description: Limits the number of simultaneous downloads.
schema:
type: int
default: 5
- variable: ytdl_download_rate_limit
label: Rate Limit
description: Limits download speed.
schema:
type: string
default: ""
- variable: advancedsettigns
label: Advanced Settings
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: ytdl_default_downloader
label: Default Downloader
description: youtube-dl fork to use (youtube-dl, youtube-dlc, or yt-dlp)
schema:
type: string
default: yt-dlp
enum:
- value: yt-dlp
description: yt-dlp
- value: youtube-dlc
description: youtube-dlc
- value: youtube-dl
description: youtube-dl
- variable: ytdl_use_default_downloading_agent
label: Use Default Downloading Agent
description: Whether to use youtube-dl's default agent or an alternative.
schema:
type: boolean
default: true
- variable: ytdl_custom_downloading_agent
label: Custom Downloading Agent
description: Preferred download agent, only used if Use default downloading agent is set to false.
schema:
type: string
default: ""
- variable: ytdl_logger_level
label: Logger Level
description: Logger Level.
schema:
type: string
default: info
enum:
- value: info
description: info
- value: info
description: info
- value: debug
description: debug
- value: verbose
description: verbose
- value: warn
description: warn
- value: error
description: error
- variable: ytdl_jwt_expiration
label: JWT Expiration
description: Length of time it takes for logins to expire.
schema:
type: int
default: 86400
- variable: ytdl_allow_advanced_download
label: JWT Expiration
description: Enables an advanced download tab on the home page for additional download settings and information.
schema:
type: boolean
default: false
- variable: ytdl_use_cookies
label: Use Cookies
description: Enables usage of uploaded cookies to download videos as if you were logged into that website.
schema:
type: boolean
default: false
# Include{containerBasic}
# Include{containerAdvanced}
- variable: extrasettigns
label: Extra Settings
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: ytdl_title_top
label: Title Top
description: Sets the top bar and browser tab title.
schema:
type: string
default: YoutubeDL-Material
- variable: ytdl_file_manager_enabled
label: Enable File Manager
description: Enables file management in the home screen.
schema:
type: boolean
default: true
- variable: ytdl_enable_downloads_manager
label: Enable Download Manager
description: Enables download management page.
schema:
type: boolean
default: true
- variable: ytdl_allow_quality_select
label: Allow Quality Select
description: Allows changing quality of files (resolution/bitrate). Disabling this means it's always the best quality selected.
schema:
type: boolean
default: true
- variable: ytdl_download_only_mode
label: Download Only Mode
description: Playing videos is disabled, they can only be downloaded.
schema:
type: boolean
default: false
- variable: ytdl_use_api_key
label: Enable YTDL-Material API Key
description: Allows YoutubeDL-Material's API to be utilized.
schema:
type: boolean
default: false
- variable: ytdl_api_key
label: YTDL-Material API Key
description: Key used to authenticate YoutubeDL-Material's API users.
schema:
type: string
private: true
default: ""
- variable: ytdl_youtube_api_key
label: Youtube API Key
description: Youtube API Key.
schema:
type: string
private: true
default: ""
- variable: ytdl_use_twitch_api
label: Enable Twitch API Key
description: Enables Twitch API use, currently only used for downloading chats for VODs.
schema:
type: boolean
default: false
- variable: ytdl_twitch_api_key
label: Twitch API Key
description: Twitch API Key.
schema:
type: string
private: true
default: ""
- variable: ytdl_twitch_auto_download_chat
label: Twitch Auto Download Chat
description: Automatically downloads Twitch chats for VODs.
schema:
type: boolean
default: false
- variable: ytdl_use_sponsorblock_api
label: Enable SponsorBlock
description: Enables Skip ads button in the video player if found on SponsorBlock.
schema:
type: boolean
default: false
- variable: ytdl_generate_nfo_files
label: Generate NFO Files
description: Automatically creates NFO files for downloaded videos, primarily used with Kodi.
schema:
type: boolean
default: false
- variable: downloadersettigns
label: Downloader Settings
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: ytdl_default_file_output
label: Default File Output
description: Changes the formatting for file names based on youtube-dl output template.
schema:
type: string
default: ""
- variable: ytdl_custom_args
label: Custom Args
description: Youtube-dl args that get added to every download.
schema:
type: string
default: ""
- variable: ytdl_allow_playlist_categorization
label: Allow Playlist Categorization
description: Allow Playlist Categorization
schema:
type: boolean
default: true
- variable: ytdl_use_youtubedl_archive
label: Use Youtubedl Archive
description: Creates and uses archive text files to avoid redownloading the same file, and helps track/port already downloaded files.
schema:
type: boolean
default: false
- variable: ytdl_include_thumbnail
label: Include Thumbnail
description: Downloads thumbnail along with file.
schema:
type: boolean
default: true
- variable: ytdl_include_metadata
label: Include Metadata
description: Downloads .info.json files along with file (highly recommended).
schema:
type: boolean
default: true
- variable: ytdl_max_concurrent_downloads
label: Max Concurrent Downloads
description: Limits the number of simultaneous downloads.
schema:
type: int
default: 5
- variable: ytdl_download_rate_limit
label: Rate Limit
description: Limits download speed.
schema:
type: string
default: ""
- variable: advancedsettigns
label: Advanced Settings
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: ytdl_default_downloader
label: Default Downloader
description: youtube-dl fork to use (youtube-dl, youtube-dlc, or yt-dlp)
schema:
type: string
default: yt-dlp
enum:
- value: yt-dlp
description: yt-dlp
- value: youtube-dlc
description: youtube-dlc
- value: youtube-dl
description: youtube-dl
- variable: ytdl_use_default_downloading_agent
label: Use Default Downloading Agent
description: Whether to use youtube-dl's default agent or an alternative.
schema:
type: boolean
default: true
- variable: ytdl_custom_downloading_agent
label: Custom Downloading Agent
description: Preferred download agent, only used if Use default downloading agent is set to false.
schema:
type: string
default: ""
- variable: ytdl_logger_level
label: Logger Level
description: Logger Level.
schema:
type: string
default: info
enum:
- value: info
description: info
- value: info
description: info
- value: debug
description: debug
- value: verbose
description: verbose
- value: warn
description: warn
- value: error
description: error
- variable: ytdl_jwt_expiration
label: JWT Expiration
description: Length of time it takes for logins to expire.
schema:
type: int
default: 86400
- variable: ytdl_allow_advanced_download
label: JWT Expiration
description: Enables an advanced download tab on the home page for additional download settings and information.
schema:
type: boolean
default: false
- variable: ytdl_use_cookies
label: Use Cookies
description: Enables usage of uploaded cookies to download videos as if you were logged into that website.
schema:
type: boolean
default: false
# Include{containerConfig}
# Include{serviceRoot}
+1 -2
View File
@@ -27,9 +27,8 @@ persistence:
mountPath: /app/video
mongodb:
enabled: true
# DB name seems to be hardcoded in their app
mongodbUsername: ytdl_material
# DB name seems to be harcoded in their app
mongodbDatabase: ytdl_material
portal:
open: