Project

General

Profile

XBMC + TvHeadend + Timeshift = Pretty good start!

Added by Jamie Carl almost 12 years ago

Ok. I know it's early days but I wanted to get a thread going on the new Timeshift function. I've been (patently) hanging out for this since switching from MythTV a while back.

So far, most things seem to be working pretty well. I can pause, FF and RW perfectly. Skip forward works as well. The only problem I seem to have is with Skip backwards.

Big props to Adam for all his hard work on this. So far so good!

So who else is living on the bleading (sic) edge and using timeshift? Thoughts and experiences? Go...


Replies (14)

RE: XBMC + TvHeadend + Timeshift = Pretty good start! - Added by Adam Sutton almost 12 years ago

I'm actively using it now on my own server, I upgraded from 3.2 to a master build before Xmas (to take advantage of all the new features). And I'm now regularly upgrading to keep up with my own timeshift additions ;)

Your experience is somewhat different to mine though. With the latest code I find pause/resume, skip back/forward (inc start/end of buffer as of last day or so) works well. FF/RW are horribly broken, but I suspect this is an interaction issue between XBMC and TVH since FF (upto 4x) was fine until I added skip support. I don't think FF/RW will work reliably until after 3.4.

Adam

RE: XBMC + TvHeadend + Timeshift = Pretty good start! - Added by Jamie Carl almost 12 years ago

Well, I'm updating every time you push any changes so I'm happy to keep testing. Last night was my first real-world test and it turns out Skip (in either direction) doesn't want to work at all. Pause/Resume, FF and RW all work fine though. Will continue testing...

RE: XBMC + TvHeadend + Timeshift = Pretty good start! - Added by Alex . almost 12 years ago

Hi,

Thanks Adam for all your work indeed. I also upgraded to the newest version of tvheadend yesterday to try this feature, very nice so far!
Also FF and rewind (while using xbmc as a frontend) seems to work for me.
However, I did have a crash of both tvheadend and of xbmc while shifting channels while watching a time-shifted program ... I'll post here if I can pinpoint a bit more specific what is the apparent reason of the crash.

Alex.

EDIT: I did an upgrade of xbmc, the pvr-addon for tvheadend, and tvheadend itself, and no more tvheadend crash appeared since then.

RE: XBMC + TvHeadend + Timeshift = Pretty good start! - Added by marcel hauser almost 12 years ago

?? Have i missed something ? What are you guys talking about ? :) I'm running on latest xbmc nightly, tvheadend master and latest hts pvr plugin.... but i do NOT have and FF/RW Feature.... also... skip back/forward only changes the current live channel ??

Also... is there a way to access stuff "recorded" to the buffer somehow ?

Marcel

RE: XBMC + TvHeadend + Timeshift = Pretty good start! - Added by Alex . almost 12 years ago

marcel hauser wrote:

?? Have i missed something ? What are you guys talking about ? :) I'm running on latest xbmc nightly, tvheadend master and latest hts pvr plugin.... but i do NOT have and FF/RW Feature.... also... skip back/forward only changes the current live channel ??

Adam introduced the time-shift feature in the master repostory, so if you are running the latest from git, you should see an additional tab under configuration called "timeshift"; Activate it and you should be ok I think.
Once it works in tvheadend, you should be able to use it from xbmc.

RE: XBMC + TvHeadend + Timeshift = Pretty good start! - Added by marcel hauser almost 12 years ago

Thanks... But i know and have timeshift working... But i do not have ff or rw.... Skip back/forward also just switch channels?

RE: XBMC + TvHeadend + Timeshift = Pretty good start! - Added by Adam Sutton almost 12 years ago

That's because of the defaults key mappings in XBMC, the normal up/down/left/right are re-mapped to PVR specific operations so if you want to use those for skipping you need to remap them back accordingly.

FF/RW do not work, so don't bother trying. If you don't have FF/RW buttons showing on XBMC UI you're probably not running the right version of pvr.hts (i.e. mine).

Adam

RE: XBMC + TvHeadend + Timeshift = Pretty good start! - Added by Alex . almost 12 years ago

Adam Sutton wrote:

FF/RW do not work, so don't bother trying.
Adam

Ok, sorry for the confusion, maybe I am misinterpreting what FF/RW should do , but I can go backwards and forwards at up to 16x speed it seems.

RE: XBMC + TvHeadend + Timeshift = Pretty good start! - Added by marcel hauser almost 12 years ago

Adam Sutton wrote:

That's because of the defaults key mappings in XBMC, the normal up/down/left/right are re-mapped to PVR specific operations so if you want to use those for skipping you need to remap them back accordingly.

FF/RW do not work, so don't bother trying. If you don't have FF/RW buttons showing on XBMC UI you're probably not running the right version of pvr.hts (i.e. mine).

Adam

Hi Adam... Thank you for the clarification.. i do "see" (isn't that skin specific also ?) ff and rw buttons... but they are greyed out... ff and rw on the remote don't have a function/work either.

Where can i get your pvr.hts addon ? I'm using the one from opdenkamp / xbmc-pvr-addons!?

Sorry... i still don't understand (Sorry ;-) )... but why should i remap up/down/left/right ? i thought you were talking about skip forward/backward (for me that's NOT the same as ff/rw and/or left/right !)... or what did you mean with: "skip back/forward (inc start/end of buffer as of last day or so) works well"

Marcel

RE: XBMC + TvHeadend + Timeshift = Pretty good start! - Added by Jamie Carl almost 12 years ago

marcel hauser wrote:

Adam Sutton wrote:

That's because of the defaults key mappings in XBMC, the normal up/down/left/right are re-mapped to PVR specific operations so if you want to use those for skipping you need to remap them back accordingly.

