@2_ Prerequisites:
-
foo_youtube component:
https://www.foobar2000.org/components/view/foo_youtube; https://fy.3dyd.com/ to play YouTube videos.
- and/or yt-dlp.exe (for YouTube search): Get it from here [https://github.com/yt-dlp/yt-dlp] if you want to search YouTube using yt-dlp.exe.
(yt_dlp.exe located under this path :
{fb2k_Profile_Path}\skins\external_helper\yt-dlp.exe).@3_ How It Works:
- Users need to feed foo_youtube with a structured list of songs that is friendly with the [foo_youtube] component. This builds a playlist from track locations (similar to foo_tags).
- Where can we get the song list?
+ Manually: Users input text to search directly on youtube.com (not limited to audio tracks).
+ Still manually: Users input an artist name (1), last.fm verifies this name and returns that artist's song list from its database (2), and then youtube.com searches for this data (artist + song title).
+ Automatically: Get the list from somewhere.
- Possible online 'databases':
* MusicBrainz (musicbrainz.org)
* lastFM (last.fm, ws.audioscrobbler.com): We prefer this database as last.fm seems to be YouTube's ally.
> Top trending tracks
> Artist's top tracks classified by locale, years, genre, etc.
* Official Charts (officialcharts.com)
@4_ How We Interact with This Script:
- Context menu via right-click.
@5_ Why YouTube Music:
- We may not get 'high-res' audio tracks from youtube.com, BUT:
- It's a huge store for audio tracks, especially the [YouTube Music] streaming platform.
- Videos often contain audio tracks.
- Some/many audio tracks were/are uploaded by artists, 'semi-artists,' and are only available on this platform (especially single versions).
- Trending.
. . .
Let's dive in!
@6_ Limitations:
- YouTube searching may return irrelevant results, such as other artists' audio tracks, instead of the ones we're looking for.
How to improve:
+ Firstly, let YouTube return an audio track list, and then we search for the 'best' or good match based on our judgment (this will slow things down).
+ Alternatively, we can grab only the first/top audio track from the pool list, hoping that YouTuBe (Google) returns the best match ranked at the top (faster approach).
- User interface/UI: Not very user-friendly.
- Bugs: this is just departure , version [1.0.0 QM] 22Aug2024.
Wish you all the best.
ilovefb2k