// TODO: support all content types
public void connect() throws IOException
{
try {
BDLocator locator = new BDLocator(getLocator().toExternalForm());
if (locator.isPlayListItem()) {
contentType = "playlist";
playlist = locator.getPlayListId();
}
} catch (InvalidLocatorException e) {
// ignore
}
}