platform/core/multimedia/libmedia-service.git
5 years agoFix bug 60/206660/3 accepted/tizen/unified/20190530.043044 submit/tizen/20190524.060410
Minje Ahn [Thu, 23 May 2019 02:16:12 +0000 (11:16 +0900)]
Fix bug

Change-Id: I98364a89f4f2adf5944fb51d71bf81d2949d65cf
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoFix type 26/206626/1
Minje Ahn [Wed, 22 May 2019 07:39:01 +0000 (16:39 +0900)]
Fix type

Change-Id: Id607497e679ee6f44e5f2742de59e39931c79c26
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoDelete unused parameter 95/206595/4
Minje Ahn [Wed, 22 May 2019 03:47:20 +0000 (12:47 +0900)]
Delete unused parameter

Change-Id: I6d654025526ac6fd1dbe3f526960af1ed34826f8
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoRemove the queue for the folder insertion 45/206545/1
Minje Ahn [Tue, 21 May 2019 06:24:07 +0000 (15:24 +0900)]
Remove the queue for the folder insertion

No longer needed due to scanner logic changes

Change-Id: I22eb66179d2983e821c25bdeb4aa76f91af8195e
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoRemove unnecessary parameter 09/206509/1
Minje Ahn [Tue, 21 May 2019 00:27:03 +0000 (09:27 +0900)]
Remove unnecessary parameter

Deletes unnecessary parameter due to logic changes

Change-Id: Iba04217e47d3329ed6c2121a8568b9b7b26d6f67
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoModify scanner progress 76/206176/5
Minje Ahn [Wed, 15 May 2019 02:19:18 +0000 (11:19 +0900)]
Modify scanner progress

If the modified time of the database and the file system are different,
use UPDATE instead of DELETE/INSERT.

Change-Id: I7cae8da1e5091c7d547125c768cc714f75ee2f1c
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoFix query 69/206269/1
Minje Ahn [Thu, 16 May 2019 00:46:39 +0000 (09:46 +0900)]
Fix query

Change-Id: I2d724b9cec12a296a63921fc45c6e2803b047ab1
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoReduce DB connection when noti 11/206011/5 submit/tizen/20190515.071609
Minje Ahn [Mon, 13 May 2019 07:59:29 +0000 (16:59 +0900)]
Reduce DB connection when noti

Change-Id: Iaa04ae49271fdb26df960ffd3233f60a778ec291
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoUse DB thread for single query if the request is one 48/205748/2 submit/tizen/20190513.075227
Minje Ahn [Thu, 9 May 2019 04:09:15 +0000 (13:09 +0900)]
Use DB thread for single query if the request is one

If the reqeust is one, use single DB thread instead of batch DB thread.

Change-Id: Ib733502747f326ae07d0f9e3dd91990cc09cd3cf
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoModify DB write operation 30/205630/2 accepted/tizen/unified/20190510.012005 submit/tizen/20190509.023459
Minje Ahn [Wed, 8 May 2019 05:49:03 +0000 (14:49 +0900)]
Modify DB write operation

Change-Id: I7f54ea45534af0ca1be039222e9c40ce4481673a
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoUpgrade media.db 7 to 8 14/205514/2 accepted/tizen/unified/20190508.234049 submit/tizen/20190508.054311
Minje Ahn [Tue, 7 May 2019 05:37:05 +0000 (14:37 +0900)]
Upgrade media.db 7 to 8

Change-Id: If06c149814c7f75e0b4416c13ee3dd8502330f72
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoRemove unused parameter 97/204597/2 accepted/tizen/unified/20190502.051429 submit/tizen/20190430.073413
Minje Ahn [Thu, 25 Apr 2019 00:17:49 +0000 (09:17 +0900)]
Remove unused parameter

Remove path len

Change-Id: I777fc1613a84d7fa2e1ec79793016ce17342e6af
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoUpdate package version 72/204172/1 accepted/tizen/unified/20190424.040816 submit/tizen/20190422.051140 submit/tizen/20190424.000637
Minje Ahn [Mon, 22 Apr 2019 04:24:00 +0000 (13:24 +0900)]
Update package version

0.3.31 to 0.4.0

Change-Id: I962419cb3c18b6b6c2f04a4c1be4d079746663d4
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoMatch columns of media with filter keyword 15/203715/2
Minje Ahn [Wed, 17 Apr 2019 06:38:23 +0000 (15:38 +0900)]
Match columns of media with filter keyword

