Commit bcd2a109 authored by wb9688's avatar wb9688
Browse files

Don't accept YouTube Mix playlists

parent e4874d55
......@@ -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