(request: WSGIRequest)
return {
        "base_urls": urls.base_paths,
        "voting_enabled": storage.get("voting_enabled"),
        "hashtag": _get_random_hashtag(),
        "demo": conf.DEMO,
        "controls_enabled": user_manager.has_controls(request.user),
        "is_admin": user_manager.is_admin(request.user),
        "apk_link": _get_apk_link(),
        "local_enabled": storage.get("local_enabled"),
        "youtube_enabled": storage.get("youtube_enabled"),
        "spotify_enabled": storage.get("spotify_enabled"),
        "soundcloud_enabled": storage.get("soundcloud_enabled"),
        "jamendo_enabled": storage.get("jamendo_enabled"),
        "streaming_enabled": conf.DOCKER_ICECAST or storage.get("output") == "icecast",
    }
Returns the base context that is needed on every page.
    Increments the visitors counter.
Returns the base context that is needed on every page.
    Increments the visitors counter.
Returns the base context that is needed on every page . Increments the visitors counter .
def context(request: WSGIRequest) -> Dict[str, Any]:
    """Returns the base context that is needed on every page.
    Increments the visitors counter."""
    from core import urls

    _increment_counter()
    return {
        "base_urls": urls.base_paths,
        "voting_enabled": storage.get("voting_enabled"),
        "hashtag": _get_random_hashtag(),
        "demo": conf.DEMO,
        "controls_enabled": user_manager.has_controls(request.user),
        "is_admin": user_manager.is_admin(request.user),
        "apk_link": _get_apk_link(),
        "local_enabled": storage.get("local_enabled"),
        "youtube_enabled": storage.get("youtube_enabled"),
        "spotify_enabled": storage.get("spotify_enabled"),
        "soundcloud_enabled": storage.get("soundcloud_enabled"),
        "jamendo_enabled": storage.get("jamendo_enabled"),
        "streaming_enabled": conf.DOCKER_ICECAST or storage.get("output") == "icecast",
    }
def context ( request : WSGIRequest ) -> Dict [ str , Any ] : from core import urls _increment_counter ( ) return { "base_urls" : urls . base_paths , "voting_enabled" : storage . get ( "voting_enabled" ) , "hashtag" : _get_random_hashtag ( ) , "demo" : conf . DEMO , "controls_enabled" : user_manager . has_controls ( request . user ) , "is_admin" : user_manager . is_admin ( request . user ) , "apk_link" : _get_apk_link ( ) , "local_enabled" : storage . get ( "local_enabled" ) , "youtube_enabled" : storage . get ( "youtube_enabled" ) , "spotify_enabled" : storage . get ( "spotify_enabled" ) , "soundcloud_enabled" : storage . get ( "soundcloud_enabled" ) , "jamendo_enabled" : storage . get ( "jamendo_enabled" ) , "streaming_enabled" : conf . DOCKER_ICECAST or storage . get ( "output" ) == "icecast" , }