Change-Id: I35daf16607f430225847d390489b0a3e7fc06d3e
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoMatch pinyin columns with filter keyword 32/203332/2 accepted/tizen/unified/20190415.132537 submit/tizen/20190412.061541
Minje Ahn [Thu, 11 Apr 2019 23:44:33 +0000 (08:44 +0900)]
Match pinyin columns with filter keyword

Change-Id: I8b954e34a66d72ff06524911253803afb7c515ec
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoMatch columns of folder with filter keyword 29/203329/2
Minje Ahn [Thu, 11 Apr 2019 22:49:14 +0000 (07:49 +0900)]
Match columns of folder with filter keyword

Change-Id: I015b6feb4e4d4cb51490c364a6291c72f8e36332
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoMatch columns of storage with filter keyword 34/203234/1 accepted/tizen/unified/20190412.124707 submit/tizen/20190411.090221
Minje Ahn [Thu, 11 Apr 2019 03:53:44 +0000 (12:53 +0900)]
Match columns of storage with filter keyword

Change-Id: I84cfbff3c6ab388d0028fb66281a1d5d151c6afd
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoFix folder query for filter keyword 51/202951/1 accepted/tizen/unified/20190410.002056 submit/tizen/20190408.061901
Minje Ahn [Mon, 8 Apr 2019 06:21:49 +0000 (15:21 +0900)]
Fix folder query for filter keyword

Change-Id: Id3df3bcb845d361f982c3a67e41e9ffc053bc326
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoChange bookmark query for filter keyword 41/202941/1
Minje Ahn [Mon, 8 Apr 2019 05:44:19 +0000 (14:44 +0900)]
Change bookmark query for filter keyword

Change-Id: Ic93e86feec1cd67a804e1b56c376fb99380e5fcf
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoFix face query 28/202928/1
Minje Ahn [Mon, 8 Apr 2019 04:18:01 +0000 (13:18 +0900)]
Fix face query

Change orientation to face_orientation in face table
(It may different with media orientation)

Change-Id: Ib8b54ba3dda29ae7c336b3db08f10eb5488cde20
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoChange path to folder_path in folder table 57/202757/1 accepted/tizen/unified/20190405.015711 submit/tizen/20190404.081808 submit/tizen/20190405.070252
Minje Ahn [Thu, 4 Apr 2019 02:09:44 +0000 (11:09 +0900)]
Change path to folder_path in folder table

1. Modify column name
2. Change media, folder join query
3. Remove alias from media and folder table

Change-Id: Id40d09f421d9a763c9e1ede30abb4a061bb4a3a8
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoMatch columns of playlist with filter keyword 02/202702/1 accepted/tizen/unified/20190404.022025 submit/tizen/20190403.091222
Minje Ahn [Wed, 3 Apr 2019 05:16:30 +0000 (14:16 +0900)]
Match columns of playlist with filter keyword

Change-Id: I09a4648b587795f93ce595099653dae2166d3164
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoMatch columns of tag with filter keyword 96/202696/1
Minje Ahn [Wed, 3 Apr 2019 02:26:39 +0000 (11:26 +0900)]
Match columns of tag with filter keyword

Change-Id: If5f2cc7a734f95789a992043b83e3aac4c9432e5
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoMatch columns of bookmark with filter keyword 91/202691/1
Minje Ahn [Wed, 3 Apr 2019 00:50:11 +0000 (09:50 +0900)]
Match columns of bookmark with filter keyword

Change-Id: I0d73588a240fd453e9d71e936a7a1001c10f88f2
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoMatch columns of face table with filter keyword 03/202403/1
Minje Ahn [Thu, 28 Mar 2019 05:42:59 +0000 (14:42 +0900)]
Match columns of face table with filter keyword

Change-Id: I7e123c60a762dbd8c21854287aa3356cc507dcad
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoRemove unused column 05/202305/1 accepted/tizen/unified/20190328.234704 submit/tizen/20190328.045207
Minje Ahn [Wed, 27 Mar 2019 04:26:00 +0000 (13:26 +0900)]
Remove unused column

Remove pinyin playlist name
Remove pinyin tag name

