platform/core/api/media-content.git
5 years ago[ACR-1348] Fix bug of media_info_insert_to_db API 97/198697/9
Minje Ahn [Tue, 29 Jan 2019 01:59:18 +0000 (10:59 +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: Ib3e6b63247fa3cc92e03177666b49b3de4be2dae
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoAdd to check the return of fseek() 84/198684/3 accepted/tizen/unified/20190207.120259 submit/tizen/20190131.041045
jiyong.min [Tue, 29 Jan 2019 00:20:07 +0000 (09:20 +0900)]
Add to check the return of fseek()

Change-Id: Iba167d0f8aa4ceb095f3a27202fb0ac2a0ce75b1

5 years agoRemove description for deprecated APIs 25/198325/1 accepted/tizen/unified/20190128.061720 submit/tizen/20190124.005947
Minje Ahn [Wed, 23 Jan 2019 23:38:40 +0000 (08:38 +0900)]
Remove description for deprecated APIs

Change-Id: I32ad58418ea83822f15d1ef5a0d3527f8718f4cc
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agofix build error in videoplayer 70/198170/1 accepted/tizen/unified/20190128.061615 submit/tizen/20190123.024421
yujie.cheng [Tue, 22 Jan 2019 02:38:11 +0000 (10:38 +0800)]
fix build error in videoplayer

Change-Id: I606380ada842bbca1c772526e9cd5e5c1efe3a9f

5 years agofix media item order issue in TV product 63/198063/1 accepted/tizen/unified/20190128.061253 submit/tizen/20190118.053404
yujie.cheng [Fri, 18 Jan 2019 07:05:18 +0000 (15:05 +0800)]
fix media item order issue in TV product

Change-Id: Ic21c4c4b989b253e59d344d4b0907b1337501402

5 years agoapp need to rename folder in tv 57/197957/3
yujie.cheng [Thu, 17 Jan 2019 09:10:23 +0000 (17:10 +0800)]
app need to rename folder in tv

Change-Id: Ice0c4ca31ad1eba07376f53112df9927a8c7745e

5 years agoAdd miss define 47/197747/1 accepted/tizen/unified/20190116.160715 submit/tizen/20190116.054414
Minje Ahn [Wed, 16 Jan 2019 05:41:13 +0000 (14:41 +0900)]
Add miss define

Change-Id: I5d5b8a4e1f008059c95caa2dfd7bf25515d37df5
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoUpdate rating info (rating is only for internal support) 81/197581/1 accepted/tizen/unified/20190115.060013 submit/tizen/20190114.084237
hj kim [Mon, 14 Jan 2019 08:36:27 +0000 (17:36 +0900)]
Update rating info (rating is only for internal support)

Change-Id: I951b76321b756522423527d2f35bf87a8a876257

5 years agoFix the log position to avoid errno change. (errno can be changed when using dlog) 13/197113/2 accepted/tizen/unified/20190111.055138 submit/tizen/20190109.233706
jiyong.min [Wed, 9 Jan 2019 23:03:43 +0000 (08:03 +0900)]
Fix the log position to avoid errno change. (errno can be changed when using dlog)

Change-Id: I4a81986414f8a5b5dc252b888c19410bc324b1a1

5 years agoFix log position to avoid errno change. (errno can be changed when using dlog) 72/197072/2
Minje Ahn [Wed, 9 Jan 2019 08:32:03 +0000 (17:32 +0900)]
Fix log position to avoid errno change. (errno can be changed when using dlog)

Change-Id: Ie8aac74cc9c9a2d47ac77905ed49bddcc717f113
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoAdd deprecated API to internal for web API 51/196951/1 submit/tizen/20190104.070559
Minje Ahn [Tue, 8 Jan 2019 06:55:25 +0000 (15:55 +0900)]
Add deprecated API to internal for web API

Change-Id: I87c81203c8172551d8474da668570ac680a00077
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoAdd some deprecated APIs for web API 75/196875/1
Minje Ahn [Mon, 7 Jan 2019 07:37:30 +0000 (16:37 +0900)]
Add some deprecated APIs for web API

Change-Id: Ib54fe74d99b7930fb6f8381e54ec516afdc97c36
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years ago[Temp] Add dummy for deprecated API 72/196772/3
Minje Ahn [Fri, 4 Jan 2019 06:52:41 +0000 (15:52 +0900)]
[Temp] Add dummy for deprecated API

Change-Id: I8385b9422c6ea23248c08a8305f2345064febd1b
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoFix format error in logs 96/194696/1
jiyong.min [Fri, 7 Dec 2018 04:20:21 +0000 (13:20 +0900)]
Fix format error in logs

Change-Id: Iabff39c573098956539e845d925e289764879522

5 years agoMerge "add service_profile field for pvr table" into tizen
hj kim [Tue, 4 Dec 2018 01:51:29 +0000 (01:51 +0000)]
Merge "add service_profile field for pvr table" into tizen

5 years agoadd service_profile field for pvr table 52/194352/1
chen89.chen [Mon, 3 Dec 2018 11:09:38 +0000 (19:09 +0800)]
add service_profile field for pvr table

Change-Id: I2a89f0abc806b3fa4e8a8cb09094b9b4760232a9

5 years agouse media_db_request_update_db() directly 14/194214/1
hj kim [Fri, 30 Nov 2018 04:42:56 +0000 (13:42 +0900)]
use media_db_request_update_db() directly

Change-Id: Ibde3d441df2593d10471ebb057d2a7c77c7fc287

5 years agoRemove wrapping struct 84/194184/3
Minje Ahn [Fri, 30 Nov 2018 01:36:06 +0000 (10:36 +0900)]
Remove wrapping struct

Use sqlite3 Explicitly

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

Use media-util instead media-svc

Change-Id: Ia468835e7711382c5834535948c36efb39ceff1e
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoChange storage type function 86/194086/1
Minje Ahn [Thu, 29 Nov 2018 01:45:44 +0000 (10:45 +0900)]
Change storage type function

Use media-util function instead

Change-Id: I2447446f63e681a5ecd18db09a20064459b7ec05
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years ago[ACR-1308] Remove deprecated APIs 94/192594/2 submit/tizen/20181122.233111
Minje Ahn [Wed, 7 Nov 2018 01:53:22 +0000 (10:53 +0900)]
[ACR-1308] Remove deprecated APIs

Change-Id: If80cbeb11bc18a18d97c293c53e171072fe9794f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoRemove dlog from pc_dependents 60/192160/1 accepted/tizen/unified/20181107.081923 submit/tizen/20181105.235320
hj kim [Wed, 31 Oct 2018 04:53:46 +0000 (13:53 +0900)]
Remove dlog from pc_dependents

Change-Id: I233f5d946d3c52c4f4c65802c14960c200515ec8

6 years agoAdd gcov environment 02/189702/1 accepted/tizen/5.0/unified/20181102.013119 accepted/tizen/unified/20180921.143109 submit/tizen/20180921.014536 submit/tizen_5.0/20181101.000002
SeokHoon Lee [Thu, 20 Sep 2018 02:56:25 +0000 (11:56 +0900)]
Add gcov environment

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I61d6ef7e0a94724303be7a7b8788ad4b272eba33

6 years agoReinforce code for coverage 99/189499/4 accepted/tizen/unified/20180920.063838 submit/tizen/20180918.081101 submit/tizen/20180919.063447
Minje Ahn [Tue, 18 Sep 2018 07:39:49 +0000 (16:39 +0900)]
Reinforce code for coverage

Change-Id: Ia914a53405a3a463b79ac6db68911b3ce8a67642
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoRemove function for rollback path 47/186347/2 accepted/tizen/unified/20180813.061452 submit/tizen/20180810.064017
Minje Ahn [Thu, 9 Aug 2018 05:48:14 +0000 (14:48 +0900)]
Remove function for rollback path

Code modification according to policy change
 - return path
 - path for notification

Change-Id: I31f6f84f02f0d43e61f413354f6d42a6e5e13d52
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoUpdate path replacement function 51/185751/2 submit/tizen/20180809.003539
Minje Ahn [Thu, 2 Aug 2018 04:24:34 +0000 (13:24 +0900)]
Update path replacement function

Use hardcording instead of storage API (because of storage API changes)

Change-Id: I92562dbc6c55bfd3ed86d723c0efd4e34db31f33
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoFix log msg 10/184610/1 accepted/tizen/unified/20180730.142102 submit/tizen/20180727.055504
Minje Ahn [Thu, 19 Jul 2018 07:10:32 +0000 (16:10 +0900)]
Fix log msg

Change-Id: I152cc08c52d442c7a48984a16d3629606999a702
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoRemove unused define for query 93/184293/1 accepted/tizen/unified/20180718.154227 submit/tizen/20180717.054420
Minje Ahn [Tue, 17 Jul 2018 05:01:41 +0000 (14:01 +0900)]
Remove unused define for query

Change-Id: Ia34466faef0d027f1522360e199061d324bd9371
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoException handling and behavior improvements 91/183991/3
Minje Ahn [Fri, 13 Jul 2018 02:39:03 +0000 (11:39 +0900)]
Exception handling and behavior improvements

Change-Id: Iea495c4ae0f13dc0ac382b4eaec29823ad45390f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agofix build issue of folder api 02/183302/1
yujie.cheng [Wed, 4 Jul 2018 08:11:20 +0000 (16:11 +0800)]
fix build issue of folder api

Change-Id: I2e7244b866ef7951fb88ff317e94360375f0d959

6 years agoadd new api: insert folder item into database 09/183109/4 accepted/tizen/unified/20180703.163657 submit/tizen/20180703.020328
yujie.cheng [Mon, 2 Jul 2018 08:40:13 +0000 (16:40 +0800)]
add new api: insert folder item into database

Change-Id: I6e6e302fa4f6618faa5a7f635386f0318694afc0

6 years ago[ACR-1249] Deprecate APIs related with storage id and type 84/178084/10 accepted/tizen/unified/20180702.151327 submit/tizen/20180702.011252
Minje Ahn [Tue, 8 May 2018 05:47:39 +0000 (14:47 +0900)]
[ACR-1249] Deprecate APIs related with storage id and type

Change-Id: I3ece6ca87206a7a3a05e252db707d4c1a28a1074
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoSvace Issue fix 28/182328/3 accepted/tizen/unified/20180625.141521 submit/tizen/20180622.070254
hj kim [Fri, 22 Jun 2018 05:14:45 +0000 (14:14 +0900)]
Svace Issue fix

Change-Id: Ib9d6dd21a03d4067172841fc9a0eb35c367f3098

6 years agoJust update api description 61/182261/1
hj kim [Fri, 22 Jun 2018 00:49:59 +0000 (09:49 +0900)]
Just update api description

Change-Id: I33af23014296467d015b6af78311fce76adffc88

6 years ago[ACR-1226] deprecate function to remove item from db 03/180303/5 accepted/tizen/unified/20180611.015356 submit/tizen/20180607.021137
Minje Ahn [Mon, 28 May 2018 06:23:49 +0000 (15:23 +0900)]
[ACR-1226] deprecate function to remove item from db

Change-Id: If222b2d61e81f3a6fb8b87ad35bb71497fb44fd8
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoReinforce API description 11/178611/1 accepted/tizen/unified/20180516.065720 submit/tizen/20180511.003859 submit/tizen/20180516.001848
Minje Ahn [Fri, 11 May 2018 00:48:06 +0000 (09:48 +0900)]
Reinforce API description

Change-Id: I881b8f955f0fb5ea9b0d3f20452fe7a03168aaa3
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years ago[ACR-1189] Modified media move operation 61/173961/10 accepted/tizen/unified/20180403.060116 accepted/tizen/unified/20180403.182355 submit/tizen/20180402.053402 submit/tizen/20180403.002429
Minje Ahn [Tue, 27 Mar 2018 07:44:26 +0000 (16:44 +0900)]
[ACR-1189] Modified media move operation

Change-Id: I0feee8cf70bde8ab9030e18749faf37448cd0ae2
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoFix media_view define 81/174181/1 accepted/tizen/unified/20180329.125140 submit/tizen/20180329.022652
Minje Ahn [Thu, 29 Mar 2018 02:16:39 +0000 (11:16 +0900)]
Fix media_view define

Change DB_TABLE_MEDIA_VIEW to DB_VIEW_MEDIA

Change-Id: I9179aaa66de1b788991bba05d34ca54f74e7b7f3
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoFix Coverity issues 32/173632/1 accepted/tizen/unified/20180326.075217 submit/tizen/20180323.043859
hj kim [Fri, 23 Mar 2018 00:17:35 +0000 (09:17 +0900)]
Fix Coverity issues

Change-Id: I3eff8d956ede7c51cc6c6bc7d642cfbf0ad36d3f

6 years agoFix coverity issues 65/173065/2 accepted/tizen/unified/20180321.060743 submit/tizen/20180320.040253
hj kim [Mon, 19 Mar 2018 10:16:43 +0000 (19:16 +0900)]
Fix coverity issues

Change-Id: Id0f867452ca0210cda470c9d5c4f44f8388e6b01

6 years ago[ACR-1163] Add synchronous API to create thumbnails 52/169252/12 accepted/tizen/unified/20180320.065758 submit/tizen/20180320.000717
Minje Ahn [Mon, 5 Feb 2018 07:35:49 +0000 (16:35 +0900)]
[ACR-1163] Add synchronous API to create thumbnails

Change-Id: Ib7de464bf2ec6cc38591a043393b52a6cd1f406b
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoFix coverity issue 59/172659/4 accepted/tizen/unified/20180316.062558 submit/tizen/20180316.021555
Minje Ahn [Thu, 15 Mar 2018 05:31:53 +0000 (14:31 +0900)]
Fix coverity issue

Change-Id: Id63881557215757b0f2fac1bf6c3ed0e09c79812
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoFix bug of removed directory scanning 09/172409/1 accepted/tizen/unified/20180314.062004 submit/tizen/20180314.004401
Minje Ahn [Tue, 13 Mar 2018 23:42:36 +0000 (08:42 +0900)]
Fix bug of removed directory scanning

Change-Id: I33a83dd72f39d86171220f68f5682dcee1624d98
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoAdd function to trim the path 99/172299/1 accepted/tizen/unified/20180314.062138 submit/tizen/20180313.065351
Minje Ahn [Tue, 13 Mar 2018 06:44:06 +0000 (15:44 +0900)]
Add function to trim the path

Change-Id: I6fa4bb11965eb86ae0b0ddf48e6c9ea363fcb23a
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoFix for removed file case 15/172015/1 accepted/tizen/unified/20180312.060437 accepted/tizen/unified/20180313.061055 submit/tizen/20180309.041116 submit/tizen/20180312.055137
Minje Ahn [Fri, 9 Mar 2018 03:58:23 +0000 (12:58 +0900)]
Fix for removed file case

Change-Id: I36c52f10c9f14cf2a030e129834e05bb3bc38a71
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoModified to check suffix before symbolic link check 02/171702/1 accepted/tizen/unified/20180308.070113 submit/tizen/20180307.005833
Minje Ahn [Tue, 6 Mar 2018 23:36:23 +0000 (08:36 +0900)]
Modified to check suffix before symbolic link check

Some case, user input the directory path containing '/' suffix

Change-Id: Ibcdae6728189413aeb46a5c895294a379264c7fd
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years ago[ACR-1167] Exception handling when path contains symbolic link 25/171025/4 submit/tizen/20180306.091306
Minje Ahn [Mon, 26 Feb 2018 02:07:46 +0000 (11:07 +0900)]
[ACR-1167] Exception handling when path contains symbolic link

Change-Id: I425c2cdfabfcd00f254bebbd962961f5dff026d4
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoFix typo 55/171455/1 accepted/tizen/unified/20180307.071312 submit/tizen/20180305.053300
Minje Ahn [Mon, 5 Mar 2018 05:09:24 +0000 (14:09 +0900)]
Fix typo

Change-Id: I5e82a7f272e34708a1b63dc9237a4de3ad1cfefc
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoRemove unused log message 12/171012/1 accepted/tizen/unified/20180226.061649 submit/tizen/20180226.010908
Jiyong Min [Sun, 25 Feb 2018 23:29:00 +0000 (08:29 +0900)]
Remove unused log message

 - Fix build warning

Change-Id: Ia995e20056aeeba4cbddd79dcc6cc50fd30f0b0c
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
6 years agoFix doxygen error 03/169203/1 accepted/tizen/unified/20180206.064121 submit/tizen/20180205.005408
Minje Ahn [Mon, 5 Feb 2018 03:40:06 +0000 (12:40 +0900)]
Fix doxygen error

Change-Id: I0cdd94ecd1115d2dfbb6596d534de36a087f952f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
(cherry picked from commit f8485d32c818e6af9ec8d9884cdff151eaddf580)

6 years agoFix wrong description for MEDIA_CONTENT_ERROR_PERMISSION_DENIED. 50/168050/2 accepted/tizen/unified/20180125.122848 submit/tizen/20180125.001258
hj kim [Wed, 24 Jan 2018 01:47:33 +0000 (10:47 +0900)]
Fix wrong description for MEDIA_CONTENT_ERROR_PERMISSION_DENIED.
APIs which just read media DB, don't return MEDIA_CONTENT_ERROR_PERMISSION_DENIED

Change-Id: Ife05f71620f188c70299bbdae58ffde1869b8103

6 years agoFix Doxygen mistakes 86/167786/12
hj kim [Mon, 22 Jan 2018 05:32:35 +0000 (14:32 +0900)]
Fix Doxygen mistakes

Change-Id: I505b0d7a02ed7de5af3f814f43d3223f485804f7

6 years agoAdd details for the get_Recorded_date APIs 92/167292/1 accepted/tizen/unified/20180119.061124 submit/tizen/20180117.004935
hj kim [Wed, 17 Jan 2018 00:35:25 +0000 (09:35 +0900)]
Add details for the get_Recorded_date APIs

Change-Id: I019ab90c858d53147ecd3166ba4313fed0f13507

6 years agoModify wrong description 06/167206/1
Minje Ahn [Tue, 16 Jan 2018 07:16:48 +0000 (16:16 +0900)]
Modify wrong description

Change-Id: Ia58ecdc7d08404ab7a7c84af99913563714c5ee3
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoAdd return type for content.scanning.others feature 25/165425/1 accepted/tizen/unified/20180108.062642 submit/tizen/20180102.060639 submit/tizen/20180103.002528 submit/tizen/20180105.011418
Minje Ahn [Fri, 22 Dec 2017 00:40:49 +0000 (09:40 +0900)]
Add return type for content.scanning.others feature

Change-Id: I62daf16885edc19823464cbcefe955d13eaa3593
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years ago[ACR-1129] Add feature 24/165424/1
Minje Ahn [Thu, 21 Dec 2017 02:06:43 +0000 (11:06 +0900)]
[ACR-1129] Add feature

Change-Id: I8244836284444864a619fbf2bbca9395bca235a0
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years ago[ACR-1112] Remove deprecated APIs 51/160251/9 submit/tizen/20171215.070645 submit/tizen/20171220.013318
Minje Ahn [Wed, 15 Nov 2017 06:00:26 +0000 (15:00 +0900)]
[ACR-1112] Remove deprecated APIs

 - media_audio.h
int audio_meta_get_played_count(audio_meta_h audio, int *played_count)
int audio_meta_get_played_time(audio_meta_h audio, time_t *played_time)
int audio_meta_get_played_position(audio_meta_h audio, int *played_position)
int audio_meta_set_played_count(audio_meta_h audio, int played_count)
int audio_meta_set_played_time(audio_meta_h audio, time_t played_time)
int audio_meta_set_played_position(audio_meta_h audio, int played_position)

 - media_content.h
int media_content_set_db_updated_cb(media_content_db_update_cb callback, void *user_data)
int media_content_unset_db_updated_cb(void)

 - media_video.h
int video_meta_get_played_count(video_meta_h video, int *played_count)
int video_meta_get_played_time(video_meta_h video, time_t *played_time)
int video_meta_get_played_position(video_meta_h video, int *played_position)
int video_meta_set_played_count(video_meta_h video, int played_count)
int video_meta_set_played_time(video_meta_h video, time_t played_time)
int video_meta_set_played_position(video_meta_h video, int played_position)

Change-Id: Ifb323383cebf6492b2803e7a27e1b1af2cb3eb1c
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoFix description error 60/163960/1 accepted/tizen/unified/20171215.060619 submit/tizen/20171214.084348
Minje Ahn [Thu, 14 Dec 2017 08:06:24 +0000 (17:06 +0900)]
Fix description error

Change-Id: I9a6a51b160ea4eb29f3b18061f5ece54043fd5ec
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agofix assertion failed: hash_table->ref_count >0, add lock to db query 32/162432/2 accepted/tizen/unified/20171204.072245 submit/tizen/20171201.055603
chen89.chen [Fri, 1 Dec 2017 06:14:49 +0000 (14:14 +0800)]
fix assertion failed: hash_table->ref_count >0, add lock to db query

Change-Id: Id2649795347929619a4d0786af5fd5b5c97eae04

6 years agoChange hard coded path to get by using tzplatform API 37/162237/4 accepted/tizen/unified/20171130.113330 submit/tizen/20171130.061035
hj kim [Thu, 30 Nov 2017 01:13:22 +0000 (10:13 +0900)]
Change hard coded path to get by using tzplatform API

Change-Id: Ifb60af2295a7f2edb4ea0cde0d9e1c4511eea4a7

6 years agoRemove unused parameter when request face detection 88/161188/1 accepted/tizen/unified/20171124.064721 submit/tizen/20171123.062739 submit/tizen/20171124.024511
Minje Ahn [Wed, 22 Nov 2017 05:30:25 +0000 (14:30 +0900)]
Remove unused parameter when request face detection

Change-Id: I81340eaa2e7ab3944ba3e585bc6d4d7aad804866
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoRemove unused parameter 37/160937/1 submit/tizen/20171122.013254
Minje Ahn [Tue, 21 Nov 2017 00:26:54 +0000 (09:26 +0900)]
Remove unused parameter

Change-Id: I9ddc73dab9119b746dad9d848370dd1303a58786
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoRemove user_marked field in face table 79/160179/1 accepted/tizen/unified/20171115.174058 submit/tizen/20171115.074622
Minje Ahn [Tue, 14 Nov 2017 23:48:47 +0000 (08:48 +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: I293a3bbbf62ef22c66b74243a6e4554ac69974cc
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoChange face uuid to id 39/159839/3
Minje Ahn [Mon, 13 Nov 2017 07:36:34 +0000 (16:36 +0900)]
Change face uuid to id

Change-Id: Ia2073317f35c59b259e05aa3af32462017b4a995
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoAdd missing privilege (No change in behavior) 35/159435/2
Minje Ahn [Thu, 9 Nov 2017 02:13:50 +0000 (11:13 +0900)]
Add missing privilege (No change in behavior)

Change-Id: I2254ec462865fe6d42687ceef432905ae441356f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove weather in image struct 32/155132/1
Minje Ahn [Thu, 12 Oct 2017 06:32:21 +0000 (15:32 +0900)]
Remove weather in image struct

Change-Id: I1f8357839256b8fe6e540a3649b26653d909465a
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years ago[ACR-1102] Deprecate unusable user data 96/154696/3 accepted/tizen/unified/20171012.191744 submit/tizen/20171012.055141
Minje Ahn [Wed, 11 Oct 2017 06:15:46 +0000 (15:15 +0900)]
[ACR-1102] Deprecate unusable user data

Change-Id: I3c32091020733ec9bbee5eed89a8beb292a774d7
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoUpdate description 10/154610/2 accepted/tizen/unified/20171011.070110 submit/tizen/20171011.000930
Minje Ahn [Tue, 10 Oct 2017 23:56:57 +0000 (08:56 +0900)]
Update description

Change-Id: I9c5e0c9418716d86714e4001bf15b8d39bfcf6c1
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years ago[ACR-1098] Deprecate APIs for product 65/154365/4
Minje Ahn [Tue, 10 Oct 2017 06:23:04 +0000 (15:23 +0900)]
[ACR-1098] Deprecate APIs for product

deprecated media_info_delete_batch_from_db, media_info_insert_burst_shot_to_db, image_meta_get_burst_id(), image_meta_is_burst_shot() and burst shot related code.

Change-Id: I6ec952ba364ac8d0594f7c07fb063a4468a8beb9
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoJust add debug msg 61/153561/1 accepted/tizen/unified/20170929.081635 submit/tizen/20170928.090751
Haejeong Kim [Fri, 29 Sep 2017 00:38:42 +0000 (09:38 +0900)]
Just add debug msg

Change-Id: I6a77c118bacee4cc76d97a2cc3fd6190fe9acdb1

7 years agoChange strcmp to g_strcmp0 95/152695/1
Haejeong Kim [Wed, 27 Sep 2017 02:01:21 +0000 (11:01 +0900)]
Change strcmp to g_strcmp0

Change-Id: Ie8764b3d1240773c5ff9ce9f2ace83cfed64fac4

7 years agoFix rename folder API 22/151222/1 accepted/tizen/unified/20170925.071139 submit/tizen/20170922.060558
Minje Ahn [Wed, 20 Sep 2017 08:09:08 +0000 (17:09 +0900)]
Fix rename folder API

Change-Id: I700cbbffcfc4a01131486a1d18f1dff691d07058
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoUpdate description about move API 24/150824/1
Minje Ahn [Tue, 19 Sep 2017 00:49:23 +0000 (09:49 +0900)]
Update description about move API

Add description and processing for the same path
Add processing for already existing information

Change-Id: I1b64b19511afb58855fe92283eb5dd8a379f3e9a
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoModify checker for scan ignore 44/148944/1 accepted/tizen/unified/20170913.071139 submit/tizen/20170912.034220
Minje Ahn [Mon, 11 Sep 2017 07:28:13 +0000 (16:28 +0900)]
Modify checker for scan ignore

Use g_dir_open instead of readdir_r

Change-Id: Idc9f0ddd3c16809443435a28268c44c0370b4160
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoChange free to SAFE_FREE 73/147873/1 accepted/tizen/unified/20170907.060428 submit/tizen/20170906.051057
Haejeong Kim [Wed, 6 Sep 2017 02:50:46 +0000 (11:50 +0900)]
Change free to SAFE_FREE

Change-Id: Ia9c841b2a7860a572aa1f709537122df493f816f

7 years agoApply tizen coding rule 41/147541/1 accepted/tizen/unified/20170906.060718 submit/tizen/20170905.045152
Haejeong Kim [Tue, 5 Sep 2017 00:54:05 +0000 (09:54 +0900)]
Apply tizen coding rule

Change-Id: I9d231edf1e0a186a292bd5b3253d2ef0511fd590

7 years agoAdd BuildRequires for sqlite3 00/146300/2 accepted/tizen/unified/20170829.053222 submit/tizen/20170828.073653
Haejeong Kim [Mon, 28 Aug 2017 02:00:31 +0000 (11:00 +0900)]
Add BuildRequires for sqlite3

Change-Id: I71cb9903939432c8853eaa2e7e4f4779802fd5f6

7 years agoUpdate TV feature define 76/146076/1 accepted/tizen/unified/20170828.164043 submit/tizen/20170825.093836
Minje Ahn [Fri, 25 Aug 2017 01:34:20 +0000 (10:34 +0900)]
Update TV feature define

Change USE_TV_PROFILE to USE_TVPD_MODE

Change-Id: Id52c4ce7bc2fd0c4b59e3320d85a98a537e8db60
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years ago1. Code sync to product code 43/145343/3 accepted/tizen/unified/20170824.051000 submit/tizen/20170822.081413 submit/tizen/20170823.010640 submit/tizen/20170824.010707
Haejeong Kim [Tue, 22 Aug 2017 05:54:15 +0000 (14:54 +0900)]
1. Code sync to product code
2. Change some define name

Change-Id: I080b031b450c6d66dd340095cf36ca4e25d7ea69

7 years agoUpdate description for info move API 81/144781/1 accepted/tizen/4.0/unified/20170828.223645 accepted/tizen/unified/20170822.023746 submit/tizen/20170821.010252 submit/tizen_4.0/20170828.100002
Minje Ahn [Fri, 18 Aug 2017 02:09:10 +0000 (11:09 +0900)]
Update description for info move API

Add note
Add process for checking storage type

Change-Id: I116fd846b57ed1d5a99e8c697233d763967dca5c
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoface related db schema changed 40/144240/8 submit/tizen/20170817.064526
Haejeong Kim [Wed, 16 Aug 2017 05:08:51 +0000 (14:08 +0900)]
face related db schema changed
1. user_marked field will be "1" for the user added face info. 2. modified_time field will be "0" when user remove system dete

Change-Id: I3fbe078520136e035dae580e323d7efc5f081735

7 years ago1. Check file validity more when batch/burst_shot insert 21/143721/2 accepted/tizen/unified/20170814.060111 submit/tizen/20170811.053616
Haejeong Kim [Fri, 11 Aug 2017 05:26:09 +0000 (14:26 +0900)]
1. Check file validity more when batch/burst_shot insert
2. Some code cleanup regarding file validity checking

Change-Id: Ied09b61a97cf73f2661c08891e036d93936d3286

7 years agoRemove unused input parameter 22/142422/1 submit/tizen/20170804.052933
Minje Ahn [Fri, 4 Aug 2017 02:09:28 +0000 (11:09 +0900)]
Remove unused input parameter

For cancel, Use request_id instead of full path

Change-Id: I5c840edab2da0728adf78149ae032355c5219883
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years ago[ACR] Deprecate API that is paired with media_info_set_author 06/141306/3 accepted/tizen/4.0/unified/20170816.011212 accepted/tizen/4.0/unified/20170816.014623 accepted/tizen/unified/20170804.025544 accepted/tizen/unified/20170804.025619 submit/tizen/20170803.032141 submit/tizen/20170803.063124 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
Minje Ahn [Mon, 31 Jul 2017 02:35:49 +0000 (11:35 +0900)]
[ACR] Deprecate API that is paired with media_info_set_author

author information is user data.
Therefore, the get function is not needed if the set function does not exist. (media_info_set_author() is deprecated since 4.0)

Change-Id: Ie00cb7a57891e202eb82b978de055091df173f01
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoModify define for TV product 76/141376/1 submit/tizen/20170731.235031
Jiyong Min [Mon, 31 Jul 2017 07:59:40 +0000 (16:59 +0900)]
Modify define for TV product
(requested by VD)

Change-Id: I566bbebdd69fc66d95fe97df45ef20b8c4139ac0
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoRemove storage_name from SELECT queries. 29/140929/2 accepted/tizen/unified/20170731.020706 submit/tizen/20170728.071055
Minje Ahn [Thu, 27 Jul 2017 07:07:34 +0000 (16:07 +0900)]
Remove storage_name from SELECT queries.
storage_name was exist only in SDCard case. (CID)
but not used anywherer and deprecated.

Change-Id: I6e16dafe1e3a0fec97afa60178176c4b5d6b5898
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoFix PVS warnings 88/140188/1 accepted/tizen/unified/20170727.191104 submit/tizen/20170724.085838 submit/tizen/20170726.231137
Haejeong Kim [Mon, 24 Jul 2017 06:24:19 +0000 (15:24 +0900)]
Fix PVS warnings

Change-Id: If6ad1e8f25d17147d0731650696f2e8788256b54

7 years ago[MMFWN-734]Add internal API for system service 14/138714/8 accepted/tizen/unified/20170718.174344 submit/tizen/20170718.004620
Minje Ahn [Thu, 13 Jul 2017 09:12:03 +0000 (18:12 +0900)]
[MMFWN-734]Add internal API for system service

Change-Id: I7d1610a6fa47946beeeec1ab34eae3c51a3b13cc
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years ago[TNEXT-1108] Verify that the path is the content path 46/138046/5 accepted/tizen/unified/20170717.170051 submit/tizen/20170714.003836
Minje Ahn [Tue, 11 Jul 2017 02:15:38 +0000 (11:15 +0900)]
[TNEXT-1108] Verify that the path is the content path

Change-Id: Ic4c0c40c68e820eea394671164b6cadc4c4ab3c1
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove wrong name checking 38/137838/1
Haejeong Kim [Mon, 10 Jul 2017 05:11:14 +0000 (14:11 +0900)]
Remove wrong name checking

Change-Id: Id8ffb5e2d0c760049bcc0f7136436e86f9e186ef

7 years agoFix batch remove API 13/137013/8 accepted/tizen/unified/20170706.193248 submit/tizen/20170704.080931 submit/tizen/20170705.022417 submit/tizen/20170707.004637
Minje Ahn [Tue, 4 Jul 2017 05:50:10 +0000 (14:50 +0900)]
Fix batch remove API

1. Modified to check all storages.
2. Only the modified storage(root path) will be announced.

Change-Id: I5b594df4d3ab46e4891960017a0cb7de0a67f7a8
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRefactoring code in media filter 01/136701/3 submit/tizen/20170703.081025
Minje Ahn [Mon, 3 Jul 2017 02:45:45 +0000 (11:45 +0900)]
Refactoring code in media filter

1. Merge API to generate condition
2. Modified to create condition using internal character array instead of out parameter
3. Move condition binding code into _media_filter_attribute_generate()
4. Replace define 'QUERY_KEYWORD_SPACE' instead of 'SPACE' (And remove SPACE)

Change-Id: I25f31f825841f01e3c46b42ee633244149b9c0c6
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoChange logic of get_parent_folder_id() 71/136271/4 accepted/tizen/unified/20170703.063946 submit/tizen/20170630.083231
Minje Ahn [Thu, 29 Jun 2017 02:01:48 +0000 (11:01 +0900)]
Change logic of get_parent_folder_id()

Usage is low. So, DB access when API is called.

Change-Id: Id35568e34805b1116fa30c5b036c20d0584c784d
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years ago[ACR] Deprecate API that provides folder modified time 94/136094/4
Minje Ahn [Wed, 28 Jun 2017 05:28:25 +0000 (14:28 +0900)]
[ACR] Deprecate API that provides folder modified time

Change-Id: I5135cb90cc2c1633005da4a503b35787b55c6cee
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoAPI description update regarding the callback 88/136288/1
Haejeong Kim [Thu, 29 Jun 2017 04:32:34 +0000 (13:32 +0900)]
API description update regarding the callback

Change-Id: Ib961bd31063a88386e170528f3aea9f670ee3101

7 years agoFixed how to get parent folder ID 46/135546/12
Minje Ahn [Fri, 23 Jun 2017 04:47:43 +0000 (13:47 +0900)]
Fixed how to get parent folder ID

Use another query for getting parent folder uuid

Change-Id: Iffc9e300b95d017aae2cede1ae1676503324fa2b
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoAdd internal Filter APIs to support Csharp 35/135335/13
Minje Ahn [Thu, 22 Jun 2017 02:28:16 +0000 (11:28 +0900)]
Add internal Filter APIs to support Csharp

Add media_filter_condition_v2
Add media_filter_order_v2

Change-Id: I8fe6d76d973a0c89fa950dd89c4d7df01a6123db
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoMerge "Sync to product code" into tizen accepted/tizen/unified/20170703.063942 submit/tizen/20170628.052419
Haejeong Kim [Wed, 28 Jun 2017 05:20:18 +0000 (05:20 +0000)]
Merge "Sync to product code" into tizen

7 years agoUpdate description for precondition 47/135847/3
Minje Ahn [Tue, 27 Jun 2017 04:41:17 +0000 (13:41 +0900)]
Update description for precondition

Change-Id: Ie307eea3aa796c7087579a14212d76e6f9429365
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoSync to product code 90/136090/1
Haejeong Kim [Wed, 28 Jun 2017 05:06:32 +0000 (14:06 +0900)]
Sync to product code

Change-Id: I32247a7e7a5996eaf11dcbe601b5553921c7eaf9