#ifndef _MEDIA_SVC_TYPES_H_
#define _MEDIA_SVC_TYPES_H_
-#include <time.h>
-
-/**
- * Type definition for content type
- */
-typedef enum {
- MEDIA_SVC_MEDIA_TYPE_IMAGE = 0, /**< Image Content*/
- MEDIA_SVC_MEDIA_TYPE_VIDEO = 1, /**< Video Content*/
- 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;
-
-/**
- * Media meta data information
- */
-typedef struct {
- char *title; /**< track title*/
- char *album; /**< album name*/
- char *artist; /**< artist name*/
- char *album_artist; /**< artist name*/
- char *genre; /**< genre of track*/
- char *composer; /**< composer name*/
- char *year; /**< year*/
- char *recorded_date; /**< recorded date*/
- char *copyright; /**< copyright*/
- char *track_num; /**< track number*/
- char *description; /**< description*/
- int bitrate; /**< bitrate*/
- int samplerate; /**< samplerate*/
- int channel; /**< channel*/
- int duration; /**< duration*/
- float longitude; /**< longitude*/
- float latitude; /**< latitude*/
- float altitude; /**< altitude*/
- char *exposure_time; /**< exposure_time*/
- float fnumber; /**< fnumber*/
- int iso; /**< iso*/
- char *model; /**< model*/
- int width; /**< width*/
- int height; /**< height*/
- char *datetaken; /**< datetaken*/
- int orientation; /**< orientation*/
- int rating; /**< user defined rating */
- int bitpersample; /**< bitrate*/
-
- char *file_name_pinyin; /**< pinyin for file_name*/
- char *title_pinyin; /**< pinyin for title*/
- char *album_pinyin; /**< pinyin for album*/
- char *artist_pinyin; /**< pinyin for artist*/
- char *album_artist_pinyin; /**< pinyin for album_artist*/
- char *genre_pinyin; /**< pinyin for genre*/
- 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;
-
-/**
- * Media data information
- */
-typedef struct {
- char *media_uuid; /**< Unique ID of item */
- char *path; /**< Full path of media file */
- char *file_name; /**< File name of media file. Display name */
- char *file_name_pinyin; /**< File name pinyin of media file. Display name */
- int media_type; /**< Type of media file : internal/external */
- char *mime_type; /**< Full path and file name of media file */
- unsigned long long size; /**< size */
- time_t added_time; /**< added time, time_t */
- time_t modified_time; /**< modified time, time_t */
- time_t timeline; /**< timeline of media, time_t */
- char *folder_uuid; /**< Unique ID of folder */
- int album_id; /**< Unique ID of album */
- char *thumbnail_path; /**< Thumbnail image file path */
- time_t favourate; /**< time favourate set */
- int is_drm; /**< is_drm. o or 1 */
- 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
*/
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_*/