platform/core/multimedia/libmedia-service.git
7 years agoFix memory leak 94/147294/3 accepted/tizen/unified/20170905.184600 submit/tizen/20170905.045917
Minje Ahn [Mon, 4 Sep 2017 01:35:23 +0000 (10:35 +0900)]
Fix memory leak

Change-Id: I9186fe28e7bf05af07fde463bf3d3c52748e133d
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove pvr, uhd table 30/147130/1
Minje Ahn [Fri, 1 Sep 2017 05:59:10 +0000 (14:59 +0900)]
Remove pvr, uhd table

Remove table for product

Change-Id: I02f9269976ee9051351fc62f1f07360f1ba1cb8d
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoMove logic for reset mediadb 15/147115/3
Minje Ahn [Fri, 1 Sep 2017 05:05:39 +0000 (14:05 +0900)]
Move logic for reset mediadb

Change-Id: I9a023ce952e61ac0378489d2bc083b57da6df01f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove unused internal api 48/146948/1 submit/tizen/20170831.090803 submit/tizen_4.0/20170831.090956
Minje Ahn [Thu, 31 Aug 2017 08:33:13 +0000 (17:33 +0900)]
Remove unused internal api

Change-Id: I7cee309842a054cff7e9b4a4bea600c52f3e01a3
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove unused plugin APIs 38/146938/1 submit/tizen/20170831.083004
Minje Ahn [Thu, 31 Aug 2017 08:10:04 +0000 (17:10 +0900)]
Remove unused plugin APIs

Removed API list

count_subfolder
delete_invalid_folder_by_path
get_folder_list
count_delete_items_in_folder
delete_all_invalid_items_in_folder

Change-Id: I5a92b981853d3b447b78f58d1233d6753732068b
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoUpdate the query used to delete invalid items in storage 88/146688/1
Minje Ahn [Wed, 30 Aug 2017 05:07:29 +0000 (14:07 +0900)]
Update the query used to delete invalid items in storage

Change-Id: I6a6e63c61474f3135b0267fde2524fed4cdbe843
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove useless parameters and queries 76/146376/1
Minje Ahn [Mon, 28 Aug 2017 07:53:44 +0000 (16:53 +0900)]
Remove useless parameters and queries

Change-Id: I76c32ee538ab814b3eea21f2b57701878e53d53d
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoMerge function for getting thumbnail folder 08/144608/2 accepted/tizen/4.0/unified/20170829.015810 accepted/tizen/unified/20170822.023752 accepted/tizen/unified/20170824.051005 submit/tizen/20170821.010252 submit/tizen/20170824.010707 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170828.110004
Minje Ahn [Thu, 17 Aug 2017 08:16:58 +0000 (17:16 +0900)]
Merge function for getting thumbnail folder

Change-Id: I62f8355638aa441fe2352ae323021ac1d97d1f48
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoChange storage type enum name (ms_user_storage_type_t -> ms_user_storage_type_e) 53/144553/2
Minje Ahn [Thu, 17 Aug 2017 06:59:02 +0000 (15:59 +0900)]
Change storage type enum name (ms_user_storage_type_t -> ms_user_storage_type_e)

Change-Id: I194e27c3670518d7c4d20ab72198fb29d4cb58d1
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoModify parameters 05/144505/3 submit/tizen/20170817.064526
Minje Ahn [Thu, 17 Aug 2017 05:09:51 +0000 (14:09 +0900)]
Modify parameters

Change structure list to g_list
Use define instead of parameters

Change-Id: I9f7c83a6c01b2675e86830ddd9765cf2731fa974
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoChange Face related DB Schema. add modified_time in face_scan_list, add user_marked... 36/144236/3
Haejeong Kim [Wed, 16 Aug 2017 05:00:06 +0000 (14:00 +0900)]
Change Face related DB Schema. add modified_time in face_scan_list, add user_marked in face

Change-Id: I936e841016e3bde09565758e0de85770af41c5e4

7 years agoAdd check to file_name 93/141293/1 accepted/tizen/4.0/unified/20170816.013051 accepted/tizen/4.0/unified/20170816.015706 accepted/tizen/unified/20170803.010412 submit/tizen/20170731.013601 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 01:09:22 +0000 (10:09 +0900)]
Add check to file_name

Change-Id: I9d517360cd5da0b05ff185dbf5292767a6f0bf07
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove unused parameters in plugin API 11/140911/1 submit/tizen/20170728.073049
Minje Ahn [Thu, 27 Jul 2017 06:17:25 +0000 (15:17 +0900)]
Remove unused parameters in plugin API

Change-Id: I9f30d2ee5835bb53f8cf150ad9cdc64480ee52d5
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoUpdate query-related code 91/140891/1 submit/tizen/20170728.070738
Minje Ahn [Thu, 27 Jul 2017 05:33:00 +0000 (14:33 +0900)]
Update query-related code

Use column name instead of *
Add query for upgrade when v5 to v6

Change-Id: Id02950b71904d7123420fa7acc5e31921953bc42
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove unused code and files 70/140670/4
Minje Ahn [Wed, 26 Jul 2017 03:09:32 +0000 (12:09 +0900)]
Remove unused code and files

Update the version because it is a file deletion patch
Remove *-localize-utils.*

Change-Id: I945c161d76c63d203d7e73f6d12bfd046679fd6e
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove Unused function 53/140653/2
Minje Ahn [Wed, 26 Jul 2017 01:44:44 +0000 (10:44 +0900)]
Remove Unused function

Change-Id: Idc767ea6c1a2adb41d2f9177ad125e95d449271f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove _strncpy_safe() 48/140648/2
Minje Ahn [Wed, 26 Jul 2017 01:20:13 +0000 (10:20 +0900)]
Remove _strncpy_safe()

Use g_strlcpy instead of _strncpy_safe

Change-Id: I3e64ffcbd590177b320dda75e1d70c9e1cc81089
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove unused code 38/140638/2
Minje Ahn [Wed, 26 Jul 2017 00:28:57 +0000 (09:28 +0900)]
Remove unused code

Change-Id: I412c3a167376370f32dc77dedb6aaab1fced347b
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove extracted flag process 30/140630/1
Minje Ahn [Tue, 25 Jul 2017 23:32:14 +0000 (08:32 +0900)]
Remove extracted flag process

No longer needed.

Change-Id: I168fbe26f35981ff0e3aa350373aac4ef3a9739d
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove __media_svc_malloc_and_strncpy 18/140518/3
Minje Ahn [Tue, 25 Jul 2017 08:09:19 +0000 (17:09 +0900)]
Remove __media_svc_malloc_and_strncpy

Use g_strdup instead of __media_svc_malloc_and_strncpy

Change-Id: Id4c31b18c9e7ff096b05d32d1f882ca2cef12c7b
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove __media_svc_malloc_and_strncpy_with_size() 79/140479/1
Minje Ahn [Tue, 25 Jul 2017 06:29:05 +0000 (15:29 +0900)]
Remove __media_svc_malloc_and_strncpy_with_size()

Use g_strdup instead of __media_svc_malloc_and_strncpy_with_size

Change-Id: I34df062c9b2c4b933a792ff78c34857e0f0dcb4f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoUpdate define 59/140459/1
Minje Ahn [Tue, 25 Jul 2017 05:47:17 +0000 (14:47 +0900)]
Update define

Change-Id: Iffc127f670768a50398a76ece58ca3e86f6ab95b
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoUpdate enum name 40/139740/1 accepted/tizen/unified/20170721.201951 submit/tizen/20170721.015330
Minje Ahn [Thu, 20 Jul 2017 08:38:23 +0000 (17:38 +0900)]
Update enum name

Change-Id: I3935ce12cf93e8554136547ccb1b84622a20c6ba
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoFix face table user version 71/139471/1 submit/tizen/20170719.072308
Minje Ahn [Wed, 19 Jul 2017 05:41:27 +0000 (14:41 +0900)]
Fix face table user version

Change-Id: Ia8be20932d4ee2edc6842e3d9bce140c7c2eca84
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years ago[SATIZENVUL-925] Check allocation 31/139231/10
Minje Ahn [Tue, 18 Jul 2017 04:32:45 +0000 (13:32 +0900)]
[SATIZENVUL-925] Check allocation

And remove unused media-svc-localize_tw related files.

Change-Id: I335746e3bea37bfcfb89ea2056eb6033f69cdea8
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoFix duplicated query 94/138894/1 submit/tizen/20170718.004734
Minje Ahn [Fri, 14 Jul 2017 07:07:36 +0000 (16:07 +0900)]
Fix duplicated query

Change-Id: I9c8d2c7545f19c23b6043bea46d07b2badd30cb5
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoAdd checker for input parameters 19/138719/1 accepted/tizen/unified/20170717.170046 submit/tizen/20170714.003836
Minje Ahn [Thu, 13 Jul 2017 09:20:14 +0000 (18:20 +0900)]
Add checker for input parameters

Change-Id: I79c23b47d4f07615ac064282ec8cf05f9e62297f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoFree value before check error 54/138454/1 submit/tizen/20170713.091658
Minje Ahn [Wed, 12 Jul 2017 07:50:09 +0000 (16:50 +0900)]
Free value before check error

Change-Id: Ic3940fe63606c7fa64876c4e12bb0daafe330fda
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove unreachable code 82/138082/2
Minje Ahn [Tue, 11 Jul 2017 04:42:46 +0000 (13:42 +0900)]
Remove unreachable code

Always width, height are greater than 0

