Indeed, the only thing that I need to support timeshifting with the MediaPortal addon and the ForTheRecord addon is an extension of the PVR API to forward the "pause", "forward" and "rewind" commands from XBMC to the addon. Both Windows backends already do the timeshifting (buffering) and the addons already read from the timeshift buffer.
The missing functionality was actually already available in very early versions of the PVR branch, but Alwinus removed it because it didn't work properly. I still have a local branch on my computer with a more or less working timeshift functionality. The only thing that I have to fix is to limit the rewind and forward to the buffer contents for the current channel. Right now, I can even rewind to the previous channel :-)
margro
Fan Posts: 530 Joined: Oct 2009 Reputation: 16 Location: The Netherlands |
2012-04-17 15:24
Post: #21
Developer of the MediaPortal PVR addon and the Argus-TV PVR-addon. Unofficial XBMC Windows builds with PVR (Dharma, Eden and Frodo). http://www.scintilla.utwente.nl/~marcelg/xbmc |
| find quote |
macardi
Senior Member Posts: 145 Joined: Sep 2008 Reputation: 0 Location: Sweden |
2012-04-17 16:18
Post: #22
This is excellent news! Is it really a problem that the rewind override to the previous channel? Doesn’t Mediaportal behave that way?
|
| find quote |
da-anda
Team-XBMC Member Posts: 1,399 Joined: Jun 2009 Reputation: 27 Location: germany |
2012-04-17 16:51
Post: #23
Margro - please do not limit the TS buffer to only the current channel. Buffer is buffer - no matter which channel. On MediaPortal I often have the situation that I'm ~ half an hour behind in the TS buffer and a new show is starting on a different channel. Then I just jump to "live", switch channel and go back in the buffer to watch the rest of the show on the other channel. So why would one want to limit the buffer to the current channel and loose everything even on probably just a occasional channel switch? The displayed stream/buffer length etc ofc can be limited to the currently running show/channel, but the buffer itself should be kept and "browseable".
PS any chance to get hands on your local timeshift patch? I'd just love to finally drop MP, but I need timeshift I can compile myself and use 4TR Argus.BTW - can't Argus record one channel and allow watching another channel on the same DVB-S transponder? It used to work with any software or settop box I know of - also missing this a bit. |
| find quote |
margro
Fan Posts: 530 Joined: Oct 2009 Reputation: 16 Location: The Netherlands |
2012-04-17 19:58
Post: #24
@da-anda: I understand your usage but this is a bit more complicated to implement.
Right now, the addon just reads the TV stream as binary data without knowledge about its contents (streams, HD, SD etc.). On every channel switch, the amount of streams might change and also SD<->HD. XBMC does all the demuxing and does not expect sudden stream changes without an initiated channel switch. To support rewinding to the previous channel, I have to parse the timeshift buffer for channel changes and tell XBMC that it should restart the demuxer when I'm seeing a different channel. Not impossible to implement but this is much more work than first limiting the timeshift capabilities to the current channel. W.r.t. your FTR question: Don't know. I'm actually not a ForTheRecord user, only one of the two addon developers
Developer of the MediaPortal PVR addon and the Argus-TV PVR-addon. Unofficial XBMC Windows builds with PVR (Dharma, Eden and Frodo). http://www.scintilla.utwente.nl/~marcelg/xbmc
(This post was last modified: 2012-04-17 20:02 by margro.)
|
| find quote |
nobleach
Junior Member Posts: 38 Joined: Nov 2008 Reputation: 0 |
2012-04-18 02:31
Post: #25
(2012-04-17 15:24)margro Wrote: <~snip> Could you elaborate a bit more on this? I've read hints about this in other posts. What didn't work properly? The whole subject of the former PVR code that was removed has kinda been reduced to "lore" in these forums so I'd love to hear more about it. |
| find quote |
margro
Fan Posts: 530 Joined: Oct 2009 Reputation: 16 Location: The Netherlands |
2012-04-18 12:35
Post: #26
(2012-04-18 02:31)nobleach Wrote: Could you elaborate a bit more on this? I've read hints about this in other posts. What didn't work properly? The whole subject of the former PVR code that was removed has kinda been reduced to "lore" in these forums so I'd love to hear more about it.It was work-in-progress code from Alwinus (Alwin Esch) for usage together with the VDR pvr addon (the original starting point of the PVR branch, named pvr-testing2 in SVN). I'm not sure, but I think his original plan was to implement the timeshifting at the XBMC side and he abandoned that idea and removed his initial implementation. The PVR API had a few additional functions like PauseLiveStream() (if I remember correctly...) I can't even find it back in SVN but it was around the time of this commit: 29132 The current API has still a few functions that are ment for positioning the livestream: SeekLiveStream() PositionLiveStream() LengthLiveStream() so part of the required functionality is still there but currently not used. Developer of the MediaPortal PVR addon and the Argus-TV PVR-addon. Unofficial XBMC Windows builds with PVR (Dharma, Eden and Frodo). http://www.scintilla.utwente.nl/~marcelg/xbmc |
| find quote |
tsp42
Senior Member Posts: 222 Joined: Aug 2011 Reputation: 11 Location: Denmark |
2012-04-22 21:59
Post: #27
(2012-04-18 12:35)margro Wrote:I've updated the CPVRClients class in my repo to make use them. It seems to be working with my mythtv addon except the timeline doesn't follow the position. Not sure how the other addons will function with the patch though (as they use a stream url instead of a file access.)(2012-04-18 02:31)nobleach Wrote: Could you elaborate a bit more on this? I've read hints about this in other posts. What didn't work properly? The whole subject of the former PVR code that was removed has kinda been reduced to "lore" in these forums so I'd love to hear more about it.It was work-in-progress code from Alwinus (Alwin Esch) for usage together with the VDR pvr addon (the original starting point of the PVR branch, named pvr-testing2 in SVN). |
| find quote |
Hasu0bs
Senior Member Posts: 100 Joined: Jan 2011 Reputation: 1 |
2012-04-23 00:35
Post: #28
(2012-04-17 16:51)da-anda Wrote: Margro - please do not limit the TS buffer to only the current channel. Buffer is buffer - no matter which channel. On MediaPortal I often have the situation that I'm ~ half an hour behind in the TS buffer and a new show is starting on a different channel. Then I just jump to "live", switch channel and go back in the buffer to watch the rest of the show on the other channel. So why would one want to limit the buffer to the current channel and loose everything even on probably just a occasional channel switch? The displayed stream/buffer length etc ofc can be limited to the currently running show/channel, but the buffer itself should be kept and "browseable". I dont think this is necessary, why don't you just jump over to epg and schedule a recording for the show you want to watch later? I think timeshifting is more a compromise for short times like stopping to go and pee and jump back to live tv when the next commercial starts...
(This post was last modified: 2012-04-23 00:36 by Hasu0bs.)
|
| find quote |
da-anda
Team-XBMC Member Posts: 1,399 Joined: Jun 2009 Reputation: 27 Location: germany |
2012-04-23 10:53
Post: #29
that won't work, because only having 1 DVB-S2 card would require a channel switch to perform the recording - and a channel switch would then erase the TS buffer.
|
| find quote |
nobleach
Junior Member Posts: 38 Joined: Nov 2008 Reputation: 0 |
2012-04-23 21:40
Post: #30
(2012-04-06 17:13)dushmaniac Wrote:(2012-04-05 20:19)XBMCUser4657 Wrote: [*]No extra backend software needed. XBMC could pull directly from my HD Homerun tuners and the DVR functionality could be configured directly within XBMCif you write an add-on that can interface directly with the hdhomerun, sure, but then the hdhomerun will be the backend. XBMC will not get an internal backend, since there's no reason to spend time on that. Configuring the backend from within XBMC is certainly something that can use some love, but there's no reason to include a PVR backend in XBMC itself. (2012-04-23 00:35)Hasu0bs Wrote:(2012-04-17 16:51)da-anda Wrote: Margro - please do not limit the TS buffer to only the current channel. Buffer is buffer - no matter which channel. On MediaPortal I often have the situation that I'm ~ half an hour behind in the TS buffer and a new show is starting on a different channel. Then I just jump to "live", switch channel and go back in the buffer to watch the rest of the show on the other channel. So why would one want to limit the buffer to the current channel and loose everything even on probably just a occasional channel switch? The displayed stream/buffer length etc ofc can be limited to the currently running show/channel, but the buffer itself should be kept and "browseable". The way I've always used timeshifting is having an hour long scheduled recording and jumping into it 20 minutes late, skipping all the commercials and "catching up" at the end of the show. The other use case would be starting a show, pausing it, putting the kids to bed, then returning (and probably skipping a few commercials now that some time has been built up in the buffer) As far a having a universal buffer that encompasses all channel changes, I'm not a big fan of this. EyeTV's DVR software does this, and I hate it. I've used a TiVo for 10 years, and I'm used to the buffer flushing at each channel change. I'd probably be happy either way though. -nobleach |
| find quote |

I can compile myself and use 4TR Argus.
Search
Help