projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
47571bf
)
[pvr] CFileItem: fallback to channel icon if epg icon is empty
author
xhaggi
<sascha.woo@gmail.com>
Tue, 3 Dec 2013 22:02:06 +0000
(23:02 +0100)
committer
xhaggi
<sascha.woo@gmail.com>
Tue, 3 Dec 2013 22:02:06 +0000
(23:02 +0100)
xbmc/FileItem.cpp
patch
|
blob
|
history
diff --git
a/xbmc/FileItem.cpp
b/xbmc/FileItem.cpp
index
f734222
..
6a80645
100644
(file)
--- a/
xbmc/FileItem.cpp
+++ b/
xbmc/FileItem.cpp
@@
-151,6
+151,8
@@
CFileItem::CFileItem(const CEpgInfoTag& tag)
if (!tag.Icon().empty())
SetIconImage(tag.Icon());
if (!tag.Icon().empty())
SetIconImage(tag.Icon());
+ else if (tag.HasPVRChannel() && !tag.ChannelTag()->IconPath().empty())
+ SetIconImage(tag.ChannelTag()->IconPath());
FillInMimeType(false);
}
FillInMimeType(false);
}