Unverified Commit bff595c6 authored by Tobias Groza's avatar Tobias Groza Committed by GitHub
Browse files

Merge pull request #276 from wb9688/no-yt-mix

Don't accept YouTube Mix playlists
parents e4874d55 bcd2a109
......@@ -54,10 +54,9 @@ public class YoutubePlaylistLinkHandlerFactory extends ListLinkHandlerFactory {
@Override
public boolean onAcceptUrl(final String url) {
try {
getId(url);
return !getId(url).startsWith("RD"); // Don't accept auto-generated "Mix" playlists
} catch (ParsingException e) {
return false;
}
return true;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment