Project

General

Profile

Bug #2712

Timeshift Feature not working

Added by steve parry over 9 years ago. Updated over 9 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
Timeshift
Target version:
-
Start date:
2015-03-12
Due date:
% Done:

100%

Estimated time:
Found in version:
3.9.2524~gbd06d3c
Affected Versions:

Description

I enabled the Timeshift feature in CONFIGURATION > RECORDING > TIMESHIFT

Storage Path was set to a folder that everyone had full access to

When I click pause in Kodi on a live stream, the stream pauses and when I press play. The stream starts playing again. But then stops after exactly the same amount of time I paused for.

I checked the timeshift folder to see if anything had been created, and I found a buffers folder but no files any where.

I've tried this on my Raspberry Pi 1 & 2.


Files

tvhtimeshift.PNG (27.4 KB) tvhtimeshift.PNG TVH Timeshift Screen steve parry, 2015-04-13 10:43
debugtvh.PNG (21.1 KB) debugtvh.PNG steve parry, 2015-04-13 14:39
tvh.log (828 Bytes) tvh.log steve parry, 2015-04-13 14:42
tvh.log (1.74 MB) tvh.log steve parry, 2015-04-14 12:57

History

#1

Updated by Stephan Fuchs over 9 years ago

I've checked out the last version through git (tvheadend_3.9.2525~g96898a6) and I can confirm that the bug is present there too.
Reverted to version tvheadend_3.9.2414~gbca6214 and timeshift is working again.

#2

Updated by steve parry over 9 years ago

Just tried the in memory timeshift mode (Rpi2 Max Ram used set to 512mb) and its working.

Seems to effect the save to disk mode only

#3

Updated by steve parry over 9 years ago

Actually the memory mode seems intermittent

#4

Updated by Jaroslav Kysela over 9 years ago

Could you show me the exact configuration (screenshot of the web page - timeshift settings) ?

Also, provide the tvheadend log with '--debug all'.

#5

Updated by steve parry over 9 years ago

Jaroslav Kysela wrote:

Could you show me the exact configuration (screenshot of the web page - timeshift settings) ?

Also, provide the tvheadend log with '--debug all'.

Sorry for the late reply.

I've attached the screen shot

the timeshift folder has the correct permissions

drwxr-xr-x 2 hts pi 0 Mar 23 09:06 timeshift

How do I debug tvheadend thats running as a service? e.g.

service tvheadend start
#6

Updated by steve parry over 9 years ago

I enabled debug in the webui debugging tab (see attached image).

Heres the steps I followed

1. Loaded Kodi
2. Play a channel
3. Paused the channel for 10 seconds
4. Continued the pause channel until it stopped (10seconds later)
5. closed Kodi

See attached log

#7

Updated by steve parry over 9 years ago

steve parry wrote:

I enabled debug in the webui debugging tab (see attached image).

Heres the steps I followed

1. Loaded Kodi
2. Play a channel
3. Paused the channel for 10 seconds
4. Continued the pause channel until it stopped (10seconds later)
5. closed Kodi

See attached log

I've also updated to build 3.9.2689 and it still has the same problem

#8

Updated by B C over 9 years ago

Also, provide the tvheadend log with '--debug all'.

so you either need to specify this on the cmd line or (but i'm not sure about this as I never tried it) +all in the debug subsystem line. Your current log is without any debug info at all as there was no debug subsystem enabled.

#9

Updated by steve parry over 9 years ago

B C wrote:

Also, provide the tvheadend log with '--debug all'.

so you either need to specify this on the cmd line or (but i'm not sure about this as I never tried it) +all in the debug subsystem line. Your current log is without any debug info at all as there was no debug subsystem enabled.

Heres the log

Note:
2015-04-14 10:51:13.348 [ ERROR]:timeshift: ts 0 could not read buffer was when I fast forward to the current streaming content.

#10

Updated by steve parry over 9 years ago

Any updates on this issue?

#11

Updated by Jaroslav Kysela over 9 years ago

Before "ts 0 could not read buffer" error is line:

[  DEBUG]:htsp: 193.151.124.2 [ steve | XBMC Media Center ] - subscription stop

So XBMC closed the subscription before.

10:50:10.453 [  DEBUG]:timeshift: ts 0 change speed 0
10:50:24.212 [  DEBUG]:timeshift: ts 0 change speed 100
10:51:05.491 [  DEBUG]:timeshift: ts 0 change speed 200
10:51:06.781 [  DEBUG]:timeshift: ts 0 change speed 400
10:51:13.348 [  DEBUG]:htsp: 193.151.124.2 [ steve | XBMC Media Center ] - subscription stop
10:51:13.348 [  ERROR]:timeshift: ts 0 could not read buffer

Could you compile tvh with trace enabled and add 'timeshift' to the trace log (like --trace timeshift). See wiki for more details (debugging).

#12

Updated by Anonymous over 9 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset commit:tvheadend|4206c2747f626a0fed1ee17b5060bc77b6de153c.

Also available in: Atom PDF