Bug #2712
Timeshift Feature not working
100%
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
History
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.
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
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'.
Updated by steve parry over 9 years ago
- File tvhtimeshift.PNG tvhtimeshift.PNG added
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
Updated by steve parry over 9 years ago
- File debugtvh.PNG debugtvh.PNG added
- File tvh.log tvh.log added
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
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 KodiSee attached log
I've also updated to build 3.9.2689 and it still has the same problem
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.
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.
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).
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.