Change-Id: I63e612ff8340452b9d9ef4ff16bbd9ade995c273
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoCheck folder validity when insert media info 44/137244/5 accepted/tizen/unified/20170706.194043 submit/tizen/20170706.062459
Minje Ahn [Wed, 5 Jul 2017 05:09:49 +0000 (14:09 +0900)]
Check folder validity when insert media info

If parent folder validity is 0, set to 1

Change-Id: I11dbcaa71308c53ac3a104199f163b0f66b6ca10
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoFix query to get un-scanned folder list 93/136493/6 submit/tizen/20170704.021418 submit/tizen/20170705.022437
Minje Ahn [Fri, 30 Jun 2017 03:44:16 +0000 (12:44 +0900)]
Fix query to get un-scanned folder list

Change-Id: I92ceadb411cd72613c12c72138cdbfae61bc3bc9
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoFix memory leak 66/136466/1 accepted/tizen/unified/20170703.063948 submit/tizen/20170630.083231
Haejeong Kim [Fri, 30 Jun 2017 01:46:24 +0000 (10:46 +0900)]
Fix memory leak

Change-Id: I25a14cb3a7e72557f80f6dadad8c0b186aa29b89

7 years agoRemove useless __media_svc_get_title_from_filepath() call to make title. 02/136402/2
Haejeong Kim [Thu, 29 Jun 2017 09:33:54 +0000 (18:33 +0900)]
Remove useless __media_svc_get_title_from_filepath() call to make title.
Default title is already set in _media_svc_set_default_value(), so don't need to make title again

Change-Id: I7a94346d87869ed2a8bfb07d08a93e0d66e3c0f4

7 years agoJust update internal API names 64/136364/1
Haejeong Kim [Thu, 29 Jun 2017 08:02:50 +0000 (17:02 +0900)]
Just update internal API names

Change-Id: I6ec13bba0b97e50126161bcea4ffcd54a5b34a79

7 years agoRemove parent_folder_uuid related code 28/135728/3
Minje Ahn [Mon, 26 Jun 2017 06:54:02 +0000 (15:54 +0900)]
Remove parent_folder_uuid related code

Change-Id: Ia1910937a50139a44f90276efd0004c3b87b041d
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove Werror option. build failed in x86 07/135307/1 accepted/tizen/unified/20170630.083331 submit/tizen/20170622.234033
Haejeong Kim [Wed, 21 Jun 2017 23:59:40 +0000 (08:59 +0900)]
Remove Werror option. build failed in x86

Change-Id: I387487bd7ddfaa1855db480e8f273344b55fbc4c

7 years agofix invalid format argument types for dlog 12/135112/2 submit/tizen/20170621.064821
Haejeong Kim [Wed, 21 Jun 2017 03:37:21 +0000 (12:37 +0900)]
fix invalid format argument types for dlog

Change-Id: If6227f87c02a8d44020fd665f1ee13da8d3bf415

7 years agoFix packaging 32/135132/1
Minje Ahn [Wed, 21 Jun 2017 05:05:47 +0000 (14:05 +0900)]
Fix packaging

Change-Id: Iab3bee11583b4d87ee1c5b50a0c080b0b9e1cde0
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoChange view query for support external storage 76/133876/2 submit/tizen/20170614.012922
Minje Ahn [Wed, 14 Jun 2017 00:33:06 +0000 (09:33 +0900)]
Change view query for support external storage

Modified to refer to 'media_view' instead of 'media'

Change-Id: I617e4ffac6a5afdd4a711e830723fd088ecd82ca
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years ago[TNEXT-826] Fix stack-buffer-overflow issue 43/133543/2 accepted/tizen/unified/20170613.194136 submit/tizen/20170613.013029
Jiyong Min [Tue, 13 Jun 2017 00:02:06 +0000 (09:02 +0900)]
[TNEXT-826] Fix stack-buffer-overflow issue

Change-Id: I326ccea2160587260e36ea33c2137b1c52545dbe
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoUpdate table query 23/131923/1
Minje Ahn [Wed, 31 May 2017 08:18:57 +0000 (17:18 +0900)]
Update table query

Remove unnecessary options

Change-Id: I561361f8d12015c39db68e6a22845795650982dc
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove r,g,b fields 39/131539/1
Minje Ahn [Tue, 30 May 2017 00:38:49 +0000 (09:38 +0900)]
Remove r,g,b fields

Change-Id: If771f12e785b72bab61898cfc7cec2d8186bcc02
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove index 68/131268/1 accepted/tizen/unified/20170531.082553 submit/tizen/20170526.055809
Minje Ahn [Fri, 26 May 2017 05:24:08 +0000 (14:24 +0900)]
Remove index

Remove title, album, artist index.
because it only use audio type.
Video/Image is always same value

Change-Id: I59b8dd9e4eb59d6f5a6c865d44a71d9b1406e5f5
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove index from media table 82/130982/1
Minje Ahn [Thu, 25 May 2017 02:04:33 +0000 (11:04 +0900)]
Remove index from media table

Remove genre index