Change-Id: I9b8093b79bdef6758c7e18da0d9805762d6c47d1
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoReplace mm-utility function to mm_image_xxx() 61/201161/1 accepted/tizen/unified/20190311.220554 submit/tizen/20190311.013617
jiyong.min [Mon, 11 Mar 2019 04:47:42 +0000 (13:47 +0900)]
Replace mm-utility function to mm_image_xxx()

Change-Id: Ib2b619a1d1c5eb090d48db5589918bea2149a657

5 years ago[ACR-1348] Fix bug of media_info_insert_to_db API 96/198696/3 accepted/tizen/unified/20190131.161508 accepted/tizen/unified/20190208.061624 submit/tizen/20190130.041352 submit/tizen/20190207.065213
Minje Ahn [Tue, 29 Jan 2019 01:56:45 +0000 (10:56 +0900)]
[ACR-1348] Fix bug of media_info_insert_to_db API

When the media_info handle is returned, modify it to include the latest media information.
(In the past, if the media info you requested was in the database,
this API returned the media info without making sure it was up-to-date.)

Change-Id: I714b9e62504641e15f4c2df8e8c7d8b49cb73cd8
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoMove set_folder_item_validity 23/198723/1 submit/tizen/20190129.064431
Minje Ahn [Tue, 29 Jan 2019 05:27:55 +0000 (14:27 +0900)]
Move set_folder_item_validity

Move plugin to media-common

Change-Id: I17e60de39312f20282be171b08c21ba92babb1f0
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoMove get_storage_list 21/198721/1
Minje Ahn [Tue, 29 Jan 2019 05:20:10 +0000 (14:20 +0900)]
Move get_storage_list

Move plugin to media-common

Change-Id: I09600f3da32914441d75e52711bb328e9e08dc86
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoMove delete_invalid_folder 20/198720/1
Minje Ahn [Tue, 29 Jan 2019 05:10:56 +0000 (14:10 +0900)]
Move delete_invalid_folder

Move plugin to media-common

Change-Id: I4306e7ce7c56428246226e2cb9868dfe3dc4d769
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoChange the checking parameters due to 'sql' memory leackage 88/198588/2 accepted/tizen/unified/20190129.064314 submit/tizen/20190128.075328
jiyong.min [Mon, 28 Jan 2019 00:14:14 +0000 (09:14 +0900)]
Change the checking parameters due to 'sql' memory leackage
and fix the declaration of media_svc_insert_item_begin()

Change-Id: Ice666c65a8da387a5ef316cb6fabd2b1b8be69a4

5 years agoMove delete_all_invalid_items_in_storage 31/198031/1
Minje Ahn [Fri, 18 Jan 2019 01:43:01 +0000 (10:43 +0900)]
Move delete_all_invalid_items_in_storage

Move API from plugin to media-common

Change-Id: I01c52f4fa1b81bf842c8cf0f186ec0a93a0d7118
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoMove get_folder_id 16/198016/1
Minje Ahn [Fri, 18 Jan 2019 00:40:36 +0000 (09:40 +0900)]
Move get_folder_id

Move API from plugin to media-common

Change-Id: I0983cd93fc5bf8362fd285032280a1c3b59e717b
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoMove set_all_storage_items_validity 12/198012/2
Minje Ahn [Thu, 17 Jan 2019 23:21:34 +0000 (08:21 +0900)]
Move set_all_storage_items_validity

Move API from plugin to media-common

Change-Id: I34eec49f92454c6239713653d5568f4cbc0deba3
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoMove check_item_exist 25/197925/1
Minje Ahn [Thu, 17 Jan 2019 07:24:43 +0000 (16:24 +0900)]
Move check_item_exist

plugin to media-common library

Change-Id: I095aa6d5cb3aa6a65ca4c2ee4ae8aeda9622a842
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoAdd end flag for scanner-v2 77/197777/1 accepted/tizen/unified/20190116.160721 submit/tizen/20190116.054414
Minje Ahn [Wed, 16 Jan 2019 08:39:52 +0000 (17:39 +0900)]
Add end flag for scanner-v2

Change-Id: I812692716dc26796274b2c2b059fc33a9b8d0fd6
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoRemove plugin API for scanner-v2 only 57/196257/2
Minje Ahn [Wed, 26 Dec 2018 23:47:24 +0000 (08:47 +0900)]
Remove plugin API for scanner-v2 only

