SS1984 - Modules - TypesVar Details

web_sound_info

Metadata about a web sound resolved through yt-dlp.

Produced by /proc/get_web_sound_info. Resolving metadata never downloads the audio file - that happens later, as a step of building the music asset.

Vars

albumAlbum name, if reported.
artistTrack artist, if reported.
durationTrack length in seconds.
error_messageHuman readable failure reason (yt-dlp stderr or a JSON parse error).
idSite specific media id, used to build the cached file name.
successWhether yt-dlp ran and its JSON output was parsed successfully.
titleDisplay title of the track.
upload_dateUpload date, if reported.
urlDirect stream url of the selected audio format.
webpage_urlUrl of the page the track was taken from.

Var Details

album

Album name, if reported.

artist

Track artist, if reported.

duration

Track length in seconds.

error_message

Human readable failure reason (yt-dlp stderr or a JSON parse error).

id

Site specific media id, used to build the cached file name.

success

Whether yt-dlp ran and its JSON output was parsed successfully.

title

Display title of the track.

upload_date

Upload date, if reported.

url

Direct stream url of the selected audio format.

webpage_url

Url of the page the track was taken from.