Skip to content
Snippets Groups Projects
Commit a2c2011a authored by Duncan McNamara's avatar Duncan McNamara
Browse files

Revert "MediaWrapper: fix issue with smb title being empty"

This reverts commit 1cf5481d.

This commit is based on 82936d22 which is being reverted for causing
issues when displaying network share titles
parent 17859359
No related branches found
No related tags found
1 merge request!1665Bump lib versions: removing java medialibrary troublesome fixes
......@@ -394,7 +394,7 @@ public abstract class MediaWrapper extends MediaLibraryItem implements Parcelabl
private String updateTitleMeta(IMedia media) {
String libvlcTitle = getMetaId(media, mTitle, Media.Meta.Title, true);
String fileName = getFileName();
if (TextUtils.isEmpty(fileName) || fileName.equals(libvlcTitle))
if (!TextUtils.isEmpty(libvlcTitle) && !TextUtils.isEmpty(fileName) && !libvlcTitle.equals(fileName))
return libvlcTitle;
return getTitle();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment