-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] %(uploader).valueB not working as intended #680
Comments
Ah i know what's wrong.
I'll fix this. In the meantime in the download card just make the author textfield empty |
Oh that's why xD |
%(uploader).valueB limit does work for any value smaller than 30B |
⠀
⠀
Describe the bug
When using %(uploader).valueB, the artist section (in both file name and metadata) will be limited to 30 characters, even when changing said value. It doesn't save everything after download.
Expected behavior
What I tested is an EDM megacollab song, with 6 artists (five DJs, one singer).
What I expected to see: "Clarx, 3rd Prototype, Debris, EMDI, Harley Bird, Sweet Harmony" (appears when about to download)
What happens: "Clarx, 3rd Prototype, Debris," (after download)
Steps to reproduce
Device information
Device: Samsung Galaxy A35 5G
System: Android 14
OS: OneUI 6.1
Tried with every version (stable, nightly, master) without youtube premium.
Screenshots / Recordings
The song I used.
![Screenshot_20250105_044601_RVX Music](https://private-user-images.githubusercontent.com/103771763/400208387-8ba72d28-f142-4a6c-a4dc-c8c43c09f5b9.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NDA4MzMsIm5iZiI6MTczODk0MDUzMywicGF0aCI6Ii8xMDM3NzE3NjMvNDAwMjA4Mzg3LThiYTcyZDI4LWYxNDItNGE2Yy1hNGRjLWM4YzQzYzA5ZjViOS5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwN1QxNTAyMTNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00Mzk2OWFmYzRjNjQzZDMzMTg4NzA5MDc4ODZjOTc0YTE5MWY0MjcwYjRjOWVmNWNiZWU3NDE4NDQyM2RjZmYyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.LxHdq2IK9nqvjtH4c1s8wSyWtXkumW-dML2kpS84vQg)
The command tab before downloading.
![Screenshot_20250105_203153.jpg](https://private-user-images.githubusercontent.com/103771763/400238398-e070b395-9487-4c13-a25c-617424aa2c13.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NDA4MzMsIm5iZiI6MTczODk0MDUzMywicGF0aCI6Ii8xMDM3NzE3NjMvNDAwMjM4Mzk4LWUwNzBiMzk1LTk0ODctNGMxMy1hMjVjLTYxNzQyNGFhMmMxMy5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwN1QxNTAyMTNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00MzU0NzNhNDg4NzMwOGMwNjUwN2Y3MGE2NDg4MDE1NTM4ZDkxMzVhYzIxYTc0NTkwNmQ0OTJhMGQxNjVmOWUxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.ETSzX6jWge6BKFp-GKRNIQMnt-thR8uqVHyMfNBpWdA)
Additional context
(Here's the log with 70 as set value)
Downloading:
Title: Evolution
URL: https://youtu.be/K3hfHTxNuCQ
Type: audio
Command:
-N "3" --trim-filenames "182" --no-mtime --sponsorblock-remove "music_offtopic" --force-keyframes-at-cuts --audio-quality "0" --extractor-args "youtube:lang=fr" --load-info-json "/storage/emulated/0/Android/data/com.deniscerri.ytdl/files/downloads/infojsons/a6af348d5a7744a2c2edd153b0792edf.info.json" -f "251/ba/b" -x --audio-format "opus" -P "/storage/emulated/0/Android/data/com.deniscerri.ytdl/files/downloads/189" -S "hasaud,size,acodec:opus,aext:opus,lang:en" -o "%(uploader).70B - %(title).70B.%(ext)s" --replace-in-metadata "title" ".+" "Evolution" --parse-metadata "%(title)s:%(meta_title)s" --replace-in-metadata "uploader" ".+" "Clarx, 3rd Prototype, Debris, " --parse-metadata "%(uploader)s:%(artist)s" --embed-metadata --parse-metadata "%(playlist_uploader,artist|)s:^(?P<first_artist>.*?)(?:(?=,\s+)|$)" --parse-metadata "%(album_artist,first_artist|)s:%(album_artist)s" --parse-metadata "description:(?:Released on: )(?P<dscrptn_year>\d{4})" --parse-metadata "%(dscrptn_year,release_year,release_date>%Y,upload_date>%Y)s:(?P<meta_date>\d+)" --embed-thumbnail --convert-thumbnails "png" --ppa "ThumbnailsConvertor:-vf crop="'if(gt(ih,iw),iw,ih)':'if(gt(iw,ih),ih,iw)'"" "https://youtu.be/K3hfHTxNuCQ"
[MetadataParser] Changed title to: Evolution
[MetadataParser] Parsed meta_title from '%(title)s': 'Evolution'
[MetadataParser] Changed uploader to: Clarx, 3rd Prototype, Debris,
[MetadataParser] Parsed artist from '%(uploader)s': 'Clarx, 3rd Prototype, Debris, '
[MetadataParser] Parsed first_artist from '%(playlist_uploader,artist|)s': 'Clarx'
[MetadataParser] Parsed album_artist from '%(album_artist,first_artist|)s': 'Clarx'
[MetadataParser] Parsed dscrptn_year from '%(description)s': '2021'
[MetadataParser] Parsed meta_date from '%(dscrptn_year,release_year,release_date>%Y,upload_date>%Y)s': '2021'
[SponsorBlock] Fetching SponsorBlock segments
[SponsorBlock] No matching segments were found in the SponsorBlock database
[info] K3hfHTxNuCQ: Downloading 1 format(s): 251
[info] Downloading video thumbnail 42 ...
[info] Writing video thumbnail 42 to: /storage/emulated/0/Android/data/com.deniscerri.ytdl/files/downloads/189/Clarx, 3rd Prototype, Debris, - Evolution.webp
[ThumbnailsConvertor] Converting thumbnail "/storage/emulated/0/Android/data/com.deniscerri.ytdl/files/downloads/189/Clarx, 3rd Prototype, Debris, - Evolution.webp" to png
Deleting original file /storage/emulated/0/Android/data/com.deniscerri.ytdl/files/downloads/189/Clarx, 3rd Prototype, Debris, - Evolution.webp (pass -k to keep)
[download] Destination: /storage/emulated/0/Android/data/com.deniscerri.ytdl/files/downloads/189/Clarx, 3rd Prototype, Debris, - Evolution.webm
[download] 100% of 2.34MiB in 00:00:00 at 7.13MiB/s
[ExtractAudio] Destination: /storage/emulated/0/Android/data/com.deniscerri.ytdl/files/downloads/189/Clarx, 3rd Prototype, Debris, - Evolution.opus
Deleting original file /storage/emulated/0/Android/data/com.deniscerri.ytdl/files/downloads/189/Clarx, 3rd Prototype, Debris, - Evolution.webm (pass -k to keep)
[ModifyChapters] SponsorBlock information is unavailable
[Metadata] Adding metadata to "/storage/emulated/0/Android/data/com.deniscerri.ytdl/files/downloads/189/Clarx, 3rd Prototype, Debris, - Evolution.opus"
[EmbedThumbnail] mutagen: Adding thumbnail to "/storage/emulated/0/Android/data/com.deniscerri.ytdl/files/downloads/189/Clarx, 3rd Prototype, Debris, - Evolution.opus"
The text was updated successfully, but these errors were encountered: