From: minje.ahn Date: Tue, 12 Jul 2022 07:03:29 +0000 (+0900) Subject: [UTC][metadata-editor][Non-ACR] Fix bug X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=40fbe7cc788b5ec17488c5e771d6a1878529365f;p=test%2Ftct%2Fnative%2Fapi.git [UTC][metadata-editor][Non-ACR] Fix bug Change-Id: I303ba447cca4a535f8284e8f8562ad7cfd711ad4 Signed-off-by: minje.ahn --- diff --git a/src/utc/metadata-editor/res/mobile/sample_audio.mp3 b/src/utc/metadata-editor/res/mobile/sample_audio.mp3 index 0104161ae..61c0f6cac 100644 Binary files a/src/utc/metadata-editor/res/mobile/sample_audio.mp3 and b/src/utc/metadata-editor/res/mobile/sample_audio.mp3 differ diff --git a/src/utc/metadata-editor/res/tizeniot/sample_audio.mp3 b/src/utc/metadata-editor/res/tizeniot/sample_audio.mp3 index 0104161ae..61c0f6cac 100755 Binary files a/src/utc/metadata-editor/res/tizeniot/sample_audio.mp3 and b/src/utc/metadata-editor/res/tizeniot/sample_audio.mp3 differ diff --git a/src/utc/metadata-editor/res/tv/sample_audio.mp3 b/src/utc/metadata-editor/res/tv/sample_audio.mp3 index 0104161ae..61c0f6cac 100755 Binary files a/src/utc/metadata-editor/res/tv/sample_audio.mp3 and b/src/utc/metadata-editor/res/tv/sample_audio.mp3 differ diff --git a/src/utc/metadata-editor/res/wearable/sample_audio.mp3 b/src/utc/metadata-editor/res/wearable/sample_audio.mp3 index 0104161ae..61c0f6cac 100755 Binary files a/src/utc/metadata-editor/res/wearable/sample_audio.mp3 and b/src/utc/metadata-editor/res/wearable/sample_audio.mp3 differ diff --git a/src/utc/metadata-editor/utc-metadata-editor.c b/src/utc/metadata-editor/utc-metadata-editor.c index 81ed174b4..d8ab5ed92 100755 --- a/src/utc/metadata-editor/utc-metadata-editor.c +++ b/src/utc/metadata-editor/utc-metadata-editor.c @@ -42,6 +42,7 @@ typedef enum { ME_CONTENT_TYPE_ID3v1, ME_CONTENT_TYPE_ID3v2, ME_CONTENT_TYPE_MP4, + ME_CONTENT_TYPE_FLAC, ME_CONTENT_TYPE_OGG, ME_CONTENT_TYPE_ID3v2_MODIFIED, ME_CONTENT_TYPE_MP4_MODIFIED, @@ -101,6 +102,21 @@ static char *tag_value[ME_CONTENT_TYPE_MAX][METADATA_EDITOR_ATTR_UNSYNCLYRICS + "Test conductor", "Test lyrics"}, + //ME_CONTENT_TYPE_FLAC + {"Test artist", + "Test title", + "Test album", + "Rock", + "Test composer", + "Test copyright", + "2020", + "Test description", + "Test comment", + "15", + "0", + "Test conductor", + "Test lyrics"}, + //ME_CONTENT_TYPE_OGG {"Test artist", "Test title", @@ -511,7 +527,7 @@ int utc_metadata_editor_get_metadata_p6(void) ret = metadata_editor_set_path(g_handle, g_flac_path); assert_eq(ret, METADATA_EDITOR_ERROR_NONE); - ret = __get_metadata(g_handle, ME_CONTENT_TYPE_MP4); + ret = __get_metadata(g_handle, ME_CONTENT_TYPE_FLAC); assert_eq(ret, METADATA_EDITOR_ERROR_NONE); return 0;