projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da0989b
)
Merge pull request #4454 from ronie/mvid-track
author
jmarshallnz
<jcmarsha@gmail.com>
Sat, 22 Mar 2014 20:19:06 +0000
(09:19 +1300)
committer
Trent Nelson
<trent.a.b.nelson@gmail.com>
Mon, 24 Mar 2014 17:01:08 +0000
(11:01 -0600)
make musicvideo tracknumber available to skins
xbmc/GUIInfoManager.cpp
patch
|
blob
|
history
diff --git
a/xbmc/GUIInfoManager.cpp
b/xbmc/GUIInfoManager.cpp
index
236f66f
..
7cada78
100644
(file)
--- a/
xbmc/GUIInfoManager.cpp
+++ b/
xbmc/GUIInfoManager.cpp
@@
-4466,7
+4466,8
@@
CStdString CGUIInfoManager::GetItemLabel(const CFileItem *item, int info, CStdSt
CStdString track;
if (item->HasMusicInfoTag())
track = StringUtils::Format("%i", item->GetMusicInfoTag()->GetTrackNumber());
-
+ if (item->HasVideoInfoTag() && item->GetVideoInfoTag()->m_iTrack > -1 )
+ track = StringUtils::Format("%i", item->GetVideoInfoTag()->m_iTrack);
return track;
}
case LISTITEM_DISC_NUMBER: