}
}
- if ( MEDIA_CONTENT_ERROR_NONE == media_info_get_display_name(info, &tmpStr) )
+ if ( newMedia->getMediaType().compare("IMAGE") == 0
+ && MEDIA_CONTENT_ERROR_NONE == media_info_get_display_name(info, &tmpStr) )
{
if (tmpStr)
{
}
}
+ if ( MEDIA_CONTENT_ERROR_NONE == video_meta_get_title(video, &tmpStr) )
+ {
+ if( tmpStr )
+ {
+ newVideo->setDisplayName(tmpStr);
+ LogDebug(" Video Title. " << tmpStr);
+ free(tmpStr);
+ tmpStr = NULL;
+ }
+ }
+
if ( MEDIA_CONTENT_ERROR_NONE == video_meta_get_artist(video, &tmpStr) )
{
if ( tmpStr)
}
}
+ if ( MEDIA_CONTENT_ERROR_NONE == audio_meta_get_title(audio, &tmpStr) )
+ {
+ if (tmpStr)
+ {
+ newAudio->setDisplayName(tmpStr);
+ LogDebug("Audio Title : " << tmpStr);
+ free(tmpStr);
+ tmpStr = NULL;
+ }
+ }
+
if ( MEDIA_CONTENT_ERROR_NONE == audio_meta_get_album(audio, &tmpStr) )
{
if (tmpStr)
{
LogDebug("limit or offset");
- int count = -1;
- int offset = 0;
+ long count = -1;
+ long offset = 0;
if ( eBrowse->getLimitIsSet() )
{