NAME maimaker3000
SYNOPSIS mm [mai playlist URL]
DESCRIPTION downloads a playlist of songs curated by the most powerful human art enthusiast ever.
FLOW - extract description from youtube link - feed description into awk/grep, extract the song and name of each item and output into file - batch search for each video on youtube. - retrieve the first result. - you now have a playlist of music!!!
TODO - add logic to set metadata (song name, artist, etc) where applicable
ERRORS - Sometimes the desired video is second to a less desirable one (the first result). This can be due to the context; it's possible for the ideal video to download to include different strings such as the name of the media that the song is from, for example. In this case it is better to search and filter for popularity instead of string matching (relevance). That is to say, the only way for yt-dlp to "see" anything beyond the first search result is to download more than the first search result, which is less than ideal. What would be optimal is to search youtube, filter results by various qualifiers such as string matching, popularity, length of title(?), etc. and pick the ideal one, however that is calculated.
IDEAS - Logic to choose between search filtering for relevance or popularity, based on which result matches the query (among other identifiers) - Retrieve/add thumbnail or album cover where applicable. - Add song/artist names to metadata