Change-Id: I4747057f686b88018e5c31f9eda9dae0f4c86189
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoFix array subscript is above array bounds 85/194685/2 accepted/tizen/unified/20190111.055201 submit/tizen/20190104.070559 submit/tizen/20190109.233706
jiyong.min [Fri, 7 Dec 2018 04:00:49 +0000 (13:00 +0900)]
Fix array subscript is above array bounds

Change-Id: I783904d2d1e535623731c59c59eee3e2fa41d1a2

5 years agoFix wrong category of the media from mime 68/194568/5
jiyong.min [Wed, 5 Dec 2018 04:38:44 +0000 (13:38 +0900)]
Fix wrong category of the media from mime

Change-Id: Ia6f99d5a61a43a895fbc50183623144c9f72a3ed

5 years agoMerge "Fix format error for dlog" into tizen
hj kim [Thu, 6 Dec 2018 07:59:40 +0000 (07:59 +0000)]
Merge "Fix format error for dlog" into tizen

5 years agoFix format error for dlog 93/194493/1
jiyong.min [Wed, 5 Dec 2018 04:20:31 +0000 (13:20 +0900)]
Fix format error for dlog

Change-Id: I5dda2669d37118359ed46d30727142119a1b2125

5 years agoAdd Werror options 79/194479/1
hj kim [Wed, 5 Dec 2018 01:59:54 +0000 (10:59 +0900)]
Add Werror options

Change-Id: I752766a443e7affc014b502bdb41773fe0f4709c

5 years agoRemove db-util dependency 13/194313/1
Minje Ahn [Mon, 3 Dec 2018 04:00:50 +0000 (13:00 +0900)]
Remove db-util dependency

Change-Id: I79465b0e344204e6142f53226798e934f3a1108f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoRearrange the code which is used only internally in media-svc-type.h. 21/194221/1
hj kim [Fri, 30 Nov 2018 05:34:51 +0000 (14:34 +0900)]
Rearrange the code which is used only internally in media-svc-type.h.

Change-Id: I5d5e062ccf2dcd4fb6791e2370e3389ad757f654

5 years agoRemove unused API media_svc_request_update_db() 15/194215/1
hj kim [Fri, 30 Nov 2018 04:45:30 +0000 (13:45 +0900)]
Remove unused API media_svc_request_update_db()

Change-Id: Ic2e250e886bc080e67a21fc985a7afce5ebe7359

5 years agoCheck input parmeters 91/194191/3
hj kim [Fri, 30 Nov 2018 02:30:23 +0000 (11:30 +0900)]
Check input parmeters

Change-Id: I849997c6e108bcab03c6ea0bc93afe71bef098ea

5 years agoRemove wrapping struct 82/194182/2
Minje Ahn [Fri, 30 Nov 2018 01:35:36 +0000 (10:35 +0900)]
Remove wrapping struct

Use sqlite3 Explicitly

Change-Id: I443d67880f7d4e87743856fc3f61b74615d4be37
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoChange DB connection API 78/194178/1
Minje Ahn [Fri, 30 Nov 2018 01:16:46 +0000 (10:16 +0900)]
Change DB connection API

Use media-util instead media-svc

Change-Id: I71658388d108e1d0b2846c3fcd91df84782b23a2
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoAdd parameter checking code 49/194149/1
hj kim [Thu, 29 Nov 2018 09:20:56 +0000 (18:20 +0900)]
Add parameter checking code

Change-Id: If26c1acb68ecd5682acbcd483163b1cf5744edb3

5 years agoRemove unused parameter 18/194118/1
Minje Ahn [Thu, 29 Nov 2018 07:18:19 +0000 (16:18 +0900)]
Remove unused parameter

Delete unused DB handle

Change-Id: Icda51ad05dbca4c3bc0c75ee11ea64bda1ab1a02
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoChange storage type function 87/194087/1
Minje Ahn [Thu, 29 Nov 2018 01:59:54 +0000 (10:59 +0900)]
Change storage type function

Use media-util function instead

Change-Id: I83c690b20c900201fe284de7ab7b6181b7eed56c
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoDelete err_msg 96/193996/3
Minje Ahn [Wed, 28 Nov 2018 06:25:08 +0000 (15:25 +0900)]
Delete err_msg

