Top |
char *discident_get_gtin_file (GFile *directory,GError **error);void discident_get_gtin_file_async (GFile *directory,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);char *discident_get_gtin_file_finish (GFile *directory,GAsyncResult *res,GError **error);char *discident_get_title (GFile *directory,GError **error);void discident_get_title_file_async (GFile *directory,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);char *discident_get_title_file_finish (GFile *directory,GAsyncResult *res,GError **error);
char * discident_get_gtin_file (GFile *directory,GError **error);
Return the GTIN of the DVD location at directory
. Note that this
function does blocking I/O. See discident_get_gtin_file_async()
|
a |
|
a |
Returns : |
a string containing the GTIN for the DVD or NULL g_free() |
void discident_get_gtin_file_async (GFile *directory,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously gets the GTIN of the DVD tree location in
directory
. This function does not use the Internet.
When the operation is finished, callback
will be called. You can then call
discident_get_gtin_file_finish()
|
a |
|
optional NULL |
|
a |
|
the data to pass to callback function |
char * discident_get_gtin_file_finish (GFile *directory,GAsyncResult *res,GError **error);
Finishes getting the GTIN for the DVD tree at directory
. See
discident_get_gtin_file_async()
|
a |
|
a |
|
a |
Returns : |
the GTIN for the DVD or NULL g_free() |
char * discident_get_title (GFile *directory,GError **error);
Returns the title of the DVD located at directory
. Note that this
function does blocking I/O. See discident_get_title_file_async()
|
a |
|
a |
Returns : |
a string containing the title or NULL g_free() |
void discident_get_title_file_async (GFile *directory,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously gets the title of the DVD tree located in
directory
using the DiscIdent web service.
When the operation is finished, callback
will be called. You can then call
discident_get_title_file_finish()
|
a |
|
optional NULL |
|
a |
|
the data to pass to callback function |
char * discident_get_title_file_finish (GFile *directory,GAsyncResult *res,GError **error);
Finishes a title get operation. See discident_get_title_file_async()
|
a |
|
a |
|
a |
Returns : |
a string containing the title or NULL g_free() |