summaryrefslogtreecommitdiff
path: root/include/media_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/media_info.h')
-rwxr-xr-xinclude/media_info.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/media_info.h b/include/media_info.h
index b074100..2cfc92f 100755
--- a/include/media_info.h
+++ b/include/media_info.h
@@ -551,6 +551,21 @@ int media_info_get_provider(media_info_h media, char **provider);
int media_info_get_content_name(media_info_h media, char **content_name);
/**
+ * @brief Gets the title to media info.
+ *
+ * @remarks @a title must be released with free() by you.
+ *
+ * @param[in] media The handle to media info
+ * @param[out] title The title of media info
+ * @return 0 on success, otherwise a negative error value.
+ * @retval #MEDIA_CONTENT_ERROR_NONE Successful
+ * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory
+ * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
+ *
+ */
+int media_info_get_title(media_info_h media, char **title);
+
+/**
* @brief Gets the provider to media info.
*
* @remarks @a category must be released with free() by you.