Change-Id: Ic988e74993b415d6c0eb9fed120d280df5ca0e29
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove unnecessary parameter 07/130607/1 accepted/tizen/unified/20170531.082425 submit/tizen/20170523.092028
Minje Ahn [Tue, 23 May 2017 06:06:41 +0000 (15:06 +0900)]
Remove unnecessary parameter

Change-Id: I3f5d8c35cc0e7789a9c953488250a600161c5ee6
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove un-called dlopen function 06/130606/1
Minje Ahn [Tue, 23 May 2017 05:58:57 +0000 (14:58 +0900)]
Remove un-called dlopen function

Change-Id: Ib4a389147b68121416a8645fa0203026e35c8c21
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoremove some build option since build fail in x86 16/130316/1 accepted/tizen/unified/20170522.184518 submit/tizen/20170522.021655 submit/tizen/20170522.022319 tizen_4.0.m1_release
Haejeong Kim [Mon, 22 May 2017 02:10:00 +0000 (11:10 +0900)]
remove some build option since build fail in x86

Change-Id: Ibc802470b39ac3e015b152c068572ec0ac191440

7 years agoRemove unused code 59/130159/1 submit/tizen/20170522.012555
Haejeong Kim [Fri, 19 May 2017 08:42:09 +0000 (17:42 +0900)]
Remove unused code

Change-Id: I2d883d274b590c03edbd2e980c631ba9eee0c011

7 years agoRemove default thumbnail handling code 20/130120/2
Haejeong Kim [Fri, 19 May 2017 07:18:57 +0000 (16:18 +0900)]
Remove default thumbnail handling code

Change-Id: Ie30bd18476b2ea020c5f77d47340b437a69358ba

7 years agoRemove thumb_extract_all feature 02/130102/1
Minje Ahn [Fri, 19 May 2017 06:41:34 +0000 (15:41 +0900)]
Remove thumb_extract_all feature

Change-Id: Ic53af7bb15b1dad0c4ac1d3c0e25ccedf0bc3dfa
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoUse Common API in libmedia-util to get User path 39/129939/1 submit/tizen/20170519.020113
Haejeong Kim [Thu, 18 May 2017 11:23:59 +0000 (20:23 +0900)]
Use Common API in libmedia-util to get User path

Change-Id: I5c47f85fc06599b9fe39c3020b7f38afd2852ccb

7 years agoJust add msg for debugging 66/127666/1
Haejeong Kim [Fri, 28 Apr 2017 07:55:55 +0000 (16:55 +0900)]
Just add msg for debugging

Change-Id: I9976a9e476c3e2187fa4b22043e2edb28f3965bc

7 years agoJust add msg for debugging 51/127651/2
Haejeong Kim [Fri, 28 Apr 2017 07:14:11 +0000 (16:14 +0900)]
Just add msg for debugging

Change-Id: I6f59a498b9cbb1b269a5ad3f487870d8280b76d1

7 years agoModify to use vulnerable function 'sscanf' 83/127383/3 accepted/tizen/unified/20170428.033136 submit/tizen/20170427.223501 submit/tizen/20170427.232449
Jiyong Min [Thu, 27 Apr 2017 06:30:54 +0000 (15:30 +0900)]
Modify to use vulnerable function 'sscanf'
(Fix Security Svace issue)

Change-Id: Iea50bdd5c2fc232d46d0629296a994edb994bb28
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoSvace issue fix. use snprintf instead of memcpy 69/127369/1 accepted/tizen/unified/20170427.180232 submit/tizen/20170427.061312
Haejeong Kim [Thu, 27 Apr 2017 05:52:12 +0000 (14:52 +0900)]
Svace issue fix. use snprintf instead of memcpy

Change-Id: I5ba1a8d1fa53284469bfc124f7733dc42fe1b8aa

7 years agochange strncpy to _strncpy_safe 12/127112/1
Haejeong Kim [Wed, 26 Apr 2017 07:52:38 +0000 (16:52 +0900)]
change strncpy to _strncpy_safe

Change-Id: Ibfab9b418ebd65ef7e1ed1934eb2ce5b7faa5351

7 years agoRemove storage account 15/126715/2
Minje Ahn [Tue, 25 Apr 2017 02:18:10 +0000 (11:18 +0900)]
Remove storage account

Change-Id: I8862711247525943b1f0337dae4c58b240d48ff4
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove unused code 83/126383/1 accepted/tizen/unified/20170425.044927 submit/tizen/20170424.020830
Minje Ahn [Fri, 21 Apr 2017 06:55:46 +0000 (15:55 +0900)]
Remove unused code

Remove code related cloud storage

Change-Id: I1ecc917bc597c9305311ef1cc7359372d03377e3
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove unused code 12/125012/2 accepted/tizen/unified/20170418.072746 submit/tizen/20170418.052230
Minje Ahn [Thu, 13 Apr 2017 09:46:32 +0000 (18:46 +0900)]
Remove unused code

