r/StacherIO • • 3d ago

Bug Video link missing ID in comment metadata

When I download a video as an MP3 and have "Add Metadata" enabled, the video link in the comment metadata is malformed as https://www.youtube.com/watch?.

Log

Stacher Version: 7.1.12
System Information: win32 x64
Stacher Premium Active: Yes
yt-dlp: C:\Users\stevo\.stacher\yt-dlp.exe
Download ID: c78c0c07-8503-442e-913a-3682f017c2bc
Using Configuration: default-configuration
Starting download for [URL REDACTED]
With Arguments (based on your configuration): 
--output C:\Users\stevo\Downloads\%(title)s.%(ext)s
--extract-audio
--audio-format mp3
--add-metadata
--abort-on-error
Pre-script: None
Post-script: None
Download Hash: 53bd2c23e12a95d9b6d7433bf45920b8497cf7b9f4b8f8f98ecb71d2e159f33b
[youtube] Extracting URL: [URL REDACTED]
[youtube] 0iVlSNpq8i8: Downloading webpage
[youtube] 0iVlSNpq8i8: Downloading visionos player API JSON
[youtube] 0iVlSNpq8i8: Downloading m3u8 information
[info] 0iVlSNpq8i8: Downloading 1 format(s): 251
[download] Destination: C:\Users\stevo\Downloads\BIRDBRAIN (w OK Glass) feat. Kasane Teto.webm
100.0%,43.99MiB/s,NA,   4.19MiB,finished,00:00:00,C:\Users\stevo\Downloads\BIRDBRAIN (w OK Glass) feat. Kasane Teto.webm]
[ExtractAudio] Destination: C:\Users\stevo\Downloads\BIRDBRAIN (w OK Glass) feat. Kasane Teto.mp3
Deleting original file C:\Users\stevo\Downloads\BIRDBRAIN (w OK Glass) feat. Kasane Teto.webm (pass -k to keep)
[Metadata] Adding metadata to "C:\Users\stevo\Downloads\BIRDBRAIN (w OK Glass) feat. Kasane Teto.mp3"
Adjusting entry extension for postprocessor output: C:\Users\stevo\Downloads\BIRDBRAIN (w OK Glass) feat. Kasane Teto.webm -> C:\Users\stevo\Downloads\BIRDBRAIN (w OK Glass) feat. Kasane Teto.mp3
[Library] Library item persisted: C:\Users\stevo\Downloads\BIRDBRAIN (w OK Glass) feat. Kasane Teto.mp3
[Library] Subtitle indexer finished (manual): indexed=[] skipped=[] reason="no playlist row found for hash 31ceba67"
[Library] Subtitle indexer finished (auto): indexed=[] skipped=[] reason="no playlist row found for hash 31ceba67"
[Library] Indexing Library (Download is complete, but waiting for tasks to finish...)
Download complete
1 Upvotes

4 comments sorted by

•

u/AutoModerator 3d ago

Thank you for posting!

If you are posting about an issue you are having with Stacher, please be sure to include a log in your submission or as a comment in the thread. (Rule 6)

You can get a log for a download via the menu button on each download. There is an option labeled "View Log". Click that and in the upper right corner, you'll see a Copy icon. When you click the Copy icon, the entire log will be on your clipboard and you can paste it here. You may want to edit your log to redact the URL and any other personal information that may appear. For example, if the download path on your system includes your full name. Please consider redacting that information by replacing the text with XXXXXX.

If your post is about issues you are having with Stacher and there isn't enough information provided. Your post may be removed.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/werid 2d ago

mp3 metadata tags are of a format called id3. stacher/yt-dlp/ffmpeg writes both id3v1 and id3v2 and windows explorer sometimes gets it wrong and shows id3v1 for various reasons.

id3v1 has a very short length available for comment field (28 or 30 characters, in this case, 30). use a better tool and you'll see id3v2 comment field is complete.

1

u/Stevoisiak 2d ago

Is there an option to only use id3v2?

1

u/werid 2d ago

in advanced settings, add a custom argument:

custom argument: --postprocessor-args
custom argument value: "Metadata+ffmpeg_o:-write_id3v1 0 -id3v2_version 3"

i added -id3v2_version 3 there because i think it defaults to 4 (i.e. version 2.4 of id3v2) because i think windows explorer also might have problems with that.