# -*- coding: utf-8 -*-
"""

    Copyright (C) 2014-2016 bromix (plugin.video.youtube)
    Copyright (C) 2016-2018 plugin.video.youtube

    SPDX-License-Identifier: GPL-2.0-only
    See LICENSES/GPL-2.0-only for more information.
"""

THUMB_SIZE = 'kodion.thumbnail.size'  # (int)
SHOW_FANART = 'kodion.fanart.show'  # (bool)
SAFE_SEARCH = 'kodion.safe.search'  # (int)
ITEMS_PER_PAGE = 'kodion.content.max_per_page'  # (int)
SEARCH_SIZE = 'kodion.search.size'  # (int)
CACHE_SIZE = 'kodion.cache.size'  # (int)
VIDEO_QUALITY = 'kodion.video.quality'  # (int)
VIDEO_QUALITY_ASK = 'kodion.video.quality.ask'  # (bool)
USE_DASH = 'kodion.video.quality.mpd'  # (bool)
MPD_QUALITY_SELECTION = 'kodion.mpd.quality.selection'  # (int)
MPD_30FPS_LIMIT = 'kodion.mpd.limit.30'  # (bool)
AUDIO_ONLY = 'kodion.audio_only'  # (bool)
AGE_GATE = 'kodion.age.gate'  # (bool)
SUBTITLE_LANGUAGE = 'kodion.subtitle.languages.num'  # (int)
SUBTITLE_DOWNLOAD = 'kodion.subtitle.download'  # (bool)
SETUP_WIZARD = 'kodion.setup_wizard'  # (bool)
VERIFY_SSL = 'simple.requests.ssl.verify'  # (bool)
LOCATION = 'youtube.location'  # (str)
LOCATION_RADIUS = 'youtube.location.radius'  # (int)
PLAY_COUNT_MIN_PERCENT = 'kodion.play_count.percent'  # (int)
USE_PLAYBACK_HISTORY = 'kodion.playback.history'  # (bool)
REMOTE_FRIENDLY_SEARCH = 'youtube.search.remote.friendly'  # (bool)

SUPPORT_ALTERNATIVE_PLAYER = 'kodion.support.alternative_player'  # (bool)
ALTERNATIVE_PLAYER_WEB_URLS = 'kodion.alternative_player.web.urls'  # (bool)

ALLOW_DEV_KEYS = 'youtube.allow.dev.keys'  # (bool)

DASH_VIDEOS = 'kodion.mpd.videos'  # (bool)
DASH_INCL_HDR = 'kodion.mpd.hdr'  # (bool)
DASH_LIVE_STREAMS = 'kodion.mpd.live_streams'  # (bool)

HTTPD_PORT = 'kodion.mpd.proxy.port'  # (number)
HTTPD_LISTEN = 'kodion.http.listen'  # (string)
HTTPD_WHITELIST = 'kodion.http.ip.whitelist'  # (string)

API_CONFIG_PAGE = 'youtube.api.config.page'  # (bool)
