<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2015-05-22 4:12 GMT+02:00 Michael Watson <span dir="ltr"><<a href="mailto:michael@thewatsonfamily.id.au" target="_blank">michael@thewatsonfamily.id.au</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 22/05/2015 10:50 AM, Eric Sharkey wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Thu, May 21, 2015 at 9:11 AM, Brian J. Murrell <<a href="mailto:brian@interlinx.bc.ca" target="_blank">brian@interlinx.bc.ca</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Thu, 2015-05-21 at 13:08 +0100, Gordon McCrae wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
OK, I don't get that at all, so I suggest your specific setup is causing<br>
the slowness (or mine is causing "fastness"?).<br>
</blockquote>
Or you just don't have as much data.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If I'm understanding you correctly, I select "Live TV / Recordings",<br>
then I choose "Default", "Horizon", "Horizon - Volcano Hell" ..... and<br>
the video starts immediately. No delays were experienced at all.<br>
</blockquote>
How many recordings do you have in your database?  I have 1886<br>
currently.<br>
<br>
On a remote machine I get about a 20sec lag after choosing Recordings<br>
and then I see my recording groups and a "Working" spinner on the bottom<br>
right that never seems go to away.<br>
</blockquote>
<br>
I haven't used it in a while, so I thought I'd try it again.  I just<br>
timed it on my cell phone (Samsung Note 4).  Remembering that Kodi<br>
doesn't work with the stylus and needs a finger took about a minute.<br>
 From touching "Live TV" to getting to the list of channels (waiting<br>
for the channels and EPG stuff to import) was about six minutes.<br>
Trying to remember where I was supposed to click to get to<br>
"Recordings" was about four minutes.  (Under a "settings" like gear<br>
icon?  Seriously?)  To get "Default" to show up was about 30 second.<br>
After that it was fairly quick to select a show and get it playing.<br>
Hitting the back button to try and select a different show brought up<br>
the working spinner for about a minute while the show played in the<br>
background.  I never did make it back to the program list and ended up<br>
quitting Kodi entirely.<br>
<br>
Starting it again I had hoped it wouldn't have to suck down the EPG<br>
data again, but it did.  It was faster on the second run but still<br>
took a couple of minutes.<br>
<br>
All in all, I find Kodi's user interface to be extremely<br>
counter-intuitive in just about every respect.  Everything I do seems<br>
to be the wrong way to do something and even when I eventually figure<br>
out what I'm supposed to do it takes minutes.<br>
<br>
(FWIW, I currently have 4354 recordings in the Default group which<br>
consume 7890GB and 291 unique xmltvids in the channels table.)<br>
<br>
Eric<br>
<br>
</blockquote></div></div>
MythFrontend essentially cheats, as its clearly part of MythTV it is allowed to access the database directly, where any "third party" app must use the limited functionality of the MythAPI - Not really forced to, but frowned upon if it does.<br>
<br>
    It is my belief that MythTV should be split into two distinct projects (MythTV Backend, MythTV Frontend).   If the Official frontend was forced to use the API only, then we would see a lot more development of the API, thus providing faster and better features that any third party frontend can take advantage of, and possibly the ability to create "Official" android/iOS Frontend apps.<br>
<br>
I think if nothing else, this thread has shown a real need/desire for a lightweight frontend capable of running on Pi/iOS/Android devices.<br>
<br>
A point I find interesting between Kodi and Myth Frontend is:  On both my frontend PC's, after selecting a recording to watch and pressing play - Myth Frontend can take anywhere from 2 sec - 30 sec to start playing the recording, where Kodi will start almost instantly every time.  If only kodi-pvr-mythtv plugin cached the recording/guide content and updated in the background to provide a snappier experience, I would no longer be using Myth Frontend.<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" target="_blank">https://forum.mythtv.org</a><br>
</div></div></blockquote></div><br></div><div class="gmail_extra">I'm not really sure that the mytthv api can be upgraded to work faster. It runs an XML interface which is probably the main problem (generating and parsing XML takes time). It could be switched to json or to a binary format for speed, but going to a binary format we will have the same issues as now. Anyone who wants to can look at the mythtv source code and implement their frontend the same way mythfrontend is implemented (direct access to the mysql database). It will be frowned on by the mythtv developers and subject to change, but it will work for a specific version of mythtv.</div><div class="gmail_extra"><br></div><div class="gmail_extra">What could be changed easily would be to load only the curent showing recordings each time you look at the recordings screen instead of loading all recordings each time. That way you would be able to load the information in the background and it wouldn't take as long to load.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Regards,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Andréas</div></div>