* Type definition for storage type
*/
typedef enum {
- MEDIA_SVC_STORAGE_INTERNAL = 0, /**< Internal storage*/
- MEDIA_SVC_STORAGE_EXTERNAL = 1, /**< External storage*/
- MEDIA_SVC_STORAGE_CLOUD = 100, /**< Cloud Storage*/
- MEDIA_SVC_STORAGE_MAX, /**< Invalid storage*/
+ MEDIA_SVC_STORAGE_INTERNAL = 0, /**< The device's internal storage */
+ MEDIA_SVC_STORAGE_EXTERNAL = 1, /**< The device's external storage like sd card*/
+ MEDIA_SVC_STORAGE_EXTERNAL_USB = 2, /**< The external USB storage (Since 2.4) */
+ MEDIA_SVC_STORAGE_MAX, /**< Invalid storage*/
} media_svc_storage_type_e;
/**
MEDIA_SVC_MEDIA_TYPE_SOUND = 2, /**< Sound Content like Ringtone*/
MEDIA_SVC_MEDIA_TYPE_MUSIC = 3, /**< Music Content like mp3*/
MEDIA_SVC_MEDIA_TYPE_OTHER = 4, /**< Not media Content*/
+ MEDIA_SVC_MEDIA_TYPE_PVR = 5, /**< PVR Content*/
+ MEDIA_SVC_MEDIA_TYPE_UHD = 6, /**< UHD Content*/
+ MEDIA_SVC_MEDIA_TYPE_SCSA = 7, /**< SCSA Content*/
} media_svc_media_type_e;
/**
float altitude; /**< altitude*/
char *exposure_time; /**< exposure_time*/
float fnumber; /**< fnumber*/
- int iso; /**< iso*/
+ int iso; /**< iso*/
char *model; /**< model*/
- int width; /**< width*/
- int height; /**< height*/
+ int width; /**< width*/
+ int height; /**< height*/
char *datetaken; /**< datetaken*/
int orientation; /**< orientation*/
int rating; /**< user defined rating */
- char *weather; /**< weather of image */
- int bitpersample; /**< bitrate*/
+ char *weather; /**< weather of image */
+ int bitpersample; /**< bitrate*/
+ char *category; /**< category*/
+ char *keyword; /**< keyword*/
+ char *location_tag; /**< location_tag*/
+ char *content_name; /**< content_name*/
+ char *age_rating; /**< age_rating*/
+ char *author; /**< author*/
+ char *provider; /**< provider*/
char *file_name_pinyin; /**< pinyin for file_name*/
char *title_pinyin; /**< pinyin for title*/
char *composer_pinyin; /**< pinyin for composer*/
char *copyright_pinyin; /**< pinyin for copyright*/
char *description_pinyin; /**< pinyin for description*/
+ int is_360;
} media_svc_content_meta_s;
/**
int played_count; /**< played count */
int last_played_time; /**< last played time */
int last_played_position; /**< last played position */
- int favourate; /**< favourate. o or 1 */
+ time_t favourate; /**< time favourate set */
int is_drm; /**< is_drm. o or 1 */
- int sync_status; /**< sync_status */
+ int sync_status; /**< sync_status */
int storage_type; /**< Storage of media file : internal/external */
char *storage_uuid; /**< Unique ID of storage */
media_svc_content_meta_s media_meta; /**< meta data structure for audio files */
} media_svc_content_info_s;
+/**
+ * Type definition for scanning status
+ */
+typedef enum {
+ MEDIA_SVC_SCAN_PREPARE = 0, /**< Prepare scanning*/
+ MEDIA_SVC_SCAN_PROCESSING = 1, /**< Process scanning*/
+ MEDIA_SVC_SCAN_STOP = 2, /**< Stop scanning*/
+ MEDIA_SVC_SCAN_COMPLETE = 3, /**< Complete scanning*/
+ MEDIA_SVC_SCAN_MAX = 4, /**< Invalid status*/
+} media_svc_scan_status_type_e;
+
+#define MEDIA_SVC_DEFAULT_GPS_VALUE -200 /**< Default GPS Value*/
+
#endif /*_MEDIA_SVC_TYPES_H_*/