• 1(current)
  • 2
  • 3
  • 4
  • 5
  • 12
  •   
Timeshift Support
#1
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
Reply
#2
Cool & Exciting Smile
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#3
Great work adam. Looking forward.
Nvidia Shield 2019 Pro, Nvidia Shield 2015
Reply
#4
That is awesome. Will be keeping an eye on this!
Reply
#5
@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 ...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#6
@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
Reply
#7
Ahh ok - good to know then Smile
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#8
haven't tested the new branch yet but did you fix the crash on channel switch that happened nearly every switch before? Smile
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
Reply
#9
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
Reply
#10
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)

Reply
#11
Latest commit on the timeshift branch is 759b5b13a0, not sure what you've gotten?
Reply
#12
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?
Reply
#13
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.
Reply
#14
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
Reply
#15
They are created for me even if i don't timeshift ...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
  • 1(current)
  • 2
  • 3
  • 4
  • 5
  • 12
  •   



Logout Mark Read Team Forum Stats Members Help
Timeshift Support1
This forum uses Lukasz Tkacz MyBB addons.