Remove some index and code

Change-Id: I45013235225d3371c34a1cbadc48654a227aee4b
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoJust change color of log 75/125575/2 accepted/tizen/unified/20170418.072649 submit/tizen/20170418.052001
Haejeong Kim [Tue, 18 Apr 2017 05:00:57 +0000 (14:00 +0900)]
Just change color of log

Change-Id: Iee87a0ad937185869abd1609fd5eee227c5c71de

7 years agoUse standard license name. public domain -> PD 86/124886/1 accepted/tizen/unified/20170413.164237 submit/tizen/20170413.033855
Haejeong Kim [Thu, 13 Apr 2017 02:11:46 +0000 (11:11 +0900)]
Use standard license name. public domain -> PD

Change-Id: I3a6b8bf4d06f155f5d169023eb5ca604971727a3

7 years agoSvace issue fix. change strncat to g_strlcat and some code clean up. 80/124880/2
Haejeong Kim [Thu, 13 Apr 2017 01:47:20 +0000 (10:47 +0900)]
Svace issue fix. change strncat to g_strlcat and some code clean up.

Change-Id: I802cd6016f8be9f3029b8d7a49fdfbfe07a92ad3

7 years agoDefine MEDIA_SVC_QUERY_LEN_NORMAL and replace some code to it 01/124401/2
Haejeong Kim [Tue, 11 Apr 2017 08:21:38 +0000 (17:21 +0900)]
Define MEDIA_SVC_QUERY_LEN_NORMAL and replace some code to it

Change-Id: Idf44000b715dec175cc2354a50e478adb0955db6

7 years agoReplace sqlite3_free() to SQLITE3_SAFE_FREE 80/124380/1
Haejeong Kim [Tue, 11 Apr 2017 07:41:34 +0000 (16:41 +0900)]
Replace sqlite3_free() to SQLITE3_SAFE_FREE

Change-Id: I0296bb2119146e1ee26334f04d0ec52052dbd19a

7 years agoAdd MEDIA_SVC_QUERY_LEN_MAX and replace ole one to it. and fix some wrong logic 54/124354/1
Haejeong Kim [Tue, 11 Apr 2017 07:16:46 +0000 (16:16 +0900)]
Add MEDIA_SVC_QUERY_LEN_MAX and replace ole one to it. and fix some wrong logic

Change-Id: I4fe3a9635370817744e3f38b9cfa2d2240215c24

7 years agoSvace issue fix 34/124334/1
Haejeong Kim [Tue, 11 Apr 2017 06:50:27 +0000 (15:50 +0900)]
Svace issue fix

Change-Id: I90ca3ec77156c77849c7256b608014951309e91f

7 years agoAdd name field in bookmark table and change user_version from 5 to 6 90/121590/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170330.151644 accepted/tizen/ivi/20170330.224605 accepted/tizen/mobile/20170330.224455 accepted/tizen/tv/20170330.224533 accepted/tizen/unified/20170330.224629 accepted/tizen/wearable/20170330.224549 submit/tizen/20170330.015416
Haejeong Kim [Tue, 28 Mar 2017 09:25:01 +0000 (18:25 +0900)]
Add name field in bookmark table and change user_version from 5 to 6

Change-Id: I5bf22b80b1173b08417ddd8751dde5c421b98bb1

7 years agoMerge "Add rotate for video meta" into tizen
hj kim [Tue, 28 Mar 2017 06:59:58 +0000 (23:59 -0700)]
Merge "Add rotate for video meta" into tizen

7 years agoUse license macro in spec file 89/120489/1 accepted/tizen/common/20170323.154441 accepted/tizen/ivi/20170323.085126 accepted/tizen/mobile/20170323.085036 accepted/tizen/tv/20170323.085052 accepted/tizen/unified/20170323.085145 accepted/tizen/wearable/20170323.085107 submit/tizen/20170323.063443
Haejeong Kim [Thu, 23 Mar 2017 06:05:11 +0000 (15:05 +0900)]
Use license macro in spec file

Change-Id: I3bffe3d1f3af0432ea89e1fb5d0fca31d53cda1e

7 years agoModify to compare value and the default 17/120317/3 accepted/tizen/ivi/20170323.084536 accepted/tizen/mobile/20170323.084449 accepted/tizen/tv/20170323.084505 accepted/tizen/unified/20170323.084554 accepted/tizen/wearable/20170323.084522 submit/tizen/20170323.004843
Jiyong Min [Wed, 22 Mar 2017 08:54:32 +0000 (17:54 +0900)]
Modify to compare value and the default

 [Problem] The album art in 'album' table was not inserted.
- After the default was changed to empty string, the strlen is zero.
And 'strncmp' did not compare value and the default.
The empty string and value should be compare with 'g_strcmp0'.

