MC_CONTENT_TYPE_MUSIC,
MC_CONTENT_TYPE_OTHER};
-mc_search_category_e g_eSearchCategoryArray[] = {MC_SEARCH_NO_CATEGORY,
- MC_SEARCH_TITLE,
+mc_search_category_e g_eSearchCategoryArray[] = {MC_SEARCH_TITLE,
MC_SEARCH_ARTIST,
MC_SEARCH_ALBUM,
MC_SEARCH_GENRE,
g_CallBackHit = true;
QuitGmainLoop();
- return;
+ return false;
}
/**
CHECK_HANDLE_NONE(g_hMcClient, "mc_client_create");
nRet = mc_search_create(&g_hMcSearch);
- PRINT_RESULT(MEDIA_CONTROLLER_ERROR_NONE, nRet, "mc_search_create", MediaControllerGetError(nRet));
- CHECK_HANDLE(g_hMcSearch, "mc_search_create");
+ PRINT_RESULTNONE(MEDIA_CONTROLLER_ERROR_NONE, nRet, "mc_search_create", MediaControllerGetError(nRet));
+ CHECK_HANDLE_NONE(g_hMcSearch, "mc_search_create");
g_bMediaControllerCreation = true;
for ( int nContentTypeCounter = 0; nContentTypeCounter < nContentTypeSize; nContentTypeCounter++ )
{
- for ( int nSearchCategoryCounter = 1; nSearchCategoryCounter < nSearchCategorySize; nSearchCategoryCounter++ )
+ for ( int nSearchCategoryCounter = 0; nSearchCategoryCounter < nSearchCategorySize; nSearchCategoryCounter++ )
{
nRet = mc_search_set_condition(g_hMcSearch, g_eContentTypeArray[nContentTypeCounter], g_eSearchCategoryArray[nSearchCategoryCounter], g_TestKeywords[nSearchCategoryCounter], NULL);
PRINT_RESULT(MEDIA_CONTROLLER_ERROR_NONE, nRet, "mc_search_set_condition", MediaControllerGetError(nRet));
CHECK_HANDLE_NONE(g_hMcClient, "mc_client_create");
nRet = mc_search_create(&g_hMcSearch);
- PRINT_RESULT(MEDIA_CONTROLLER_ERROR_NONE, nRet, "mc_search_create", MediaControllerGetError(nRet));
- CHECK_HANDLE(g_hMcSearch, "mc_search_create");
+ PRINT_RESULTNONE(MEDIA_CONTROLLER_ERROR_NONE, nRet, "mc_search_create", MediaControllerGetError(nRet));
+ CHECK_HANDLE_NONE(g_hMcSearch, "mc_search_create");
g_bMediaControllerCreation = true;