DVD

Description

DVD related functions

flu_dvd_disc_info_get ()

gboolean flu_dvd_disc_info_get (const gchar *device, gint layer, gint *copyright_flag, gint *region_mask, GError **error);

Gets the information about a disc

Since: 1.0

Parameters

device

The device filename representing the DVD drive

layer

The disc layer to get the info from

Returns

TRUE if successful, FALSE otherwise

flu_dvd_drive_info_get ()

gboolean flu_dvd_drive_info_get (const gchar *device, gint *user_resets, gint *region_mask, GError **error);

Gets the information about a drive

Since: 1.0

Parameters

device

The device filename representing the DVD drive

Returns

TRUE if successful, FALSE otherwise

flu_dvd_drive_region_set ()

gboolean flu_dvd_drive_region_set (const gchar *device, gint region_mask, GError **error);

Sets the region of the drive

Since: 1.0

Parameters

device

The device filename representing the DVD drive

region_mask

The region to set

Returns

TRUE if successful, FALSE otherwise

flu_dvd_region_name_get ()

gchar * flu_dvd_region_name_get (gint region_mask);

Gets a name for the specified region

Since: 1.0

Parameters

region_mask

The region to get the name from

Returns

The name that represents the region

flu_dvd_eject ()

void flu_dvd_eject (const gchar *device);

Eject the disc in the specified device

Since: 1.0

Parameters

device

The device filename representing the DVD drive (dvd://\\.\D: on Windows, dvd:///dev/dvd on Linux and OSX)