platform/core/api/media-controller.git
5 years agoRelocate ability initialization from library to daemon 80/215380/6 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.031433 accepted/tizen/5.5/unified/mobile/hotfix/20201027.065838 accepted/tizen/unified/20191018.060328 submit/tizen/20191016.081926 submit/tizen_5.5/20191031.000002 submit/tizen_5.5_mobile_hotfix/20201026.185102 tizen_5.5.m2_release
jiyong.min [Mon, 7 Oct 2019 08:04:09 +0000 (17:04 +0900)]
Relocate ability initialization from library to daemon

 - To reduce socket communication

Change-Id: Ice9a2d6212eeb63dfd3f6e7b7b5cb9a34151ffa9

5 years agoMerge "Remove unused retval" into tizen
Jiyong Min [Mon, 7 Oct 2019 03:23:35 +0000 (03:23 +0000)]
Merge "Remove unused retval" into tizen

5 years agoChange code not to send msg when media controller server set default values while... 83/215183/2 accepted/tizen/unified/20191007.234835 submit/tizen/20191007.022545
hj kim [Wed, 2 Oct 2019 08:04:25 +0000 (17:04 +0900)]
Change code not to send msg when media controller server set default values while launching

Change-Id: Ifce00a85e7abd2651e4f668b0e4a7351dc4db5ed

5 years agoRemove unused retval 04/215304/1
jiyong.min [Mon, 7 Oct 2019 01:55:10 +0000 (10:55 +0900)]
Remove unused retval

Change-Id: I5880aeaaf0fb8cda36492272eb2aa5acbfdd00b4

5 years agoBug fix of test code 72/215172/1
hj kim [Wed, 2 Oct 2019 07:08:39 +0000 (16:08 +0900)]
Bug fix of test code

Change-Id: I8e1c3a0335140923c7259047477e351e448d1d11

5 years agoAdd recovery logics for removed tables 36/214736/3 accepted/tizen/unified/20190927.064533 submit/tizen/20190927.014403
jiyong.min [Thu, 26 Sep 2019 02:14:55 +0000 (11:14 +0900)]
Add recovery logics for removed tables

Change-Id: If904c7dc7869962ec7ba8c1ea4433e07d7090c47

5 years ago[ACR-1444]Add functions for subtitle, display mode, display rotation, 360 mode 67/210767/36 accepted/tizen/unified/20190918.102311 submit/tizen/20190918.021208
hj kim [Wed, 24 Jul 2019 08:41:57 +0000 (17:41 +0900)]
[ACR-1444]Add functions for subtitle, display mode, display rotation, 360 mode

Change-Id: I9fd94669658a0de717445f7571003f46f79f96c6

5 years agoImprove '__mc_client_unregister_filter_listener' function to fix issue 97/213397/5 accepted/tizen/unified/20190909.010902 submit/tizen/20190905.232826
jiyong.min [Thu, 5 Sep 2019 02:22:42 +0000 (11:22 +0900)]
Improve '__mc_client_unregister_filter_listener' function to fix issue

 - Issue
  After filter_listener were unregistered, listener callback was still invoked.
 - Cause
  When all filters were unregistered, filter_interface should be unregistered, but normal_interface was used.
 - Solution
  When filter is unregistered, it is changed to use 'mc_ipc_unregister_filter_listener'.
  After that, unregistering filter will use filter_interface(interface + server_name).

Change-Id: I356c1c0d96fd3297e6f3f61e3b906980d3e2f2ef

5 years agoUpdate code to remove SAM violation (GV, PP) 45/212845/2 accepted/tizen/unified/20190901.225905 submit/tizen/20190828.013758 submit/tizen/20190830.003130
hj kim [Tue, 27 Aug 2019 08:40:15 +0000 (17:40 +0900)]
Update code to remove SAM violation (GV, PP)

Change-Id: I11345dc1eb6433c91ade42b28321d7354e236bc0

5 years agoDelete meaningless configuration 80/212780/1 accepted/tizen/unified/20190828.011023 submit/tizen/20190827.051104
INSUN PYO [Tue, 27 Aug 2019 01:13:53 +0000 (10:13 +0900)]
Delete meaningless configuration

