Project

General

Profile

How to setup timeshift?

Added by Al Bundy about 7 years ago

I've tried different settings but I don't get it to work. :-/

I've tried MX Player on Android and VLC on Windows but Timeshift seems not to work in both cases because I can not rewind or fast forward the stream or see any timeshift-buffer-file on the server.


Replies (4)

RE: How to setup timeshift? - Added by Robert Cameron about 7 years ago

Tvheadend needs read/write access to the timeshift location. Make sure the Tvheadend user (systemd user, not user in Tvheadnd's interface) has permissions for the location.

RE: How to setup timeshift? - Added by Al Bundy about 7 years ago

I've configured /media/usbhdd/timeshift as storage path in timeshift settings.

/media/usbhdd/timeshift is a folder on a ntfs-filesystem which is mounted as

/dev/sda1 on /media/usbhdd type fuseblk (rw,noatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)

tvheadend runs with user hts and if I switch to this user I'm also able to create files in this directory.

RE: How to setup timeshift? - Added by Robert Cameron about 7 years ago

And what to the Tvheadend logs say when you start playing live TV? Usually it'll mention something about the timeshift buffer file it is creating.

RE: How to setup timeshift? - Added by Al Bundy about 7 years ago

/var/log/syslog says this after starting a channel from TVHClient in MX Player and press pause.

Sep 12 19:11:18 rpi tvheadend[501]: htsp: Got connection from 192.168.1.115
Sep 12 19:11:18 rpi tvheadend[501]: htsp: 192.168.1.115: Identified as user 'tvh' (unverified)                
Sep 12 19:11:18 rpi tvheadend[501]: htsp: 192.168.1.115 [ tvh ]: Welcomed client software: org.tvheadend.tvhclient (HTSPv23)                                                                                                   
Sep 12 19:11:18 rpi tvheadend[501]: htsp: 192.168.1.115 [ tvh | org.tvheadend.tvhclient ]: Identified as user 'tvh'                                                       
Sep 12 19:11:18 rpi tvheadend[501]: htsp: 192.168.1.115 [ tvh | org.tvheadend.tvhclient ]: Privileges updated
Sep 12 19:11:31 rpi tvheadend[501]: http: 192.168.1.115: using ticket 2527BC2B215E5FDD47A845C9594AA76649D8336C for /stream/channelid/724101975                                                                  
Sep 12 19:11:31 rpi tvheadend[501]: mpegts: 12544.75H in Astra - tuning on Montage Technology M88DS3103 : DVB-S #0                                                                                                     
Sep 12 19:11:31 rpi tvheadend[501]: subscription: 0315: "HTTP" subscribing on channel "ProSieben", weight: 100, adapter: "Montage Technology M88DS3103 : DVB-S #0", network: "Astra", mux: "12544.75H", provider: "ProSiebenSat.1", service: "ProSieben", profile="pass", hostname="192.168.1.115", username="tvh", client="Mozilla/5.0 (Linux; Android 6.0.1; de-DE; SGP511 Build/23.5.A.1.291) MXPlayer/1.9.5"                                              
Sep 12 19:11:31 rpi tvheadend[501]: linuxdvb: Unable to provide UNC value.
Sep 12 19:11:43 rpi tvheadend[501]: subscription: 0315: "HTTP" unsubscribing from "ProSieben", hostname="192.168.1.115", username="tvh", client="Mozilla/5.0 (Linux; Android 6.0.1; de-DE; SGP511 Build/23.5.A.1.291) MXPlayer/1.9.5" 
    (1-4/4)