Gtuber: Gtuber Reference Manual

## Gtuber Gtuber — misc functions |

## Functions

gboolean | gtuber_has_plugin_for_uri ()
const gchar *const * | gtuber_get_supported_schemes ()

## Description

## Functions

### gtuber_has_plugin_for_uri ()

    gboolean
    gtuber_has_plugin_for_uri (const gchar *uri,
                               gchar **filename);

Checks if any among installed plugins advertises support for given URI.

You can use this to check plugin support without actually trying to download any data, otherwise just use `GtuberClient` to fetch media info directly.

#### Parameters

uri | a media source URI |
filename | return location for plugin filename that handles given URI, or `NULL`. | [out][optional][transfer full]

#### Returns

`TRUE` when URI is supported with out parameters set, `FALSE` otherwise.

### gtuber_get_supported_schemes ()

    const gchar *const *
    gtuber_get_supported_schemes (void);

Get the list of all supported URI schemes by currently available plugins.

#### Returns

Supported URI schemes.

[transfer none]