This is old code.
No more error msgs are required.
Use return value instead.

Change-Id: I6920c44e02f8f07eca404444c0ee948e0322401b
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoMove macro to utility header 58/193858/2
Minje Ahn [Tue, 27 Nov 2018 06:21:59 +0000 (15:21 +0900)]
Move macro to utility header

Change-Id: I753738d64f19b9f5561b75ab2e6013a9ffd53abb
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoMerge "Adding initial structure for unittest" into tizen
hj kim [Wed, 28 Nov 2018 09:04:58 +0000 (09:04 +0000)]
Merge "Adding initial structure for unittest" into tizen

5 years agoAdding initial structure for unittest 79/193379/11
jiyong.min [Tue, 20 Nov 2018 03:30:13 +0000 (12:30 +0900)]
Adding initial structure for unittest

- It has testcase for libmedia_service of unittest
- It would be enabled by gtest build with '--define "gtests 1"'
- It would be executed by user mode

Change-Id: If9b002fa6505279295b94d5bf4876e876fe00575

6 years ago[ACR-1308] Remove deprecated APIs 96/192596/1 submit/tizen/20181122.233111
Minje Ahn [Wed, 7 Nov 2018 01:53:55 +0000 (10:53 +0900)]
[ACR-1308] Remove deprecated APIs

Change-Id: I153afe01ce343a6a9d84e26d874003e903c925ae
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoRemove requires. Anything is required for using libmedia-service. 83/192083/3 accepted/tizen/unified/20181107.081950 submit/tizen/20181105.235320
hj kim [Tue, 30 Oct 2018 05:10:27 +0000 (14:10 +0900)]
Remove requires. Anything is required for using libmedia-service.

Change-Id: I40fb4f466172cbf83c3b5f94a8708f23a136debc

6 years agoSvace issue fix 56/190556/3 accepted/tizen/5.0/unified/20181102.014830 accepted/tizen/unified/20181005.012355 submit/tizen/20181004.053703 submit/tizen_5.0/20181101.000003
hj kim [Thu, 4 Oct 2018 00:44:30 +0000 (09:44 +0900)]
Svace issue fix

Change-Id: I505ce1778e8c74be3a7e4d7c45b9a993684f161a

6 years agoModify thumbnail store path 14/184314/5 accepted/tizen/unified/20180730.141940 submit/tizen/20180727.060045
Minje Ahn [Tue, 17 Jul 2018 07:13:53 +0000 (16:13 +0900)]
Modify thumbnail store path

Unifies the thumbnail path regardless of the storage type

Change-Id: I1c613a7282e16b394a3fa567ea8971c031337a79
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoAdd code for DB upgrade from v6 to v7 98/183298/1 accepted/tizen/unified/20180730.142105 submit/tizen/20180727.055504
Minje Ahn [Wed, 4 Jul 2018 07:40:30 +0000 (16:40 +0900)]
Add code for DB upgrade from v6 to v7

Changes:
Remove STORAGE_NAME, SCAN_STATUS from storage
Remove SCAN_STATUS from folder

Change-Id: I57cf764e3c99170708a1a5b6943031fd8ca4c317
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoSvace Issue fix 29/182329/1 accepted/tizen/unified/20180625.141524 submit/tizen/20180622.070254
hj kim [Fri, 22 Jun 2018 05:15:06 +0000 (14:15 +0900)]
Svace Issue fix

Change-Id: I2011e1f2c42c422dd4bfffbf7e733c6a91dcb5ed

6 years agoRemove unused parameter from plugin function 86/178786/1 accepted/tizen/unified/20180521.003628 submit/tizen/20180516.232011 submit/tizen/20180517.232110
Minje Ahn [Mon, 14 May 2018 05:12:41 +0000 (14:12 +0900)]
Remove unused parameter from plugin function

Remove scan_status from get_storage_list.
It is unused in function.

Change-Id: I452c88febe35e04fbff7a520b4051f3f47baf992
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoRemove storage_name column 69/178669/1
Minje Ahn [Fri, 11 May 2018 07:09:37 +0000 (16:09 +0900)]
Remove storage_name column

1. Remove storage name column from DB
2. Remove parameter related with storage name from functions

