Kodi Community Forum
Timeshift Support - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167)
+---- Forum: Tvheadend (https://forum.kodi.tv/forumdisplay.php?fid=168)
---- Thread: Timeshift Support (/showthread.php?tid=147002)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12


Timeshift Support - adamsutton - 2012-12-03

As some of you may be aware TVH does now have some rudimentary timeshift support. However its quite rough around the edges and is not yet in the master branch.

For those of you that are interested in playing with it you will need Frodo beta1 or later + a very recent pvr.hts build (last few days). You should also read this wiki article I've started to write, Timeshift.

Please pay special attention to the WARNING and also the polite request not to tell me "it crashes" because I'm well aware there are several significant issues with the code that I still need to address before it's considered "usable" in the more general sense.

However I do want to try and push it forward and get something working for 3.4, so I've made this more visible so I can get some general feedback. When I feel its a bit more stable and usable I'll most likely push the code into master at which point you can feel free to bug me about all the crashes etc...

Regards
Adam


RE: Timeshift Support - Memphiz - 2012-12-04

Cool & Exciting Smile


RE: Timeshift Support - Baswazz - 2012-12-04

Great work adam. Looking forward.


RE: Timeshift Support - diverseft - 2012-12-05

That is awesome. Will be keeping an eye on this!


RE: Timeshift Support - Memphiz - 2012-12-06

@Adam - might it be that tvheadend is spamming my disk - even if i don't timeshift at that moment?

ls -al timeshift/timeshift/0/ | wc -l
138

after playing a channel for about 3 mins. The folder is full of "tvh-6719" files ...


RE: Timeshift Support - adamsutton - 2012-12-06

@Memphiz, if you have enable timeshift (which presumably you must have or nothing would happen) then you will indeed be getting a buffer. It's not a "pause" buffer, its a timeshfit buffer, i.e. its a permanent ringbuffer up to the period you specified in the config.

It will not stop generating files unless you leave it paused for longer than the buffer period, at which point the buffer is considered full and writing will stop.

There is some debate on increasing the coarseness of the chunks (currently 1s), but to be honest that'll be worked out later when the rest of the stuff actually works. Which at the moment it does not Sad but I'm not sure who's to blame, I've been trying to get hold of elupus for his input.

Adam


Timeshift Support - Memphiz - 2012-12-07

Ahh ok - good to know then Smile


RE: Timeshift Support - opdenkamp - 2012-12-07

haven't tested the new branch yet but did you fix the crash on channel switch that happened nearly every switch before? Smile


Re: Timeshift Support - adamsutton - 2012-12-08

Yeah, I think. Though I can't take the credit.

I left some old code in that was now using un init memory.

Hopefully that's fixed things. Now just need to figure out what is needed to make xbmc happy.

Adam


RE: Timeshift Support - basco - 2012-12-09

i thought what the heck let's try this.
so here are my findings.
tvh:
3.3.199~g759b5b1-dirty
xbmc:
latest (yesterday) wsnipex testing build, beta 3, latest pvr addon from http://www.dotnetdevelopers.net/XBMC/xbmcpvr.html

pauze works (tested up to 1 minute)!
on resume/play, after a few seconds, video starts to stutter, sound remains ok.

no files are being created in the timeshift folder while in pause mode on my server, this is strange right?
i entered this: "/mnt/storage/timeshift/" as temp storage path.

i get this in my log, maybe it is related...
13:35:53 T:2952756032 ERROR: AddOnLog: Tvheadend HTSP Client: Connect - failed to connect to the backend (Connection refused)
13:35:53 T:2952756032 ERROR: ADDON: Dll Tvheadend HTSP Client - Client returned bad status (1) from Create and is not usable
13:36:03 T:2952756032 ERROR: AddOnLog: Tvheadend HTSP Client: Connect - failed to connect to the backend (Connection refused)




RE: Timeshift Support - Begall - 2012-12-09

Latest commit on the timeshift branch is 759b5b13a0, not sure what you've gotten?


RE: Timeshift Support - basco - 2012-12-09

if i go to the 'about' tab in tvheadend it says:
HTS Tvheadend 3.3.199~g759b5b1-dirty

i use the normal tvheadend repo. https://github.com/tvheadend/tvheadend.git
this one did have the 'timshift' option which could be set to 'yes'

should i use another repo?


RE: Timeshift Support - regnets - 2012-12-09

Wow, thats fabulous!

For me the timeshifting feature works flawlessly the whole day!

The only thing which is not perfect ist the keymap for the appletv, i can't use the buttons for fastforward/rewind.


RE: Timeshift Support - basco - 2012-12-10

question to the good people who also try the timeshift feature:
could you check if buffer files are being created in the tvheadend tmeshift folder while timeshifting?

i can timeshift, but no files are created in this folder. i wonder if it's just me Wink


RE: Timeshift Support - Memphiz - 2012-12-10

They are created for me even if i don't timeshift ...