def METHOD_NAME(self):
    oPremiumHandler = cPremiumHandler(self.getPluginIdentifier())
    if (oPremiumHandler.isPremiumModeAvailable()):
        sUsername = oPremiumHandler.getUsername()
        sPassword = oPremiumHandler.getPassword()
        return self._getMediaLinkByPremiumUser(sUsername, sPassword);
    return self._getMediaLinkForGuest();