Change-Id: Ia72d897416c77798607e06e49e4501eaf3cef461
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoModified query for remove 07/175707/2 accepted/tizen/unified/20180516.065712 submit/tizen/20180511.003859 submit/tizen/20180516.001848
Minje Ahn [Thu, 12 Apr 2018 00:17:13 +0000 (09:17 +0900)]
Modified query for remove

storage_type is no longer needed

Change-Id: Id57c2b91bd977f5f66570bbf8bc2c0bbe4159a33
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoAdd fortify option 25/175625/2
Minje Ahn [Wed, 11 Apr 2018 07:18:29 +0000 (16:18 +0900)]
Add fortify option

Change-Id: Iba4a356252a251530059142f90b7dc673f890f32
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoRemove unused function 66/175166/3 submit/tizen/20180411.083552
Minje Ahn [Mon, 9 Apr 2018 06:13:35 +0000 (15:13 +0900)]
Remove unused function

1. Remove the code for scanner v2 only
2. Remove unused plugin function

Change-Id: I4498a02e2e48f007625af3d568790598394ea112
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoAdd function for invalid storage 93/174593/4
Minje Ahn [Tue, 3 Apr 2018 06:29:34 +0000 (15:29 +0900)]
Add function for invalid storage

Change-Id: I12eee14bbb4fbb6b60f8f53d9b46bee3077efb3d
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoModified queries for thumbnail 55/174455/1 accepted/tizen/unified/20180403.182359 submit/tizen/20180403.002429
Minje Ahn [Mon, 2 Apr 2018 07:42:24 +0000 (16:42 +0900)]
Modified queries for thumbnail

Change-Id: I9282be2b1230d1acdaca31bda3f7edb9d0089da8
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years ago[ACR-1189] Modified media move operation 60/173960/3 accepted/tizen/unified/20180403.060122 submit/tizen/20180402.053402
Minje Ahn [Tue, 27 Mar 2018 07:43:04 +0000 (16:43 +0900)]
[ACR-1189] Modified media move operation

Modified to support USB storage

Change-Id: Id0f874109f83c658a91a92a9b349eb85843e729e
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoFix coverity issues 37/173637/2 accepted/tizen/unified/20180326.075233 submit/tizen/20180323.043859
hj kim [Fri, 23 Mar 2018 00:52:43 +0000 (09:52 +0900)]
Fix coverity issues

Change-Id: I607b2e0b299ec7c4dc6742d39c54414efcf7027c

6 years agoBug fix for metadata update when changing language 33/173633/2
Minje Ahn [Fri, 23 Mar 2018 00:19:48 +0000 (09:19 +0900)]
Bug fix for metadata update when changing language

Change-Id: I2fcaeb5a1b0c7d03298448bf0008e423ce13ea13
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoAdd plugin function for scanner v2 69/173469/2 accepted/tizen/unified/20180322.060215 submit/tizen/20180321.082733
Minje Ahn [Thu, 22 Mar 2018 01:18:03 +0000 (10:18 +0900)]
Add plugin function for scanner v2

Change-Id: I1045befd148858eef5f71c1989d033433038d0a3
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoFix coverity issues 35/173035/2 accepted/tizen/unified/20180321.060800 submit/tizen/20180320.040253
hj kim [Mon, 19 Mar 2018 08:40:52 +0000 (17:40 +0900)]
Fix coverity issues

Change-Id: If134d399ad2b442477c703070a58230057f25c9f

6 years ago[ACR-1163] Add synchronous API to create thumbnails 51/169251/7 accepted/tizen/unified/20180320.065801 submit/tizen/20180320.000717
Minje Ahn [Mon, 5 Feb 2018 07:34:52 +0000 (16:34 +0900)]
[ACR-1163] Add synchronous API to create thumbnails

Change-Id: I13494f948a36ae3bd0fd1968f7b898d58b739978
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoReplace default image type to IMG_CODEC_UNKNOWN_TYPE 11/172711/1 accepted/tizen/unified/20180319.062917 submit/tizen/20180316.051336
Jiyong Min [Thu, 15 Mar 2018 09:33:57 +0000 (18:33 +0900)]
Replace default image type to IMG_CODEC_UNKNOWN_TYPE

Change-Id: I60ea773bd0c33c1217fcf1e354e863c9bc11df82

