Skip to content

Choose videos by name via fuzzy best-match#55

Open
Ruakij wants to merge 4 commits into
whatdaybob:mainfrom
Ruakij:feat_filterPlaylistVideosByName
Open

Choose videos by name via fuzzy best-match#55
Ruakij wants to merge 4 commits into
whatdaybob:mainfrom
Ruakij:feat_filterPlaylistVideosByName

Conversation

@Ruakij
Copy link
Copy Markdown

@Ruakij Ruakij commented Apr 25, 2023

Problem:

In some cases, the yt-search results in multiple videos being returned, but only one of them being the best-match.
This isnt necessarily the latest or first one in the list of results.

Changes to solve:

Added fuzzy-checking to the results and only select the best-match instead of the first one.

Further changes:

Instwad of grabbing the webpage-url, the url of the video is seletec instead. This should stop some cases where only a flat-search was done, in this case, webpage-url always returns e.g. the playlist-url, not the video-url.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant