[UTC][metadata-editor][Non-ACR] Fix bug 91/277691/1
authorminje.ahn <minje.ahn@samsung.com>
Tue, 12 Jul 2022 07:03:29 +0000 (16:03 +0900)
committerminje.ahn <minje.ahn@samsung.com>
Tue, 12 Jul 2022 07:03:29 +0000 (16:03 +0900)
Change-Id: I303ba447cca4a535f8284e8f8562ad7cfd711ad4
Signed-off-by: minje.ahn <minje.ahn@samsung.com>
src/utc/metadata-editor/res/mobile/sample_audio.mp3
src/utc/metadata-editor/res/tizeniot/sample_audio.mp3
src/utc/metadata-editor/res/tv/sample_audio.mp3
src/utc/metadata-editor/res/wearable/sample_audio.mp3
src/utc/metadata-editor/utc-metadata-editor.c

index 0104161ae58aaa58faac3b9edaa756f785884ee5..61c0f6cac231579e8ec1107b31c692e4a9846a29 100644 (file)
Binary files a/src/utc/metadata-editor/res/mobile/sample_audio.mp3 and b/src/utc/metadata-editor/res/mobile/sample_audio.mp3 differ
index 0104161ae58aaa58faac3b9edaa756f785884ee5..61c0f6cac231579e8ec1107b31c692e4a9846a29 100755 (executable)
Binary files a/src/utc/metadata-editor/res/tizeniot/sample_audio.mp3 and b/src/utc/metadata-editor/res/tizeniot/sample_audio.mp3 differ
index 0104161ae58aaa58faac3b9edaa756f785884ee5..61c0f6cac231579e8ec1107b31c692e4a9846a29 100755 (executable)
Binary files a/src/utc/metadata-editor/res/tv/sample_audio.mp3 and b/src/utc/metadata-editor/res/tv/sample_audio.mp3 differ
index 0104161ae58aaa58faac3b9edaa756f785884ee5..61c0f6cac231579e8ec1107b31c692e4a9846a29 100755 (executable)
Binary files a/src/utc/metadata-editor/res/wearable/sample_audio.mp3 and b/src/utc/metadata-editor/res/wearable/sample_audio.mp3 differ
index 81ed174b4cdf7f032a3396fc498af371f5e3c996..d8ab5ed92e68622e689bff4e3052f3c5c02e51ef 100755 (executable)
@@ -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;