6 years agoUpdates color enums for refactoring of libmm-utility 45/169945/1 accepted/tizen/unified/20180214.144610 submit/tizen/20180212.075159
Jiyong Min [Mon, 12 Feb 2018 08:13:45 +0000 (17:13 +0900)]
Updates color enums for refactoring of libmm-utility

Change-Id: Id1e54b842ba095b783868dac7a03af458d6c2210

6 years ago[SATIZENVUL-1318] Modified sql print type. %s to %q 30/169630/3 accepted/tizen/unified/20180213.132812 submit/tizen/20180208.063721
Minje Ahn [Thu, 8 Feb 2018 05:14:28 +0000 (14:14 +0900)]
[SATIZENVUL-1318] Modified sql print type. %s to %q

Change-Id: I19db04b0970e15b7ea4d97e6e3f9e0b57c5d7eeb
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoChange thumbnail generation location 02/169002/4 accepted/tizen/unified/20180206.064145 submit/tizen/20180205.005408
Minje Ahn [Thu, 1 Feb 2018 23:49:45 +0000 (08:49 +0900)]
Change thumbnail generation location

Change thumbnail generation location from thumb-server to media-service

Change-Id: Iffb2364c075fb7bc1b72a37923cbc42cb3d8b266
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoUse mm_util_extract_image_info() instead of ImgGetImageInfo() in libmedia-thumbnail 35/168935/2
hj kim [Thu, 1 Feb 2018 08:01:08 +0000 (17:01 +0900)]
Use mm_util_extract_image_info() instead of ImgGetImageInfo() in libmedia-thumbnail

Change-Id: I03d1216ec296373cd3222ec5b0ad47c068422564

6 years agoUse new image_util(magicK) APIs instead of Old one 93/168893/1
hj kim [Thu, 1 Feb 2018 02:44:09 +0000 (11:44 +0900)]
Use new image_util(magicK) APIs instead of Old one

Change-Id: Ic05939470633836ff7ae678417888cfd245ba918

6 years agoModified query about check storage 08/168608/1 accepted/tizen/unified/20180131.060503 submit/tizen/20180130.044402
Minje Ahn [Mon, 29 Jan 2018 23:33:35 +0000 (08:33 +0900)]
Modified query about check storage

Change-Id: I296313b8a2713f939ef8d8212c681a21d6d01c89
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoModify the procedure for extracting media metadata 42/167142/1 accepted/tizen/unified/20180117.060729 submit/tizen/20180116.073342
Minje Ahn [Mon, 15 Jan 2018 23:56:22 +0000 (08:56 +0900)]
Modify the procedure for extracting media metadata

As:
Check album info -> Extract album art
To be:
Extract album art -> Check album info

For categorize extract type and reduce the extra flags, modify the procedure

Change-Id: I829a9bfc13ebd1d59a6312256ce91d7bab9c1832
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoAdd checker for content.filter.pinyin feature 27/165427/1 accepted/tizen/unified/20180108.062645 submit/tizen/20180102.060639 submit/tizen/20180103.002528 submit/tizen/20180105.011418
Minje Ahn [Fri, 22 Dec 2017 02:16:38 +0000 (11:16 +0900)]
Add checker for content.filter.pinyin feature

Change-Id: I85ea1e02dcb674c673a1975a424b98d1abdb7cf0
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years ago[ACR-1112] Remove deprecated APIs 03/160403/3 submit/tizen/20171215.070645 submit/tizen/20171220.013318
Minje Ahn [Thu, 16 Nov 2017 05:14:02 +0000 (14:14 +0900)]
[ACR-1112] Remove deprecated APIs

Change-Id: Ica77daeb5ba7fe4cedfa181bee5e6ce61c5596a9
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoChange DB connection option to Read only 49/160949/1 submit/tizen/20171122.013254
hj kim [Tue, 21 Nov 2017 01:17:23 +0000 (10:17 +0900)]
Change DB connection option to Read only

Change-Id: I6760d6ed71b148326e041520e7e04d4fd870e4d3

6 years agoRemove user_marked field in face table 80/160180/1 accepted/tizen/unified/20171115.174101 submit/tizen/20171115.074622
Minje Ahn [Tue, 14 Nov 2017 23:56:22 +0000 (08:56 +0900)]
Remove user_marked field in face table

Add face scan status for distinguish between file changes and re-scans.
 - file modified time > face detected time : file is changed
 - face detected time == 0 : some detected faces are removed by user