Change-Id: I44e85bfd428c8058298658f1b5f0c13482c39ff6
Signed-off-by: jiyong.min <jiyong.min@samsung.com>
7 years agoAdd rotate for video meta 48/119748/2
Minje Ahn [Mon, 20 Mar 2017 04:27:58 +0000 (13:27 +0900)]
Add rotate for video meta

Change-Id: Ia7a21d6c8b97a7e4e98f9c608c74d98f6e2800af
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoUpdate default value in metadata 22/118122/3 accepted/tizen/common/20170309.175549 accepted/tizen/ivi/20170310.031853 accepted/tizen/mobile/20170310.031742 accepted/tizen/tv/20170310.031818 accepted/tizen/unified/20170313.080125 accepted/tizen/wearable/20170310.031837 submit/tizen/20170309.081455 submit/tizen_unified/20170310.011402 submit/tizen_unified/20170313.075707
Minje Ahn [Thu, 9 Mar 2017 01:30:27 +0000 (10:30 +0900)]
Update default value in metadata

Change "Unkown" to empty string

Change-Id: I09e4229ae2a98195ae3f9721521821e24fc2bdde
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoUpdate get_path functions 70/111970/2 accepted/tizen/common/20170221.135224 accepted/tizen/ivi/20170221.225709 accepted/tizen/mobile/20170221.225623 accepted/tizen/tv/20170221.225642 accepted/tizen/unified/20170309.033220 accepted/tizen/wearable/20170221.225655 submit/tizen/20170221.063812 submit/tizen_unified/20170308.100408
Minje Ahn [Wed, 25 Jan 2017 07:23:48 +0000 (16:23 +0900)]
Update get_path functions

use tzplatform API instead of grp(pwd) API

Change-Id: Id307b1a3279d606e5ca7ccb8972c5b5138b8bf7a
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoRemove unused code 75/109875/1
Minje Ahn [Thu, 12 Jan 2017 06:10:02 +0000 (15:10 +0900)]
Remove unused code

No need the code for create thumbnail directories

Change-Id: I70fc85123955684c35d9f3804723aa002d6be047
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoSync with tizen_3.0 patch 11/108811/2 accepted/tizen/common/20170109.202354 accepted/tizen/ivi/20170109.084247 accepted/tizen/mobile/20170109.084151 accepted/tizen/tv/20170109.084212 accepted/tizen/wearable/20170109.084231 submit/tizen/20170108.233237
Minje Ahn [Fri, 6 Jan 2017 01:36:22 +0000 (10:36 +0900)]
Sync with tizen_3.0 patch

Change-Id: I115ed2acf5c9ba35de95432f95660110127db06c
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoAdd parameter for getting user path 04/104604/2 accepted/tizen/common/20161216.124417 accepted/tizen/ivi/20161216.083021 accepted/tizen/mobile/20161216.082930 accepted/tizen/tv/20161216.082952 accepted/tizen/wearable/20161216.083006 submit/tizen/20161216.040950
Minje Ahn [Tue, 13 Dec 2016 11:36:47 +0000 (20:36 +0900)]
Add parameter for getting user path

Change-Id: I5ea88c81810702b7441a32695cf42426cec99a68
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
7 years agoSupport USB folder update request 62/103962/1 accepted/tizen/common/20161214.160253 accepted/tizen/ivi/20161214.015236 accepted/tizen/mobile/20161214.014608 accepted/tizen/tv/20161214.015003 accepted/tizen/wearable/20161214.015213 submit/tizen/20161213.083228
Minje Ahn [Mon, 12 Dec 2016 01:06:36 +0000 (10:06 +0900)]
Support USB folder update request

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

7 years agoAdd missing fix, modified with commit: 33399e5cc7be4cc9d85a9082181203725be05d8e 31/103131/1 accepted/tizen/common/20161208.135248 accepted/tizen/ivi/20161208.013120 accepted/tizen/mobile/20161208.013028 accepted/tizen/tv/20161208.013056 accepted/tizen/wearable/20161208.013108 submit/tizen/20161207.232858
Jiyong Min [Wed, 7 Dec 2016 09:55:45 +0000 (18:55 +0900)]
Add missing fix, modified with commit: 33399e5cc7be4cc9d85a9082181203725be05d8e

Change-Id: I803fc03a43f754a248c13816fc2d09488b0049dc
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoAdd get_media_type for scanner v2 65/101665/1
Jiyong Min [Fri, 2 Dec 2016 00:11:13 +0000 (09:11 +0900)]
Add get_media_type for scanner v2

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

7 years agoapply new path for the disc 82/98282/1 accepted/tizen/common/20161122.192755 accepted/tizen/ivi/20161122.235912 accepted/tizen/mobile/20161122.235706 accepted/tizen/tv/20161122.235749 accepted/tizen/wearable/20161122.235829 submit/tizen/20161122.044017
Minje Ahn [Thu, 17 Nov 2016 02:16:07 +0000 (11:16 +0900)]
apply new path for the disc