FF/RW do not work, so don't bother trying. If you don't have FF/RW buttons showing on XBMC UI you're probably not running the right version of pvr.hts (i.e. mine).

Adam

Hi Adam... Thank you for the clarification.. i do "see" (isn't that skin specific also ?) ff and rw buttons... but they are greyed out... ff and rw on the remote don't have a function/work either.

Where can i get your pvr.hts addon ? I'm using the one from opdenkamp / xbmc-pvr-addons!?

Sorry... i still don't understand (Sorry ;-) )... but why should i remap up/down/left/right ? i thought you were talking about skip forward/backward (for me that's NOT the same as ff/rw and/or left/right !)... or what did you mean with: "skip back/forward (inc start/end of buffer as of last day or so) works well"

Marcel

You need the PVR addon plugins from: https://github.com/adamsutton/xbmc-pvr-addons

RE: XBMC + TvHeadend + Timeshift = Pretty good start! - Added by marcel hauser almost 12 years ago

Jamie Carl wrote:

You need the PVR addon plugins from: https://github.com/adamsutton/xbmc-pvr-addons

Hi Jamie

Thanks ! With the right sources everything looks better now :-)

RE: XBMC + TvHeadend + Timeshift = Pretty good start! - Added by NiCrAm 0oo0 over 11 years ago

Hi Guys,
I've installed hst addon from that git https://github.com/adamsutton/xbmc-pvr-addons but i still have grey (not usable) FF/RW buttons :( Haw can I enable FF/RW?
I've XBMC from git.

In addition to, after few pauses tvheadend crashes :(
tvheadend ver. 3.5.2~gc338802

Feb 17 17:13:33 [  DEBUG]:timeshift: ts 1 enter timeshift mode
Feb 17 17:13:33 [  ALERT]:CRASH: Signal: 11 in PRG: ../bin/tvheadend (3.5.2~gc338802) [95726e8aadbc257f24098d89200ef7983e2709f5] CWD: /opt/tvheadend/home  
Feb 17 17:13:33 [  ALERT]:CRASH: Fault address 0x1c (Address not mapped)
Feb 17 17:13:33 [  ALERT]:CRASH: Loaded libraries: linux-gate.so.1 /usr/lib/libssl.so.1.0.0 /usr/lib/libcrypto.so.1.0.0 /lib/libz.so.1 /usr/lib/libavahi-common.so.3 /usr/lib/libavahi-client.so.3 /usr/lib/libavcodec.so.53 /usr/lib/libavutil.so.51 /usr/lib/libavformat.so.53 /usr/lib/libcurl.so.4 /lib/librt.so.1 /lib/libdl.so.2 /lib/libpthread.so.0 /lib/libm.so.6 /lib/libc.so.6 /usr/lib/libkrb5.so.3 /usr/lib/libk5crypto.so.3 /usr/lib/libdbus-1.so.3 /usr/lib/libxvidcore.so.4 /usr/lib/libx264.so.120 /usr/lib/libvpx.so.1 /usr/lib/libvorbisenc.so.2 /usr/lib/libvorbis.so.0 /usr/lib/libvo-amrwbenc.so.0 /usr/lib/libvo-aacenc.so.0 /usr/lib/libtheoraenc.so.1 /usr/lib/libtheoradec.so.1 /usr/lib/libspeex.so.1 /usr/lib/libopencore-amrwb.so.0 /usr/lib/libopencore-amrnb.so.0 /usr/lib/libmp3lame.so.0 /usr/lib/libgsm.so.1 /usr/lib/libfaac.so.0 /usr/lib/libva.so.1 /usr/lib/librtmp.so.0 /usr/lib/libgnutls.so.26 /lib/libbz2.so.1 /usr/lib/libldap-2.4.so.2 /usr/lib/liblber-2.4.so.2 /usr/lib/libgcrypt.so.11 /usr/lib/libgpg-error.so.0 /usr/lib/libgssapi_krb5.so.2 /lib/libcom_err.so.2 
Feb 17 17:13:33 [  ALERT]:CRASH: Register dump [19]: 00000033 c1770000 ffff007b 0000007b 00000c0d 00000000 aadc0d28 a44f1f90 00000000 00000001 00000001 00000000 0000000e 00000004 0809568f 00000073 00210297 a44f1f90 0000007b 
Feb 17 17:13:33 [  ALERT]:CRASH: STACKTRACE
Feb 17 17:13:33 [  ALERT]:CRASH: /opt/tvheadend/src/src/trap.c:141 0x8071b23
Feb 17 17:13:33 [  ALERT]:CRASH: __kernel_rt_sigreturn+0x0  (linux-gate.so.1)
Feb 17 17:13:33 [  ALERT]:CRASH: /opt/tvheadend/src/src/timeshift/timeshift_filemgr.c:231 0x809568f
Feb 17 17:13:33 [  ALERT]:CRASH: /opt/tvheadend/src/src/timeshift/timeshift_reader.c:494 0x8097d69
Feb 17 17:13:33 [  ALERT]:CRASH: ??:0 0xb6699d9f
Feb 17 17:13:33 [  ALERT]:CRASH: clone+0x5e  (/lib/libc.so.6)
Segmentation fault


what is wrong?

RE: XBMC + TvHeadend + Timeshift = Pretty good start! - Added by Adam Sutton over 11 years ago

There are a few bugs in the latest code that I've been trying to sort out, but been struggling for time. Hopefully I'll find some time this week. If not I'll be doing a big push next week as I should have quite a bit of spare time.

Adam

RE: XBMC + TvHeadend + Timeshift = Pretty good start! - Added by NiCrAm 0oo0 over 11 years ago

Thanks a lot. I'm waiting to testing :)

    (1-14/14)