If the socket and service prefix names are the same, then Sockets(in .service) and Service(in .socket) are not needed.
Specifying Sokcets and Service is needed for certain functions, so using it without reason confuses the developer.

Change-Id: I6bf969f4a4abc2e59a6885a852bb1909ad861e77
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
5 years agoChange mc_client_get_ability_support() to mc_client_get_server_ability_support() 64/212064/1 accepted/tizen/unified/20190816.112315 submit/tizen/20190815.231259
hj kim [Wed, 14 Aug 2019 01:48:34 +0000 (10:48 +0900)]
Change mc_client_get_ability_support() to mc_client_get_server_ability_support()

Change-Id: Ifce4e6ec68fcdc4b7a648afc8a4c3b5f366d5f3b

5 years agoRemove check EACCESS and Fix log position to avoid errno change. (errno can be change... 45/211945/7
hj kim [Mon, 12 Aug 2019 10:32:53 +0000 (19:32 +0900)]
Remove check EACCESS and Fix log position to avoid errno change. (errno can be changed when using dlog)

The media-controller daemon can return EACCESS to the client when the daemon creates a commication socket temporarily.
For this reason, if client get EACCESSn, client must retry the connection.

Change-Id: If7753f8a2590365f4edba2ba6d4183207d0ddf0e

5 years ago[ACR-1428] Add functions for ability 50/210450/27 accepted/tizen/unified/20190813.082345 submit/tizen/20190813.013835
hj kim [Fri, 19 Jul 2019 07:08:33 +0000 (16:08 +0900)]
[ACR-1428] Add functions for ability

Change-Id: Ice6c525465f6e741ceb483a39f9c78585c4d3903

5 years agoRemove duplicate codes for releasing listener 62/211662/4
jiyong.min [Thu, 8 Aug 2019 01:52:15 +0000 (10:52 +0900)]
Remove duplicate codes for releasing listener

Change-Id: Ib25f7e12c768a9655d7c44b7abbdf9b3429ee1d4

5 years agoAdd to restart service when ondemand is not enabled. 23/211523/2 accepted/tizen/unified/20190806.220533 submit/tizen/20190806.073859
jiyong.min [Tue, 6 Aug 2019 07:06:28 +0000 (16:06 +0900)]
Add to restart service when ondemand is not enabled.

Change-Id: I24340e840cfff21d68a14792d177b29c64207c00

5 years agoModify the condition expression 75/211275/4 accepted/tizen/unified/20190806.072202 submit/tizen/20190805.053702
Minje Ahn [Thu, 1 Aug 2019 04:00:01 +0000 (13:00 +0900)]
Modify the condition expression

Change-Id: Ie18f8fa16d6ed2ea7399d49c3af97c89979ee243
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoModify subscribe for MC_SUBSCRIPTION_TYPE_PLAYBACK_ABILITY 26/211426/1 accepted/tizen/unified/20190805.042912 submit/tizen/20190805.013641
jiyong.min [Mon, 5 Aug 2019 00:11:12 +0000 (09:11 +0900)]
Modify subscribe for MC_SUBSCRIPTION_TYPE_PLAYBACK_ABILITY

 - After mc_client_subscribe is called for MC_SUBSCRIPTION_TYPE_PLABACK_ABILITY,
   mc_playback_ability_updated_cb is not invoked
  When mc_client_subscribe is called, wrong user_data was pased.

Change-Id: I1184b5ef76b996b631219d6ccbe9c4ae0f6ba960

5 years agoChange return type of mc_db_disconnect() 70/211270/4
Minje Ahn [Thu, 1 Aug 2019 02:26:12 +0000 (11:26 +0900)]
Change return type of mc_db_disconnect()

Change-Id: I183a54a6d2154afdaa13e23def10e6c31c87289b
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoAdd for upgrade from 5.0 to 5.5 00/210800/11
Minje Ahn [Thu, 25 Jul 2019 02:22:42 +0000 (11:22 +0900)]
Add for upgrade from 5.0 to 5.5

Change-Id: I72ad8f0aeafaeeda01f08114fc5a05c90be4345d
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoAdd logic to apply duplication of search keywords 21/210821/10 accepted/tizen/unified/20190729.081053 submit/tizen/20190726.053215
jiyong.min [Thu, 25 Jul 2019 05:33:06 +0000 (14:33 +0900)]
Add logic to apply duplication of search keywords

Change-Id: I35ca0e04e6deebab44ca901c0fcb592989b3bdce

5 years agoAdd static at _destroy_search_list 20/210820/6
jiyong.min [Thu, 25 Jul 2019 01:38:16 +0000 (10:38 +0900)]
Add static at _destroy_search_list

Change-Id: If1162098d948be58c04d283de4e97e41c59f21f7

5 years agoRestore removed APIs for compatibility 15/210115/1 accepted/tizen/unified/20190716.111304 submit/tizen/20190716.080029
hj kim [Tue, 16 Jul 2019 02:45:02 +0000 (11:45 +0900)]
Restore removed APIs for compatibility

Change-Id: Ic16ac2081c1b1c20a438fef064835a81a9b7500f

5 years agoChange the server check for activate and exist 21/209721/3 accepted/tizen/unified/20190715.111808 submit/tizen/20190715.042823
jiyong.min [Wed, 10 Jul 2019 08:11:32 +0000 (17:11 +0900)]
Change the server check for activate and exist

Change-Id: I93199e12482b38dc39e978eac3ff5da8d5f6babb

5 years agoMerge "[ACR-1411] Add new error for ability not supported" into tizen submit/tizen/20190710.060329 submit/tizen/20190710.075719
Jiyong Min [Wed, 10 Jul 2019 05:45:33 +0000 (05:45 +0000)]
Merge "[ACR-1411] Add new error for ability not supported" into tizen

5 years agosearch keyword can be NULL if category is not determined 65/209665/1
hj kim [Wed, 10 Jul 2019 02:18:07 +0000 (11:18 +0900)]
search keyword can be NULL if category is not determined

Change-Id: I40a70bb32c17401c6dbedf136fb537527308901a

5 years ago[ACR-1411] Add new error for ability not supported 36/207436/17
jiyong.min [Tue, 4 Jun 2019 23:42:44 +0000 (08:42 +0900)]
[ACR-1411] Add new error for ability not supported

Change-Id: I7cd47f659b30873664315fabce17474ef49075ae

5 years agoAdd to free 'msg', 'creds', and 'source' due to memory leak issue 51/209151/10 accepted/tizen/unified/20190705.110651 submit/tizen/20190705.011248
jiyong.min [Wed, 3 Jul 2019 02:40:36 +0000 (11:40 +0900)]
Add to free 'msg', 'creds', and 'source' due to memory leak issue

Change-Id: Iea97415f5e4c8abfb963cb5906882dc0dbc6ccaf

5 years agoMerge "Use __mc_db_get_record() on mc_db_get_latest_server_info" into tizen accepted/tizen/unified/20190704.115625 submit/tizen/20190704.070253
hj kim [Thu, 4 Jul 2019 06:59:02 +0000 (06:59 +0000)]
Merge "Use __mc_db_get_record() on mc_db_get_latest_server_info" into tizen

5 years agoMerge "Remove unnecessary setting" into tizen
Jiyong Min [Thu, 4 Jul 2019 06:53:33 +0000 (06:53 +0000)]
Merge "Remove unnecessary setting" into tizen

5 years agoUse __mc_db_get_record() on mc_db_get_latest_server_info 84/208984/7
Minje Ahn [Tue, 2 Jul 2019 00:37:08 +0000 (09:37 +0900)]
Use __mc_db_get_record() on mc_db_get_latest_server_info

Change-Id: Ie4a0c2eea5df448f5d554b29e2260606b51fe3e5
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoMerge "Add restriction for setting content type" into tizen
Jiyong Min [Thu, 4 Jul 2019 06:49:37 +0000 (06:49 +0000)]
Merge "Add restriction for setting content type" into tizen

5 years agoRemove check for gcov 14/209014/4 accepted/tizen/unified/20190702.234131 submit/tizen/20190701.235505
Minje Ahn [Tue, 2 Jul 2019 01:43:45 +0000 (10:43 +0900)]
Remove check for gcov

Change-Id: I08d37b05d3c89ffd262aeff917db1b0c9a98e344
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoRemove unnecessary setting 01/209001/1
INSUN PYO [Tue, 2 Jul 2019 01:25:29 +0000 (10:25 +0900)]
Remove unnecessary setting

Change-Id: I583842cf32200d4956abf89b149f4bf379e91b59

5 years agoUpdate description 83/208983/1
Minje Ahn [Tue, 2 Jul 2019 00:33:37 +0000 (09:33 +0900)]
Update description

Change-Id: Icdfa353005dfa51ecb312f716215cebcac07545a
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoFix build error 81/208981/1
Minje Ahn [Tue, 2 Jul 2019 00:32:20 +0000 (09:32 +0900)]
Fix build error

Change-Id: I99ae6d6a8baf61f5dbf687d6f361ae8a85e27344
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoAdd for line coverage 69/208969/3
Minje Ahn [Mon, 1 Jul 2019 23:16:36 +0000 (08:16 +0900)]
Add for line coverage

Change-Id: Iaeb8873f285a16ce1feade31350e40b74deddaae
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoAdd restriction for setting content type 34/208834/2
hj kim [Mon, 1 Jul 2019 01:47:33 +0000 (10:47 +0900)]
Add restriction for setting content type

Change-Id: I214d4930fdf3ec7815906f857ed5bae62a8f5d66

5 years agoBug fix of adding playlist item into media db 54/208754/1 accepted/tizen/unified/20190628.120635 submit/tizen/20190628.044402
hj kim [Fri, 28 Jun 2019 02:53:41 +0000 (11:53 +0900)]
Bug fix of adding playlist item into media db

Change-Id: Ibeeb4937e5aec2f44477443160e0d426bbfeb8ec

5 years agoMerge "Modify API descriptions regarding the ACR-1355" into tizen accepted/tizen/unified/20190626.040951 submit/tizen/20190625.233624
hj kim [Mon, 24 Jun 2019 02:08:50 +0000 (02:08 +0000)]
Merge "Modify API descriptions regarding the ACR-1355" into tizen

5 years agoAdd error type when no record 17/208217/4 accepted/tizen/unified/20190620.123706 submit/tizen/20190620.052708
Minje Ahn [Thu, 20 Jun 2019 04:00:18 +0000 (13:00 +0900)]
Add error type when no record

Change-Id: I645be2b7262098da16c615f24f383dbc25d63edc
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoDelete function for count-only 20/207820/11 accepted/tizen/unified/20190618.050011 submit/tizen/20190617.081601
Minje Ahn [Thu, 13 Jun 2019 04:59:44 +0000 (13:59 +0900)]
Delete function for count-only

Change-Id: I01420453bdf44e1f3707ed0fc9095f16d4edeeb1
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoModify API descriptions regarding the ACR-1355 50/207950/1
hj kim [Fri, 14 Jun 2019 07:02:28 +0000 (16:02 +0900)]
Modify API descriptions regarding the ACR-1355

Change-Id: I65e03ec0e0c7c18277708cf46d8b2e2e65fec4c0

5 years agoMerge "Add function for single result" into tizen
hj kim [Fri, 14 Jun 2019 05:31:35 +0000 (05:31 +0000)]
Merge "Add function for single result" into tizen

5 years agoMerge "Modify shift operation to use 64-bit operand" into tizen
hj kim [Fri, 14 Jun 2019 04:58:25 +0000 (04:58 +0000)]
Merge "Modify shift operation to use 64-bit operand" into tizen

5 years agoModify some error log 11/207911/3
Minje Ahn [Fri, 14 Jun 2019 03:30:29 +0000 (12:30 +0900)]
Modify some error log

Change-Id: Iaed608bebd12bc088fafa63785b681036c97074d
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoAdd function for single result 07/207807/4
Minje Ahn [Thu, 13 Jun 2019 02:19:48 +0000 (11:19 +0900)]
Add function for single result

Change-Id: I321a0064b6a638eb715bb26513b6ec1ca6a94b31
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoAdd user version 02/207702/4
Minje Ahn [Tue, 11 Jun 2019 08:12:00 +0000 (17:12 +0900)]
Add user version

Change-Id: I620cf35a6eae94ea957d0e1d1ae163ca56294675
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoChange the database structure 94/207694/6
Minje Ahn [Tue, 11 Jun 2019 06:49:38 +0000 (15:49 +0900)]
Change the database structure

1. Use server_info table instead of each app tables
2. Separate metadata and server information
3. Add triggers for initialization
4. Modify some queries

Change-Id: I232eb0da625edf384ecc87b793c2610bfaf1b92d
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoModify shift operation to use 64-bit operand 96/207696/2
jiyong.min [Tue, 11 Jun 2019 07:44:33 +0000 (16:44 +0900)]
Modify shift operation to use 64-bit operand

Change-Id: Ie5efa19b8c59a9ca8d79f0ac7332eef7da3b3c7b

5 years agoChange not to return error even if there is a same playlist 07/207907/2 accepted/tizen/unified/20190617.061726 submit/tizen/20190614.024153
hj kim [Fri, 14 Jun 2019 02:23:16 +0000 (11:23 +0900)]
Change not to return error even if there is a same playlist

Change-Id: Ifc04bc913af420ce9c7fcf502b11be61efc9764b

5 years agoupdate code of checking condition 91/207691/1
hj kim [Tue, 11 Jun 2019 06:37:54 +0000 (15:37 +0900)]
update code of checking condition

Change-Id: I1090e86d2bfc978b0d28f25294a7bf716d02d3de

5 years agoUpdate API description 76/207676/1
hj kim [Tue, 11 Jun 2019 04:35:33 +0000 (13:35 +0900)]
Update API description

Change-Id: If2fcb1f5dfbb98bf09c07cfd8e43782c9b4df58e

5 years agoUpdate playlist related query 56/207656/2
Minje Ahn [Tue, 11 Jun 2019 00:48:41 +0000 (09:48 +0900)]
Update playlist related query

Change-Id: I5e76183980b246ca8b0fd3fbf0ecd6bf4bdf9fcb
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoUpdate latest_server related query 53/207653/2
Minje Ahn [Mon, 10 Jun 2019 23:30:04 +0000 (08:30 +0900)]
Update latest_server related query

Change-Id: I0ab81aa519aaef12e1fdbe638eb76c6c534e780f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoModify to work only on server 52/207652/1
Minje Ahn [Mon, 10 Jun 2019 23:06:17 +0000 (08:06 +0900)]
Modify to work only on server

Change-Id: If84b91fb82230b78f77fc34116ef43d3bfd38be3
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoMerge server_list and client_list into app_list 23/207623/3
Minje Ahn [Mon, 10 Jun 2019 07:00:58 +0000 (16:00 +0900)]
Merge server_list and client_list into app_list

Change-Id: I6b2a0f1bfc25301b90f0c28dda12d966e50c5fe8
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoCode cleanup 01/207601/1
Minje Ahn [Mon, 10 Jun 2019 01:46:49 +0000 (10:46 +0900)]
Code cleanup

Change-Id: I42a31cfc3285399dff03673c09d96df6f883f5c8
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoChange PLAYBACK_ACTION_ABILITY to 20 93/207593/1 accepted/tizen/unified/20190610.082549 submit/tizen/20190605.070245
jiyong.min [Mon, 10 Jun 2019 00:08:20 +0000 (09:08 +0900)]
Change PLAYBACK_ACTION_ABILITY to 20

Change-Id: I5656b1e23cb3c987b8187fee3f3f83dd4960c7b1

5 years agoMerge "Add APIs to check parameter range" into tizen
hj kim [Wed, 5 Jun 2019 06:53:10 +0000 (06:53 +0000)]
Merge "Add APIs to check parameter range" into tizen

5 years agoAdd to update playback item index 67/207467/2
jiyong.min [Wed, 5 Jun 2019 06:26:45 +0000 (15:26 +0900)]
Add to update playback item index

Change-Id: I3fc972523b5232d38c8f7038f63fc91527816564

5 years agoMerge "Update API description" into tizen
Jiyong Min [Wed, 5 Jun 2019 06:36:43 +0000 (06:36 +0000)]
Merge "Update API description" into tizen

5 years agoAdd APIs to check parameter range 44/207444/2
hj kim [Wed, 5 Jun 2019 02:47:10 +0000 (11:47 +0900)]
Add APIs to check parameter range

Change-Id: I6c1abd56f738bf35b5209574bee3548063107472

5 years agoUnify duplicated code 25/207325/3
hj kim [Mon, 3 Jun 2019 07:50:01 +0000 (16:50 +0900)]
Unify duplicated code

Change-Id: Iec77817366b05a948011aaeabe41bc9f19b8caa5

5 years agoUse sqlite3 instead of void type 20/207320/1
Minje Ahn [Mon, 3 Jun 2019 07:12:13 +0000 (16:12 +0900)]
Use sqlite3 instead of void type

Change-Id: I79ac6ad6dfa3cba5ce89bb44936836bcb4b43ad9
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoCode cleanup 14/207314/4
Minje Ahn [Mon, 3 Jun 2019 06:16:17 +0000 (15:16 +0900)]
Code cleanup

Change-Id: I449546ad793f8ae9f2add7353f5f2acf399092e3
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoUpdate API description 16/206916/2
hj kim [Wed, 29 May 2019 02:49:01 +0000 (11:49 +0900)]
Update API description

Change-Id: Ibfcd8ef11ab2ccb6befdb2ad5e688ca741cf0d3a

5 years agoUse mc_server_receive_event_e instead of mc_ability_e 36/207236/2
hj kim [Fri, 31 May 2019 02:13:48 +0000 (11:13 +0900)]
Use mc_server_receive_event_e instead of mc_ability_e

Change-Id: Ie0bd3dfb40749983a43f03b64822e95319d652e1

5 years agoReduce code duplication regarding the getting ability 32/207232/2
hj kim [Fri, 31 May 2019 01:34:50 +0000 (10:34 +0900)]
Reduce code duplication regarding the getting ability

Change-Id: I67b7260d2ec9c6625c00b39119fface90a5f4805

5 years agoRename some symbols related with application to enhance readability 24/206724/7
jiyong.min [Fri, 24 May 2019 01:28:39 +0000 (10:28 +0900)]
Rename some symbols related with application to enhance readability

Change-Id: I314126b4fdf771461782865655abaf914233513b

5 years agoUse APIs instead of using sqlite code directlry 80/206680/2 tizen_with_player
hj kim [Thu, 23 May 2019 04:42:28 +0000 (13:42 +0900)]
Use APIs instead of using sqlite code directlry

Change-Id: I7af1a7558780a78a88b608fd7ff511b5b2f11149

5 years agojust update redundant code 91/206591/1 accepted/tizen/unified/20190530.043002 submit/tizen/20190522.060956
hj kim [Wed, 22 May 2019 02:21:57 +0000 (11:21 +0900)]
just update redundant code

Change-Id: I411216c00b7f66996d74f63d6b5b46cfcf6a4204

5 years agoModify code not to send sqlite query directly to the daemon regarding the playlist 39/206539/3
hj kim [Tue, 21 May 2019 05:52:23 +0000 (14:52 +0900)]
Modify code not to send sqlite query directly to the daemon regarding the playlist

Change-Id: I025ce9f1eb3a0736b8c95829731b0bf991c0c046

5 years agoRearrange the code to unify duplicated code 15/206515/3
jiyong.min [Tue, 21 May 2019 01:08:22 +0000 (10:08 +0900)]
Rearrange the code to unify duplicated code

 - Unify duplicated code, remove dead application & remove from db
 - Rename and relocate function related with database

Change-Id: Ib98dd6a5e7cbf58d201d8bed14acb302137e331c

5 years agoReduce to execute connect & disconnect db repeatly 14/206514/3
jiyong.min [Tue, 21 May 2019 00:54:26 +0000 (09:54 +0900)]
Reduce to execute connect & disconnect db repeatly

Change-Id: Ic87ce76d99184e991349033a74fcc560d22f00c1

5 years agoUnify duplicated code for removing apps information from db 13/206513/3
jiyong.min [Mon, 20 May 2019 23:55:52 +0000 (08:55 +0900)]
Unify duplicated code for removing apps information from db

Change-Id: I9fcb437dcf80cb77e6204699c9cb5b162064fbd8

5 years agoModify code not to send sqlite query directly regarding the metadata 13/206313/2
hj kim [Thu, 16 May 2019 08:04:05 +0000 (17:04 +0900)]
Modify code not to send sqlite query directly regarding the metadata

Change-Id: I1620a1a80b8b084cadbcc1a6bc16f6ffc4de0d16

5 years agoFix to update latest_server table only if the new playback server is not same as... 22/206222/1
hj kim [Wed, 15 May 2019 07:46:29 +0000 (16:46 +0900)]
Fix to update latest_server table only if the new playback server is not same as the latest_server stored

Change-Id: I1c64ff2dc96169f3d1b92978ba66843a1096b28a

5 years agoModify code not to send sqlite query directly regarding the playback info 14/206214/2
hj kim [Wed, 15 May 2019 06:50:40 +0000 (15:50 +0900)]
Modify code not to send sqlite query directly regarding the playback info

Change-Id: I7af2494a073336a44f3cd44ca05098e864e9ad57

5 years agoUpdate debug msg to distinguish server mode 80/206180/1
hj kim [Wed, 15 May 2019 02:30:17 +0000 (11:30 +0900)]
Update debug msg to distinguish server mode

Change-Id: I1f23c679020beb828ccb946433247bd6cc038cba

5 years agoModify code not to send sqlite query directly 83/206083/1
hj kim [Tue, 14 May 2019 07:02:41 +0000 (16:02 +0900)]
Modify code not to send sqlite query directly

Change-Id: Ic41ed178127b9ab0d63a4d3154ad399f49b2e04a

5 years agoChange the code to be simple When add new empty playlist 17/206017/4
hj kim [Mon, 13 May 2019 08:32:30 +0000 (17:32 +0900)]
Change the code to be simple When add new empty playlist

Change-Id: I8f5d40d077587e92a5489f76bf0c0e8977c718b9

5 years agoUpdate pkg version 23/205823/1 accepted/tizen/unified/20190513.082541 submit/tizen/20190509.060744 submit/tizen/20190509.095007 submit/tizen/20190510.045629
hj kim [Thu, 9 May 2019 09:48:42 +0000 (18:48 +0900)]
Update pkg version

Change-Id: I1e911a74d812f0f918c0654f429dae9491dcb443

5 years agoSave latest server status by using vconf 94/205794/4
hj kim [Thu, 9 May 2019 07:59:11 +0000 (16:59 +0900)]
Save latest server status by using vconf

Some clients want to get latest server information before mc_create_client().
Because mc_create_client() takes some time.
To reduce the delay, we support vconf.

Change-Id: I372191d0ec01c91041f05a55af238611eab14fca

5 years ago[Performance Enhancement] Reduce the socket IPC for create/destroy APIs 56/205656/8
jiyong.min [Wed, 8 May 2019 08:03:40 +0000 (17:03 +0900)]
[Performance Enhancement] Reduce the socket IPC for create/destroy APIs

 - Reduce the socket IPC, it will be sent just 1 time for create/destroy APIs.

Change-Id: I10d2f7d2a0601e32588299bdf99c84508d570cd3

5 years agoRearrange the code. 40/205640/4
jiyong.min [Wed, 8 May 2019 00:33:23 +0000 (09:33 +0900)]
Rearrange the code.

 - After global variables are destroyed, initial values are added
 - Remove invalid parameter for '__mc_main_destroy_timer()'
 - Remove unuseful variable 'res'

Change-Id: I4e154bf13d9786c9d75d9c5f43b0c800eec1f49b

5 years agoAdd define for mc_ipc_service_connect() API to enable on_demand 57/205557/1 accepted/tizen/unified/20190507.221751 submit/tizen/20190507.051827 submit/tizen/20190507.103652
jiyong.min [Tue, 7 May 2019 10:14:24 +0000 (19:14 +0900)]
Add define for mc_ipc_service_connect() API to enable on_demand

 - Fix TC fail

Change-Id: I811f8dea62e22c21eacae9d470a5fc6181425bde

5 years agoMerge "Disable on-demand service in product TV" into tizen
hj kim [Tue, 7 May 2019 05:00:47 +0000 (05:00 +0000)]
Merge "Disable on-demand service in product TV" into tizen

5 years agoMerge "Remove unused mc_server_get_playlist()" into tizen
Jiyong Min [Tue, 7 May 2019 05:00:27 +0000 (05:00 +0000)]
Merge "Remove unused mc_server_get_playlist()" into tizen

5 years agoDisable on-demand service in product TV 77/205377/3
jiyong.min [Fri, 3 May 2019 00:59:52 +0000 (09:59 +0900)]
Disable on-demand service in product TV

[Cause]
It spent 100~200ms to execute mediacontroller daemon by systemd.
When application starts, the handle creation spent 200~300ms.

[Solution]
The mediacontroller daemon will starts on boot in product TV.
After this patch, the handle creation spent 30~50ms.

Change-Id: Ibc85df6f7dde8e31e3ceb197d5da5051dd87bf99

5 years agoAdd define to enable/disalbe on-demand service 68/205268/7
jiyong.min [Tue, 30 Apr 2019 07:40:13 +0000 (16:40 +0900)]
Add define to enable/disalbe on-demand service

Change-Id: I85debe67908c010275ce03412271cea463d4ff72

5 years agoRemove unused mc_server_get_playlist() 93/205493/1
hj kim [Tue, 7 May 2019 01:58:44 +0000 (10:58 +0900)]
Remove unused mc_server_get_playlist()

Change-Id: I50adb982d921dc93e0f8423ec2f4fc879c6616b9

5 years agoBug fix of set icon. icon can be NULL 22/205222/1 submit/tizen/20190502.004950
hj kim [Tue, 30 Apr 2019 08:17:12 +0000 (17:17 +0900)]
Bug fix of set icon. icon can be NULL

Change-Id: I94e627ebd04767b62e8f57973ac91dbb3afc1319

5 years agoAdd debug msg 12/205212/1
hj kim [Tue, 30 Apr 2019 07:43:10 +0000 (16:43 +0900)]
Add debug msg

Change-Id: I44c9aef534e8bd24cc665e99e439300fdea9e31c

5 years agoBug fix of removing all data for command verification 60/202860/2 accepted/tizen/unified/20190410.002041 submit/tizen/20190408.060111
hj kim [Fri, 5 Apr 2019 07:23:10 +0000 (16:23 +0900)]
Bug fix of removing all data for command verification

Change-Id: Iafaed5f04ea2dc879a65fc7448966de55d83ee31

5 years agoUpdate test app name 58/202858/1
hj kim [Fri, 5 Apr 2019 07:00:41 +0000 (16:00 +0900)]
Update test app name

Change-Id: Ic5e26fcce016051b5c3feee63fac9272bb1a3a69

5 years agoFix not to insert duplicated playlist to DB. 41/202641/5 accepted/tizen/unified/20190404.022033 submit/tizen/20190403.095027
hj kim [Tue, 2 Apr 2019 06:38:52 +0000 (15:38 +0900)]
Fix not to insert duplicated playlist to DB.

Duplicated playlist(same server name and same playlist name) can't be inserted to DB.

Change-Id: I5db839b695b1fbd83473971b003534aec1192c73

5 years agoBug fix of updating DB to (null) when using g_strdup_printf. 22/202422/10
hj kim [Thu, 28 Mar 2019 09:51:03 +0000 (18:51 +0900)]
Bug fix of updating DB to (null) when using g_strdup_printf.

if the value is NULL, g_strdup_print make it to (null).
And this value added to DB and it looks like a real string value.

Change-Id: I03b8c9f1c6a52f683ee60ade6c1dfea39e6a80a3

5 years ago[ACR-1379]Add new API to get number of condition. mc_seach_get_condition_count() 14/201914/5 accepted/tizen/unified/20190328.012824 submit/tizen/20190327.074346
hj kim [Thu, 21 Mar 2019 02:06:51 +0000 (11:06 +0900)]
[ACR-1379]Add new API to get number of condition. mc_seach_get_condition_count()

Change-Id: I477f6b2fed6c7f01468415d409051ec59008a939

5 years agoRearrange the code for error case 12/202012/3 accepted/tizen/unified/20190326.073430 submit/tizen/20190325.074339
jiyong.min [Fri, 22 Mar 2019 01:21:35 +0000 (10:21 +0900)]
Rearrange the code for error case

Change-Id: Ib88f5347b96d133f9b5bcbe4eddc8848edd26f9c

5 years agoFix typo 00/201900/1 accepted/tizen/unified/20190321.062532 submit/tizen/20190321.013754
hj kim [Wed, 20 Mar 2019 23:23:23 +0000 (08:23 +0900)]
Fix typo

Change-Id: Ifb617166812c4965fc4f350be2e50095502115f1