moviebrowser: workaround fix for delete fileinfo from gui list wit epginfo1 with whitespace

Origin commit data
------------------
Branch: ni/coolstream
Commit: b5a43177a7
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2018-09-22 (Sat, 22 Sep 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2018-09-22 20:47:04 +02:00
committed by vanhofen
parent e108be4e92
commit e41ea4b48b

View File

@@ -2572,7 +2572,7 @@ bool CMovieBrowser::onDeleteFile(MI_MOVIE_INFO *movieinfo, bool skipAsk)
if (
mi_it->file.Name == movieinfo->file.Name
&& mi_it->epgTitle == movieinfo->epgTitle
&& mi_it->epgInfo1 == movieinfo->epgInfo1
&& ( mi_it->epgInfo1 == movieinfo->epgInfo1 || (mi_it->epgInfo1 == " " && movieinfo->epgInfo1.empty()) ) //FIXME if movieinfo->epgInfo1 is empty, epgInfo1 in xml have whitespace
&& mi_it->length == movieinfo->length
)
m_vMovieInfo.erase(mi_it--);