Change logic to re-scan:
 - Do not delete, add missing. Delete is performed only when the file is modified.
 - Delete unnecessary fields (user_marked)

Change-Id: Ibe9333e80b5feea4162a2b03fe407ceaf343fc70
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoChange face uuid to id 38/159838/2
Minje Ahn [Mon, 13 Nov 2017 07:34:43 +0000 (16:34 +0900)]
Change face uuid to id

Change-Id: Iaa7e9a2d389552d74001edec4db46f1b1a098cc8
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove unnecessary DB field 91/159591/1
Minje Ahn [Fri, 10 Nov 2017 03:10:34 +0000 (12:10 +0900)]
Remove unnecessary DB field

Change-Id: I3490daed239e92b3c83ecdb5d78328ad9f5bce01
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoModified to compensate for time zone 66/157966/4 accepted/tizen/unified/20171107.091708 submit/tizen/20171106.080535 submit/tizen/20171107.001158
Minje Ahn [Fri, 27 Oct 2017 05:09:24 +0000 (14:09 +0900)]
Modified to compensate for time zone

Change-Id: Id6ca590a246b2454852993876623c74e85a3dae4
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoApply tizen coding rule 20/152720/2 accepted/tizen/unified/20170929.081647 submit/tizen/20170928.090751
Haejeong Kim [Wed, 27 Sep 2017 02:37:20 +0000 (11:37 +0900)]
Apply tizen coding rule

Change-Id: I637f107f4f23dd14e5d498f35d08e5bd62a27d45

7 years agoRemove unnecessary parameter in the query 01/152701/1
Minje Ahn [Wed, 27 Sep 2017 02:16:58 +0000 (11:16 +0900)]
Remove unnecessary parameter in the query

Change-Id: I6d9f0abb6b32b72060cfb9be2126ca6dc06d5c79
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoModify to use glist length instead of counter 95/152495/3
Minje Ahn [Tue, 26 Sep 2017 08:21:33 +0000 (17:21 +0900)]
Modify to use glist length instead of counter

Modify length checker
Add exception handler for multiples of 200

Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Change-Id: Ib42a226bd53a6c8250dc2a56583d3f89e881b004

7 years agoMerge "Fix playlist/tag bulk update" into tizen
hj kim [Tue, 26 Sep 2017 07:16:21 +0000 (07:16 +0000)]
Merge "Fix playlist/tag bulk update" into tizen

7 years agoFix playlist/tag bulk update 34/152434/1
Minje Ahn [Tue, 26 Sep 2017 06:48:14 +0000 (15:48 +0900)]
Fix playlist/tag bulk update

Add counter initialization

Change-Id: I19c1bb8222062bb65718e50e1226b7bf5be1b96d
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove unnecessary header and function 62/152162/6
Minje Ahn [Mon, 25 Sep 2017 07:24:13 +0000 (16:24 +0900)]
Remove unnecessary header and function

Remove stat header
Remove some function and variable

Change-Id: Ifca7e8941b3b31142bdc5561c27f67ba94c38888
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoFix bug when use fresh function 16/152216/1
Minje Ahn [Mon, 25 Sep 2017 09:12:57 +0000 (18:12 +0900)]
Fix bug when use fresh function

Need to consider the case of no thumbnail

Change-Id: I36012e1cbaaedceb722120e257a75f70b885ade4
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoFix rename folder API 12/151112/2 accepted/tizen/unified/20170925.071142 submit/tizen/20170922.060558
Minje Ahn [Wed, 20 Sep 2017 02:04:14 +0000 (11:04 +0900)]
Fix rename folder API

Use modified time in file system instead of current time

Change-Id: I8d52cce7f8c1cc27da99847254ec39febd926f83
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove rollback query 29/150629/1
Minje Ahn [Mon, 18 Sep 2017 06:07:58 +0000 (15:07 +0900)]
Remove rollback query

Media db does not use journal mode. So, no need rollback query.

Change-Id: Ib30222d8369bf59349c435dbfc76111a7fabc72b
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove unused plugin API 27/150627/1
Minje Ahn [Mon, 18 Sep 2017 06:04:43 +0000 (15:04 +0900)]
Remove unused plugin API

Change-Id: Ic52583c3217d9bba3cc23b5da8b6267d9a40a373
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>