• 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
Does timeshift actually work for any of you?
#76
(2016-03-24, 17:01)WimKl Wrote:
(2016-02-13, 13:31)WimKl Wrote: I have a question regarding timeshift. When FF to the end of the (in-progress) recording, Kodi stops playback.
See kodi.log: http://we.tl/XyqoXCPKVW and search for playback of "Het Mooiste Meisje van de Klas"

I'm not sure what the status of this problem is, see posts below. Is this issue considered as solved and I'm the only one having this issue or is this considered not solved?

This is my setup:
Backend:
HDHomerun, raspberry Pi2.
TVHeadend Build: 4.1-1434~g4fdd552 (2016-02-02T21:48:48+0100), compiled and build myself (with help).
TVHeadend Configuration, recording: timeshift not enabled.

Frontend
Kodi 16 RC3, TVHeadend HTSP Client 2.2.13, Windows 7. Also tested on android 4.4, s89-H.

Thanks,

Wim

[quote='gummibaum' pid='2206184' dateline='1452089241']
Great work!

timeshift working seamlessly now (for me - Milhouse Krypton 0105b + TVH 1322 (separate PC - Ubuntu 14.04.1)).

Just one minor "complaint":
  • when FF reaches end of buffer, KODI remains in FF instead of switching back to PLAY

Bumping this thread instead of starting a new one, hoping SOMEONE (heeeeeelp) responds:

On windows 7, Kodi 16.1 final, tvh 2.2.14, tvheadend_4.1-1723~g465f64c_armhf (so latest of everything)
when I start a recording and wait a minute, then play and FF (or skip) to the end of the buffer:
Kodi stops playing instead of playing livetv.

Is it a Kodi or a tvheadend problem?

Kodi logs: http://pastebin.com/3L2x0fb6
Playback stopped at 15:45:09.

Please help.

Wim

On this moment you're out of luck sadly (just like me), the challenge/problem is in the pvr.hts addon in combination with Kodi. For what I can see on this moment in the code (I’m not an expert Wink ) is that Kodi have to get an signal to go to live and that looks an little bit complicated.
Reply
#77
Have you looked at my logs? When I FF to the end of the buffer, Kodi doesn't receive any data anymore so just stops, of course.
I think the problem is also not in pvr.hts. I get the same behaviour in tvhclient in combination with eiher Kodi or mxplayer pro.
So it must be in tvheadend.

I'm in contact right now with someone who says it does work correct with him. I'm trying to figure out what goes wrong and where.

I hope one of the developers can answer my question.
Reply
#78
(2016-03-25, 09:42)WimKl Wrote: Have you looked at my logs? When I FF to the end of the buffer, Kodi doesn't receive any data anymore so just stops, of course.
I think the problem is also not in pvr.hts. I get the same behaviour in tvhclient in combination with eiher Kodi or mxplayer pro.
So it must be in tvheadend.

I'm in contact right now with someone who says it does work correct with him. I'm trying to figure out what goes wrong and where.

I hope one of the developers can answer my question.

Let's hope that I'm wrong Wink Will you let us know when it is working?
Reply
#79
Of course. But it's important to let the developers notice this thread, otherwise I don't have much hope. They will know the answer or have the ability to find it.
Reply
#80
Maybe an interesting conversation on github about timeshifting:
https://github.com/xbmc/xbmc/pull/8736#i...-171089658

Quote:@ksooo @Jalle19
Shouldn't we need a method to control the player from a pvr addon, this to handle the stuck in fast forward/ backward when we reached the end of the timeshift buffer?
This was discussed here:
kodi-pvr/pvr.hts#144

In this way pvr clients can also unpause the stream when the maximal timeshift period was reached.
Reply
#81
(2016-03-28, 11:57)zapp-it Wrote: Maybe an interesting conversation on github about timeshifting:
https://github.com/xbmc/xbmc/pull/8736#i...-171089658

Quote:@ksooo @Jalle19
Shouldn't we need a method to control the player from a pvr addon, this to handle the stuck in fast forward/ backward when we reached the end of the timeshift buffer?
This was discussed here:
kodi-pvr/pvr.hts#144

In this way pvr clients can also unpause the stream when the maximal timeshift period was reached.

What is discussed there is that when reaching the end-of-buffer, Kodi keeps on FF-ing instead of starting playback, which is another issue but would be awesome if they solved that too.
I really like tvhclient and the above only solves the problem in Kodi. Would be great if it could be solved in such a way that it works in tvhclient too.


Regarding my own issue:
I posted here and got a response:
https://tvheadend.org/issues/2744

So I posted here:
https://github.com/kodi-pvr/pvr.hts/issues
Reply
#82
(2016-03-28, 11:57)zapp-it Wrote: Maybe an interesting conversation on github about timeshifting:
https://github.com/xbmc/xbmc/pull/8736#i...-171089658

Quote:@ksooo @Jalle19
Shouldn't we need a method to control the player from a pvr addon, this to handle the stuck in fast forward/ backward when we reached the end of the timeshift buffer?
This was discussed here:
kodi-pvr/pvr.hts#144

In this way pvr clients can also unpause the stream when the maximal timeshift period was reached.

This last (https://github.com/kodi-pvr/pvr.hts/issues/144) issue is "merged".

What does "merged" mean? Does it mean that it is implemented in a downloadable, but perhaps unbuild, version? Of can I download it manually or is it updated automatically within the appropriate version of Kodi? (for these issues that would be Krypton).
Reply
#83
@zapp-it

I've got a response: https://github.com/kodi-pvr/pvr.hts/issu...-202410682
The suggestion is to make a feature request.

They have done a lot of trouble in making a livetv buffer and that does the trick, So why not treat my request (playback of a recording-in-progress) as such?
I think this would be solved quicker in this way.
Reply
#84
@zapp-it and all others:

I've made a feature request for this (when reaching EOF of playback of a recording-in-progress, livetv should start to play) in Kodi here:

http://forum.kodi.tv/showthread.php?tid=267004

If you like this feature, please support this by posting in the above thread.

Wim
Reply
#85
Hi Wim,

First of all, English is not my native language Wink

If you can see there is an massive WIP in progress:
New API for PVR’s https://github.com/kodi-pvr/pvr.hts/comm...4b47f79199
Brainstorming about time shifting GUI implementation in Kodi https://github.com/xbmc/xbmc/pull/9045
Lots of changes in TVH.
Personal I think that we have to wait when the really massive WIP is done, I’m positive that the excellent devs of Kodi/PVR/TVH have this sort of small issues on the radar, but I except that they will fix it after the WIP.

I do not know of this is the right thread, but maybe the devs have an opinion about the following situation. It is more and more common that IPTV/Cable providers offering VOD services like transmission missed, replay TV etc. So in case of TVH the channels can have an remote TS buffer and an local TS buffer as you can see in PR https://github.com/tvheadend/tvheadend/pull/808 and can be visually in Kodi with for example extra icons for the extra services in the player and/or in the EPG grid. Any chance that it will be integrated in Kodi or are there other dependencies which have to build in Kodi/PVR/TVH? Personally I think that it could be an good option for end users to make it easier for them to get PVR to the next level.

Can the devs telling what their opinion is on the above possible feature in Kodi?
Reply
#86
Zapp-it,

The timeshift feature that's being discussed here and there is about pausing livetv, not about playing back a -recording-in-progress.

Jalle19, a developer, in this thread: https://github.com/kodi-pvr/pvr.hts/issu...-202410682
suggests that I make a feature request if I want my idea ("treat a recording-in-progress as livetv") implemented. He says it's not that simple, not "a small issue".

And yes, they are developing the pvr-api's a lot at the moment, therefore THIS is the time to support my feature request.
I'm not arguing their skills. There's nothing wrong with my request.

That's what I think.

Wim
Reply
#87
(2016-04-02, 14:40)WimKl Wrote: And yes, they are developing the pvr-api's a lot at the moment, therefore THIS is the time to support my feature request.

I agree, that is why I asked for the opinion of the remote TS option in Kodi. Wink For me (and other users) this could be the right moment to think about more features.
Quote:I'm not arguing their skills.

If I gave you the impression that I doubted it, I apologize, that's was absolutely not the intention of my post. Wink
Reply
#88
Update.........still not working here 6 Months later..........

Sent from my Redmi Note 3
Reply
#89
First, yes timeshift of live tv with tvheadend unstable on Debian works perfectly for me.
I also have not been able to solve the watching a recording in progress issue though, not completely.
I used to use a Windows machine with WMC and serverwmc as the backend. It worked great for this issue. You'd open a recording in progress and see a top bar displaying the entire run length of that show, then a grey bar displaying the currently recorded portion, which moved as it recorded, and when you hit the point of live programming it just did nothing when you skipped, as you would want.
I have no idea why it worked there and not with TVH, but I know it is possible.
Here are my workarounds- 1st created a transcode profile with a webm container that didn't actually transcode, I used the copy codec selections. For whatever reason, it allowed me to skip forward without stopping play, it froze for a second, then would play with audio out of sync, and I'd skip back knowing I reached the live point. If I over skipped, by pressing 3 times fast maybe, it would stop playing. So it was only a little better.
My current solution abandons the profile and what I do is select the recording from the guide, not recordings. It asks if I want to start from the beginning, I say yes, and the recording plays. It stops when I go live, but I am at the guide again and I select the show and say no, play live. It takes 5 seconds, and assuming I just was skipping an ad, I miss nothing. Also not perfect, but it's simpler to explain to the family also.

Lastly, I just want to thank all who developed tvheadend, kodi, and the pvr add on. I switched from Windows to Linux because my server had to be restarted far too often, a much more annoying problem for sure. I knew nothing about Linux, but now run it on my laptop because I love it. I don't have to worry when Windows will cut off my guide data either. Tvheadend is getting better daily while wmc fades away.
Reply
#90
It used to work great, but since a few weeks, when I pause and resume (or rewind from live play), the stream starts stuttering after a few seconds. Usually this stuttering goes on for about 30 seconds and then it's okay, but sometimes the stream stops after a while.

I have tvheadend set to always buffer, up to 8GB in RAM, nothing on disk. (I have 16GB RAM in my server, so I don't think the amount of free memory is a problem). I run Kodi 16.1 on Windows 10 and keep tvheadend (on Debian Linux, the 'testing' distro) up to date from the tvheadend deb repository.

What logs (and what log level) would you need for a proper bug report?



Edit: Never mind, I just noticed the RAM in my server is faulty, so I'll blame that. I've exchanged it and tvheadend is behaving a bit better now. Big Grin
Reply
  • 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8

Logout Mark Read Team Forum Stats Members Help
Does timeshift actually work for any of you?0