Name: media-server
Summary: A server for media content management
-Version: 0.3.11
+Version: 0.3.12
Release: 0
Group: Multimedia/Service
License: Apache-2.0
mkdir -p %{buildroot}%{_unitdir}/multi-user.target.wants
install -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/media-server.service
+%if !0%{?product_tv}
mkdir -p %{buildroot}%{_unitdir_user}
install -m 644 %{SOURCE2} %{buildroot}%{_unitdir_user}/media-server-user.service
install -m 644 %{SOURCE3} %{buildroot}%{_unitdir_user}/media-server-user.path
+%endif
%if "%{?profile}" == "mobile"
install -m 644 %{SOURCE4} %{buildroot}%{_unitdir}/media-server.path
%else
%else
%{_unitdir}/multi-user.target.wants/media-server.service
%endif
+%if !0%{?product_tv}
%{_unitdir_user}/media-server-user.service
%{_unitdir_user}/media-server-user.path
+%endif
/etc/multimedia/media_content_config.ini
/etc/multimedia/media-server-plugin
/etc/gumd/useradd.d/30_media-server-add.post
int (*svc_connect) (void ** handle, uid_t uid, char ** err_msg);
int (*svc_disconnect) (void * handle, char ** err_msg);
int (*svc_check_db) (void * handle, uid_t uid, char ** err_msg);
-int (*svc_get_storage_id) (void * handle, const char *path, char *storage_id, uid_t uid, char ** err_msg);
+int (*svc_get_storage_id) (void * handle, const char *path, char *storage_id, char ** err_msg);
int (*svc_get_mmc_info) (void * handle, char **storage_name, char **storage_path, int *validity, bool *info_exist, char **err_msg);
int (*svc_insert_storage) (void *handle, const char *storage_id, int storage_type, const char *storage_name, const char *storage_path, uid_t uid, char **err_msg);
int (*svc_delete_storage) (void * handle, const char *storage_id, const char *storage_name, uid_t uid, char **err_msg);
return -1;
}
- ret = svc_get_storage_id(db_handle, path, storage_id, uid, &err_msg);
+ ret = svc_get_storage_id(db_handle, path, storage_id, &err_msg);
if (ret < 0) {
printf("Error svc_get_storage_id\n");
dlclose(funcHandle);