mirror of
https://github.com/tropicoo/yt-dlp-bot.git
synced 2025-03-01 17:23:25 +08:00
4.8 KiB
4.8 KiB
Release 1.2
Release date: March 13, 2023
New Features
- Show message when media was saved to storage.
Important
N/A
Misc
N/A
Release 1.1
Release date: March 11, 2023
New Features
- Show uploaded file size in human-readable format.
Important
- Added new config variable
include_size: !!bool True
for displaying uploaded file size.
Misc
N/A
Release 1.0
Release date: February 25, 2023
New Features
- Now bot can download audio (mp3), video (default), or both. Just configure the preferred mode for the particular user/group.
Important
- Changed content yt-dlp options in
app_worker/ytdl_opts/default.py
- Added two new user config options in
app_bot/config-example.yml
:download_media_type
: What to download - audio (mp3), video or both. Values can beAUDIO
,VIDEO
,AUDIO_VIDEO
.save_to_storage
: Moved fromenvs/.env_worker
- Creating task on API now requires previously mentioned two fields in payload to be sent.
Misc
N/A
Release 0.9
Release date: February 16, 2023
New Features
N/A
Important
- Changed format of
YTDL_OPTS
inapp_worker/ytdl_opts/default.py
fromdict
tolist
for proper parsing onyt_dlp
side:
This means only# Old format YTDL_OPTS = { 'outtmpl': '%(title).200B.%(ext)s', 'format': 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4', 'noplaylist': True, 'playlist_items': '1:1', 'writethumbnail': True, 'concurrent_fragment_downloads': 5, } # New format YTDL_OPTS = [ '--output', '%(title).200B.%(ext)s', '--format', 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4', '--no-playlist', '--playlist-items', '1:1', '--write-thumbnail', '--convert-thumbnails', 'jpg', '--concurrent-fragments', '5', '--verbose', ]
yt-dlp
CLI options can be added (yt-dlp --help
to list all of them).
Misc
N/A
Release 0.8
Release date: February 15, 2023
New Features
- yt-dlp will now try to download video thumbnail if it exists. This is done by
setting
'writethumbnail': True
inapp_worker/ytdl_opts/default.py
. If thumbnail wasn't downloaded,ffmpeg
task will create it as previously.
Important
N/A
Misc
N/A
Release 0.7
Release date: February 5, 2023
New Features
N/A
Important
- Configuration variable
TMP_DOWNLOAD_PATH
renamed toTMP_DOWNLOAD_ROOT_PATH
inenvs/.env_common
. - Added 2 new configuration variables
TMP_DOWNLOAD_DIR
andTMP_DOWNLOADED_DIR
toenvs/.env_common
. - Fixed bug #52.
Misc
N/A
Release 0.6
Release date: January 31, 2023
New Features
N/A
Important
N/A
Misc
- API bugfixes
- Renamed microservices directories, e.g.
api
->app_api
Release 0.5
Release date: January 21, 2023
New Features
- Updated handling failed video download logic. In case of failed post-processing by yt-dlp, the (broken) video file could still remain in the temporary directory. This update handles this potential issue.
Important
N/A
Misc
N/A
Release 0.4
Release date: November 13, 2022
New Features
N/A
Important
- Changed default yt-dlp options in
worker/ytdl_opts/default.py
. Replaced'max_downloads': 1
with'playlist_items': '1:1'
to properly handle the result. - It's important to know that the worker backend does not handle downloading more than one video from the playlist even if you change yt-dlp options. Only the first video will be downloaded and processed.
Misc
N/A
Release 0.3.1
Release date: November 11, 2022
New Features
- This is maintenance release. No New Features. Bumped
fastapi
andSQLAlchemy
versions, updated README.
Important
N/A
Misc
N/A
Release 0.3
Release date: November 7, 2022
New Features
- New or changed config variables in
bot/config-template.yml
:send_startup_message
- send startup messages (per user in config) or not- Fixed typo in
upload_vide_file
->upload_video_file
ytdlp_version_check_interval
variable replaced with a newytdlp
config section:version_check_enabled
- check for the newyt-dlp
version or notversion_check_interval
- check interval in seconds when enabled, default86400
(24 hours)notify_users_on_new_version
- send a notification to Telegram chats about the newyt-dlp
version or not (only log records will contain the message about the new version) for every user in the config
Important
- Default config template
bot/config-template.yml
was changed, reconfiguration needed
Misc
- Updated README