home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
Improvement Suggestions
Will EPG data be updated while watching TV?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Snoopy87" data-source="post: 1013443" data-attributes="member: 128461"><p>@<a href="https://forum.team-mediaportal.com/members/sebastiii.60104/" target="_blank">Sebastiii</a>: Could some developer look at this? I tooked a deeper look in this, and it seems to me, that EPG is not stored while watching TV, because it is only stored if the TV card is in idle state (which it is not, if you watch tv). Also the setting that EPG should be stored while timeshifting has no effect on this in my opinion.</p><p> </p><p>This could be found in TimeShifter.cs:</p><p> </p><p>[CODE]_timeshiftingEpgGrabberEnabled = (layer.GetSetting("timeshiftingEpgGrabberEnabled", "no").Value == "yes");[/CODE]</p><p> </p><p>_timeshiftingEpgGrabberEnabled will only be used here (TimeShifterBase.cs):</p><p> </p><p>[CODE]protected void StartTimeShiftingEPGgrabber(IUser user)</p><p> {</p><p> if (_timeshiftingEpgGrabberEnabled)</p><p> {</p><p> Channel channel = Channel.Retrieve(user.IdChannel);</p><p> if (channel.GrabEpg)</p><p> {</p><p> _cardHandler.Card.GrabEpg();</p><p> }</p><p> else</p><p> {</p><p> Log.Info("TimeshiftingEPG: channel {0} is not configured for grabbing epg",</p><p> channel.DisplayName);</p><p> }</p><p> }</p><p> }[/CODE]</p><p> </p><p>Because of Interfaces, etc. I was unable to follow the code more deeper, but I think at the end GrabEpg() will run OnEpgReceived() (posted in the first post) and as said then EPG data will not be stored, because TV card is not idling.</p></blockquote><p></p>
[QUOTE="Snoopy87, post: 1013443, member: 128461"] @[URL='https://forum.team-mediaportal.com/members/sebastiii.60104/']Sebastiii[/URL]: Could some developer look at this? I tooked a deeper look in this, and it seems to me, that EPG is not stored while watching TV, because it is only stored if the TV card is in idle state (which it is not, if you watch tv). Also the setting that EPG should be stored while timeshifting has no effect on this in my opinion. This could be found in TimeShifter.cs: [CODE]_timeshiftingEpgGrabberEnabled = (layer.GetSetting("timeshiftingEpgGrabberEnabled", "no").Value == "yes");[/CODE] _timeshiftingEpgGrabberEnabled will only be used here (TimeShifterBase.cs): [CODE]protected void StartTimeShiftingEPGgrabber(IUser user) { if (_timeshiftingEpgGrabberEnabled) { Channel channel = Channel.Retrieve(user.IdChannel); if (channel.GrabEpg) { _cardHandler.Card.GrabEpg(); } else { Log.Info("TimeshiftingEPG: channel {0} is not configured for grabbing epg", channel.DisplayName); } } }[/CODE] Because of Interfaces, etc. I was unable to follow the code more deeper, but I think at the end GrabEpg() will run OnEpgReceived() (posted in the first post) and as said then EPG data will not be stored, because TV card is not idling. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Improvement Suggestions
Will EPG data be updated while watching TV?
Contact us
RSS
Top
Bottom