Posts: 28
Joined: Oct 2015
Reputation:
0
I have had very unreliable / inconsistent behavior when exiting a MythTV recording I'm viewing. Some times it will record the position and give the option to resume there when I play next. But, other times it will not.
I thought it was ending the recording with Escape rather than Stop, but later tests worked with both. I also thought it might behave different when exiting via HDMI CEC control version IR remote (I'm still not sure about that one.. it failed consistently with exiting via CEC). But, even when using only the IR remote, I still get mixed results.
What am I missing? Is there some trick or setting coming into play?
Posts: 894
Joined: Jan 2007
Reputation:
7
wyild1
Posting Freak
Posts: 894
The only time I don't have the resume point work is when your watching something that is still recording and you have reached what kod thinks is the end.
Ex: recording a 3 hr show. But you start watching 1 hr after it started. Kodi thinks the video is 1 hr long so after an hr it will mark it as watched, even though it's still recording. Then there will be no resume point
Posts: 28
Joined: Oct 2015
Reputation:
0
Hmm.. that definitely would account for some of the issues I'm seeing. I'll have to keep checking to see if that is the only case where it happens.
For me, this is a pretty major gap.. If I'm watching a program that is still recording, I will often exit the playback when I reach current time. Or, more accurately, when I hit a commercial and can't skip forward, I'll exit the program and let it queue up more rather than sitting through the commercials. It's especially common for sporting events.. I might jump back and forth between two live football games this way.
Is this a Kodi issue, a MythTV PVR integration issue, or a skin issue?
Posts: 28
Joined: Oct 2015
Reputation:
0
After using it a bit more, that's definitely the issue. There are two aspects to it, probably related to each other:
1) If I skip ahead paste the original time the end of the recording was when playback started, the stop time is lost.
2) If I exit a recording near the original end time, Kodi considers that program done and clears the stop time.
I started doing manual Stop (Exit) / Restart to avoid this problem. Each restart resets the end time and you avoid problem #1. But, as the duration grows, you run into problem #2. I assume the logic for #2 is a percentage of the program that was viewed, so as the program grows longer it becomes easier to run into the problem.
In any case, this seems like a huge problem for Kodi PVR usage. Unfortunately, google searches turn up reports of this (or related) bugs for a couple years.
Posts: 28
Joined: Oct 2015
Reputation:
0
Okay, I think I've finally got it worked out.. There are some things in advancedsettings.xml which control the 'end of recording' behavior. By default, Kodi tries to be smart and not set resume points at the end of programs. For static recordings this makes sense.. No one watches through all the credits at the end. For TV recordings, especially in-progress recordings, this doesn't make sense. So, by setting it to 0, it always sets the resume point.
<advancedsettings>
<video>
<playcountminimumpercent>101</playcountminimumpercent>
<ignoresecondsatstart>30</ignoresecondsatstart>
<ignorepercentatend>0</ignorepercentatend>
</video>
</advancedsettings>
The important one is "ignorepercentatend". advancedsettings.xml, at least on my Openelec Pi2, is at ~/.kodi/userdata/
I'm really surprised this was so hard to figure out. Doesn't every MythTV user need to tweak these settings?