Change-Id: Ia49f4f6a0b21dfbaa9cf806c671fed8efefa1da7
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
8 years ago_media_svc_get_all_folders: check array size 94/83494/3 accepted/tizen/common/20161025.155146 accepted/tizen/common/20161109.140235 accepted/tizen/ivi/20161109.002823 accepted/tizen/mobile/20161109.002448 accepted/tizen/tv/20161109.002647 accepted/tizen/wearable/20161109.002740 submit/tizen/20161025.104308 submit/tizen/20161108.054351 submit/tizen_3.0_common/20161104.104000
Yury Usishchev [Mon, 25 Jul 2016 14:55:33 +0000 (17:55 +0300)]
_media_svc_get_all_folders: check array size

Change-Id: Id20b9eb2cd852129ba8d8e4e9f97bf2fbf1835ab
Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
8 years agoFix memory leak 33/92833/1 accepted/tizen/3.0/ivi/20161028.133909 accepted/tizen/3.0/mobile/20161028.133007 accepted/tizen/3.0/tv/20161028.133328 accepted/tizen/3.0/wearable/20161028.133630 accepted/tizen/common/20161019.145752 accepted/tizen/ivi/20161019.141556 accepted/tizen/mobile/20161019.141425 accepted/tizen/tv/20161019.141503 accepted/tizen/wearable/20161019.141530 submit/tizen/20161019.084351 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.082423
Minje Ahn [Wed, 19 Oct 2016 03:33:40 +0000 (12:33 +0900)]
Fix memory leak

Change-Id: Ie1e633404b48a0fcd83200d88034cd38da3d9e91
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
8 years agoFix bug: some triggers are missed 82/90682/1 accepted/tizen/3.0/mobile/20161015.033546 accepted/tizen/3.0/tv/20161016.004855 accepted/tizen/3.0/wearable/20161015.083309 accepted/tizen/common/20161005.165537 accepted/tizen/ivi/20161007.003933 accepted/tizen/mobile/20161007.003718 accepted/tizen/tv/20161007.003824 accepted/tizen/wearable/20161007.003901 submit/tizen/20161005.055916 submit/tizen_3.0_mobile/20161015.000003 submit/tizen_3.0_tv/20161015.000003 submit/tizen_3.0_wearable/20161015.000003
Minje Ahn [Mon, 3 Oct 2016 23:31:37 +0000 (08:31 +0900)]
Fix bug: some triggers are missed

Change-Id: Iac7933548dd666286ebae35a01fb1068f98c17b0
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
8 years agoModify recorded_date conversion for data overflow 47/89947/3 accepted/tizen/3.0/ivi/20161011.044414 accepted/tizen/common/20160928.163916 accepted/tizen/ivi/20160930.040737 accepted/tizen/mobile/20160930.040403 accepted/tizen/tv/20160930.040547 accepted/tizen/wearable/20160930.040645 submit/tizen/20160928.043825 submit/tizen_3.0_ivi/20161010.000003
Jiyong Min [Tue, 27 Sep 2016 23:37:10 +0000 (08:37 +0900)]
Modify recorded_date conversion for data overflow

 - PROBLEM
 64byte array will make data overflow when p(tag) is over 64 byte.

[version] 0.2.83
[solution] Remove fixed size array and replace it to memory allocation

Change-Id: I8d7f3b5b496abaf822dad7df15d10c7473a9d4c1
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
8 years agoModify user_version of is_360 column 74/87974/1
Jiyong Min [Mon, 12 Sep 2016 10:48:30 +0000 (19:48 +0900)]
Modify user_version of is_360 column

 - PROBLEM
When media.db was kept by fota upgrade, the is_360 column is not exist.
The user_version of is_360 is not matched with updated version.

[Solution] The user_version of is_360 is changed to 3.0 version.

Change-Id: Ic635929780b7cc3027da4b665d68381e7537216a
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
8 years agoMerge "Add new header for image-utility internal API" into tizen accepted/tizen/common/20160909.114743 accepted/tizen/ivi/20160909.062505 accepted/tizen/mobile/20160909.062413 accepted/tizen/tv/20160909.062425 accepted/tizen/wearable/20160909.062446 submit/tizen/20160909.003012
Jiyong Min [Thu, 8 Sep 2016 05:56:06 +0000 (22:56 -0700)]
Merge "Add new header for image-utility internal API" into tizen

8 years agoIgnore query when conflict occur 94/87394/1
Minje Ahn [Thu, 8 Sep 2016 00:42:25 +0000 (09:42 +0900)]
Ignore query when conflict occur

Change-Id: I4cee4cf2e1ed3ac5f4f13d0c9b3596f053a676e2
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
8 years agoRemove folder_name from unique group in folder table 93/87393/1
Minje Ahn [Thu, 8 Sep 2016 00:12:03 +0000 (09:12 +0900)]
Remove folder_name from unique group in folder table

Change-Id: Ica5eb1464ce8d1b94c766aea5158d559f4b78a28
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
8 years agoAdd new header for image-utility internal API 26/87326/1
Jiyong Min [Wed, 7 Sep 2016 10:31:15 +0000 (19:31 +0900)]
Add new header for image-utility internal API

Change-Id: Ic6f4e61a44cb78be9ed5dfb85dc1f08dd7c52ead
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
8 years agoInsert basic info when meta size over 8k 45/85945/2 accepted/tizen/common/20160831.162140 accepted/tizen/ivi/20160901.065315 accepted/tizen/mobile/20160901.065059 accepted/tizen/tv/20160901.065149 accepted/tizen/wearable/20160901.065228 submit/tizen/20160831.052250
Minje Ahn [Mon, 29 Aug 2016 23:38:42 +0000 (08:38 +0900)]
Insert basic info when meta size over 8k

Change-Id: I35f6a370709dca416e0a5db8c06917ded10ea7c3
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
8 years agoFix bug : Add process for 8k over single query, 360 contents issue 89/85589/3
Minje Ahn [Fri, 26 Aug 2016 04:23:39 +0000 (13:23 +0900)]
Fix bug : Add process for 8k over single query, 360 contents issue

Change-Id: I339d3d8448267f1adb3868f6dd79013baf7e3779
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
8 years agoMerge "Remove ini parser" into tizen accepted/tizen/common/20160818.144406 accepted/tizen/ivi/20160818.231829 accepted/tizen/mobile/20160818.231656 accepted/tizen/tv/20160818.231800 accepted/tizen/wearable/20160818.231716 submit/tizen/20160818.052348
Jiyong Min [Thu, 18 Aug 2016 03:41:34 +0000 (20:41 -0700)]
Merge "Remove ini parser" into tizen

8 years agoRemove ini parser 94/84294/2
Minje Ahn [Thu, 18 Aug 2016 02:05:15 +0000 (11:05 +0900)]
Remove ini parser

Change-Id: I233710cc8fe37051d132f803b2233f66b84448dc
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
8 years agoFix that artwork did not resize 00/84200/2
Jiyong Min [Wed, 17 Aug 2016 08:50:32 +0000 (17:50 +0900)]
Fix that artwork did not resize

Change-Id: I9351c627577b0a6d5be2d4d96a9ac50225e15ead
Signed-off-by: jiyong min <jiyong.min@samsung.com>
8 years agoMerge branch 'tizen' of ssh://review.tizen.org:29418/platform/core/multimedia/libmedi... 44/84144/1
Minje Ahn [Wed, 17 Aug 2016 04:29:42 +0000 (13:29 +0900)]
Merge branch 'tizen' of ssh://review.tizen.org:29418/platform/core/multimedia/libmedia-service into tizen

Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Conflicts:
src/common/media-svc-util.c

Change-Id: Id5926f0a5bfaf1e97f2a113060f8643886260fa5

8 years agoApply tizen coding rule 42/84142/1
Minje Ahn [Wed, 17 Aug 2016 04:23:12 +0000 (13:23 +0900)]
Apply tizen coding rule

Change-Id: I3cc2b998939467353c981a406b904338b412a0be
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
8 years agoRemove build warning for deprecated API 14/84114/4
Jiyong Min [Tue, 16 Aug 2016 23:39:18 +0000 (08:39 +0900)]
Remove build warning for deprecated API

Change-Id: Ifee2398fa7dfe833125a980b94f199742adf6216
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
8 years agoAdd some API and Fix remove folder query 89/83189/1 submit/tizen/20160812.084807
Minje Ahn [Tue, 9 Aug 2016 10:20:26 +0000 (19:20 +0900)]
Add some API and Fix remove folder query

Change-Id: Ib48ac2bb65076661d7b4ac319bbf38845a0d9b7c
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
8 years agoUpdate the query when removing invalid folder 19/82119/1 accepted/tizen/common/20160805.130132 accepted/tizen/ivi/20160808.081140 accepted/tizen/mobile/20160808.080752 accepted/tizen/tv/20160808.080948 accepted/tizen/wearable/20160808.081053 submit/tizen/20160805.054353
Minje Ahn [Mon, 1 Aug 2016 00:11:42 +0000 (09:11 +0900)]
Update the query when removing invalid folder

Change-Id: Id2ce5587371d848a3eca518f64eaed0ab8450cf0
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
8 years agoAdd patch(uhd, pvr table, and bug fix, etc) 26/79626/2 accepted/tizen/common/20160719.172013 accepted/tizen/ivi/20160718.104842 accepted/tizen/mobile/20160718.104916 accepted/tizen/tv/20160718.104655 accepted/tizen/wearable/20160718.104802 submit/tizen/20160718.052709
Minje Ahn [Tue, 12 Jul 2016 06:16:02 +0000 (15:16 +0900)]
Add patch(uhd, pvr table, and bug fix, etc)

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