11 #include "threads/CriticalSection.h" 12 #include "utils/TimeFormat.h" 31 std::string GetTimeshiftStartTime(TIME_FORMAT format)
const;
32 std::string GetTimeshiftEndTime(TIME_FORMAT format)
const;
33 std::string GetTimeshiftPlayTime(TIME_FORMAT format)
const;
34 std::string GetTimeshiftOffset(TIME_FORMAT format)
const;
35 std::string GetTimeshiftProgressDuration(TIME_FORMAT format)
const;
36 std::string GetTimeshiftProgressStartTime(TIME_FORMAT format)
const;
37 std::string GetTimeshiftProgressEndTime(TIME_FORMAT format)
const;
39 std::string GetEpgEventDuration(
const std::shared_ptr<CPVREpgInfoTag>& epgTag, TIME_FORMAT format)
const;
40 std::string GetEpgEventElapsedTime(
const std::shared_ptr<CPVREpgInfoTag>& epgTag, TIME_FORMAT format)
const;
41 std::string GetEpgEventRemainingTime(
const std::shared_ptr<CPVREpgInfoTag>& epgTag, TIME_FORMAT format)
const;
42 std::string GetEpgEventFinishTime(
const std::shared_ptr<CPVREpgInfoTag>& epgTag, TIME_FORMAT format)
const;
43 std::string GetEpgEventSeekTime(
int iSeekSize, TIME_FORMAT format)
const;
46 int GetTimeshiftProgress()
const;
47 int GetTimeshiftProgressDuration()
const;
48 int GetTimeshiftProgressPlayPosition()
const;
49 int GetTimeshiftProgressEpgStart()
const;
50 int GetTimeshiftProgressEpgEnd()
const;
51 int GetTimeshiftProgressBufferStart()
const;
52 int GetTimeshiftProgressBufferEnd()
const;
54 int GetEpgEventDuration(
const std::shared_ptr<CPVREpgInfoTag>& epgTag)
const;
55 int GetEpgEventProgress(
const std::shared_ptr<CPVREpgInfoTag>& epgTag)
const;
58 bool IsTimeshifting()
const;
61 void UpdatePlayingTag();
62 void UpdateTimeshiftData();
63 void UpdateTimeshiftProgressData();
65 static std::string TimeToTimeString(time_t datetime, TIME_FORMAT format,
bool withSeconds);
67 int GetElapsedTime()
const;
68 int GetRemainingTime(
const std::shared_ptr<CPVREpgInfoTag>& epgTag)
const;
70 mutable CCriticalSection m_critSection;
72 std::shared_ptr<CPVREpgInfoTag> m_playingEpgTag;
73 std::shared_ptr<CPVRChannel> m_playingChannel;
76 unsigned int m_iDuration;
77 time_t m_iTimeshiftStartTime;
78 time_t m_iTimeshiftEndTime;
79 time_t m_iTimeshiftPlayTime;
80 unsigned int m_iTimeshiftOffset;
82 time_t m_iTimeshiftProgressStartTime;
83 time_t m_iTimeshiftProgressEndTime;
84 unsigned int m_iTimeshiftProgressDuration;
Definition: ContextMenuManager.h:24
Definition: PVRGUITimesInfo.h:21