Self-Compile - Where to find timeline code?
#1
Question 
Hi,
I'm making a few tweaks to code, mainly just to satisfy my own requirements as we use XBMC as our main TV viewer with TVHeadend as the back-end, so my family have a few demands on how it all works!

One major change I need to make, we use the Timeline view (via a shortcut on the remote), and I need it to display the channels regardless of if there is EPG information or not (basically so the Timeline view is always in the same order).

Where in the code can I find the Timeline that has that IF condition?
I know in the normal channel view it just shows "No information available" when no EPG information exists for that channel at that time, so looking backwards I know thats via string id 19055:
Code:
strings.xml:  <string id="19055">No information available</string>


So searching backwards I've found:
Code:
xbmc/pvr/PVRGUIInfo.cpp:      m_strBackendDiskspace = g_localizeStrings.Get(19055);
xbmc/pvr/PVRManager.cpp:      musictag->SetTitle(epgTagNow ? epgTagNow->Title() : g_localizeStrings.Get(19055));
xbmc/pvr/PVRManager.cpp:      videotag->m_strTitle = epgTagNow ? epgTagNow->Title() : g_localizeStrings.Get(19055);
xbmc/GUIInfoManager.cpp:      return tag ? tag->Title() : g_localizeStrings.Get(19055);
xbmc/GUIInfoManager.cpp:      return tag->GetEPGNow() ? tag->GetEPGNow()->Title() : g_localizeStrings.Get(19055);
xbmc/GUIInfoManager.cpp:      return tag->GetEPGNext() ? tag->GetEPGNext()->Title() : g_localizeStrings.Get(19055);
xbmc/GUIInfoManager.cpp:      return item->GetPVRChannelInfoTag()->GetEPGNow() ? item->GetPVRChannelInfoTag()->GetEPGNow()->Title() : g_localizeStrings.Get(19055);
xbmc/epg/EpgInfoTag.cpp:      g_localizeStrings.Get(19055) :


But I'm struggling to find where the Timeline view gets built and the EPG data assembled for that view.

Can anyone give any hints/ideas where I need to be looking for the condition so I can make a few tweaks and override it so it forces the display even when no EPG data is found.
Reply


Messages In This Thread
Self-Compile - Where to find timeline code? - by andyb2000 - 2011-11-26, 13:54
[No subject] - by xxxnelly - 2011-11-26, 13:59
[No subject] - by FernetMenta - 2011-11-26, 15:31
[No subject] - by andyb2000 - 2011-11-26, 17:57
[No subject] - by andyb2000 - 2011-11-27, 12:40
[No subject] - by FernetMenta - 2011-11-27, 14:32
[No subject] - by andyb2000 - 2011-11-27, 17:37
[No subject] - by FernetMenta - 2011-11-27, 19:06
[No subject] - by Swifty - 2011-11-28, 02:35
[No subject] - by andyb2000 - 2011-11-28, 20:09
[No subject] - by andyb2000 - 2012-01-27, 18:35
I'm no expert - by amitn - 2012-01-28, 17:59
Logout Mark Read Team Forum Stats Members Help
Self-Compile - Where to find timeline code?0