11 #include "addons/kodi-dev-kit/include/kodi/c-api/addon-instance/pvr/pvr_channels.h" 12 #include "guilib/guiinfo/GUIInfoProvider.h" 13 #include "pvr/addons/PVRClients.h" 14 #include "pvr/guilib/guiinfo/PVRGUITimerInfo.h" 15 #include "pvr/guilib/guiinfo/PVRGUITimesInfo.h" 16 #include "threads/CriticalSection.h" 17 #include "threads/Thread.h" 39 struct PVRChannelNumberInputChangedEvent;
40 struct PVRPreviewAndPlayerShowInfoChangedEvent;
55 void Notify(
const PVREvent& event);
70 bool InitCurrentItem(
CFileItem* item)
override;
71 bool GetLabel(std::string& value,
75 std::string* fallback)
const override;
76 bool GetFallbackLabel(std::string& value,
80 std::string* fallback)
override;
81 bool GetInt(
int& value,
85 bool GetBool(
bool& value,
91 void ResetProperties();
95 void Process()
override;
97 void UpdateTimersCache();
98 void UpdateBackendCache();
99 void UpdateQualityData();
100 void UpdateDescrambleData();
102 void UpdateNextTimer();
103 void UpdateTimeshiftData();
104 void UpdateTimeshiftProgressData();
106 void UpdateTimersToggle();
108 bool GetListItemAndPlayerLabel(
const CFileItem* item,
110 std::string& strValue)
const;
113 std::string& strValue)
const;
114 bool GetRadioRDSLabel(
const CFileItem* item,
116 std::string& strValue)
const;
118 bool GetListItemAndPlayerInt(
const CFileItem* item,
124 int GetTimeShiftSeekPercent()
const;
126 bool GetListItemAndPlayerBool(
const CFileItem* item,
132 bool GetRadioRDSBool(
const CFileItem* item,
136 void CharInfoBackendNumber(std::string& strValue)
const;
137 void CharInfoTotalDiskSpace(std::string& strValue)
const;
138 void CharInfoSignal(std::string& strValue)
const;
139 void CharInfoSNR(std::string& strValue)
const;
140 void CharInfoBER(std::string& strValue)
const;
141 void CharInfoUNC(std::string& strValue)
const;
142 void CharInfoFrontendName(std::string& strValue)
const;
143 void CharInfoFrontendStatus(std::string& strValue)
const;
144 void CharInfoBackendName(std::string& strValue)
const;
145 void CharInfoBackendVersion(std::string& strValue)
const;
146 void CharInfoBackendHost(std::string& strValue)
const;
147 void CharInfoBackendDiskspace(std::string& strValue)
const;
148 void CharInfoBackendProviders(std::string& strValue)
const;
149 void CharInfoBackendChannelGroups(std::string& strValue)
const;
150 void CharInfoBackendChannels(std::string& strValue)
const;
151 void CharInfoBackendTimers(std::string& strValue)
const;
152 void CharInfoBackendRecordings(std::string& strValue)
const;
153 void CharInfoBackendDeletedRecordings(std::string& strValue)
const;
154 void CharInfoPlayingClientName(std::string& strValue)
const;
155 void CharInfoEncryption(std::string& strValue)
const;
156 void CharInfoService(std::string& strValue)
const;
157 void CharInfoMux(std::string& strValue)
const;
158 void CharInfoProvider(std::string& strValue)
const;
168 bool m_bHasTVRecordings;
169 bool m_bHasRadioRecordings;
170 unsigned int m_iCurrentActiveClient;
171 std::string m_strPlayingClientName;
172 std::string m_strBackendName;
173 std::string m_strBackendVersion;
174 std::string m_strBackendHost;
175 std::string m_strBackendTimers;
176 std::string m_strBackendRecordings;
177 std::string m_strBackendDeletedRecordings;
178 std::string m_strBackendProviders;
179 std::string m_strBackendChannelGroups;
180 std::string m_strBackendChannels;
181 long long m_iBackendDiskTotal;
182 long long m_iBackendDiskUsed;
184 bool m_bIsPlayingRadio;
185 bool m_bIsPlayingRecording;
186 bool m_bIsPlayingEpgTag;
187 bool m_bIsPlayingEncryptedStream;
188 bool m_bHasTVChannels;
189 bool m_bHasRadioChannels;
190 bool m_bCanRecordPlayingChannel;
191 bool m_bIsRecordingPlayingChannel;
192 bool m_bIsPlayingActiveRecording;
193 std::string m_strPlayingTVGroup;
194 std::string m_strPlayingRadioGroup;
200 std::vector<SBackend> m_backendProperties;
202 std::string m_channelNumberInput;
203 bool m_previewAndPlayerShowInfo{
false};
205 mutable CCriticalSection m_critSection;
213 mutable std::atomic<bool> m_updateBackendCacheRequested;
Definition: PVRGUITimerInfo.h:99
Definition: GUIListItem.h:29
Definition: PVRGUITimerInfo.h:87
"C" PVR add-on descramble information.
Definition: pvr_channels.h:91
Definition: ContextMenuManager.h:24
Definition: GUIInfoProvider.h:23
Definition: PVRGUIChannelNavigator.h:35
Definition: AudioDecoder.h:18
Definition: PVRGUITimesInfo.h:21
"C" PVR add-on signal status information.
Definition: pvr_channels.h:63
Definition: PVRGUITimerInfo.h:75
Definition: PVRGUIInfo.h:42
Represents a file on a share.
Definition: FileItem.h:102