Merge media tables on TV profile 66/313566/5 accepted/tizen/unified/20240704.075710 accepted/tizen/unified/dev/20240708.001537 accepted/tizen/unified/x/20240705.012407
authorMinje Ahn <minje.ahn@samsung.com>
Fri, 28 Jun 2024 00:32:27 +0000 (09:32 +0900)
committerHaejeong kim <backto.kim@samsung.com>
Wed, 3 Jul 2024 09:17:39 +0000 (09:17 +0000)
commit89c0e898644a8d0555775199329c645686a5acd4
tree3119c65aa6fde2bdb4b4f83b7aa089967a6f359c
parent3a2b0d4962851c2bfdf8e37a5773a7fd875fc027
Merge media tables on TV profile

This patch brings the following changes:
 1. Media information from external storage is inserted into the media table.
 2. According to 1., 'media_view' and related codes are deleted.
 3. Tables are no longer created or deleted during runtime.
 4. When a new external storage is inserted, information about the old external storage is deleted.
 5. According to 4., db storage space check is deleted.

Change-Id: I56d25b9f8f02b5bf5c6ebf292de617a269e73874
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
15 files changed:
Makefile.am
packaging/media-server.spec
src/common/include/media-common-db-svc.h
src/common/include/media-common-types.h
src/common/include/media-common-utils.h
src/common/media-common-db-svc.c
src/common/media-common-utils-tv.c
src/scanner-v2/include/media-scanner-db-manage-v2.h [deleted file]
src/scanner-v2/media-scanner-db-manage-v2.c [deleted file]
src/scanner-v2/media-scanner-extract-v2.c
src/scanner-v2/media-scanner-scan-v2.c
src/server/include/media-server-db-manage.h
src/server/media-server-db-manage.c
src/server/media-server-device-block.c
src/server/media-server-main.c