[mythtv-users] Schedules Direct TBA Listings

R. G. Newbury newbury at mandamus.org
Wed Jul 23 18:12:40 UTC 2014


On 18/07/14 04:55 PM, Gary Buhrmaster wrote:
> On Fri, Jul 18, 2014 at 8:13 PM, Michael T. Dean
> <mtdean at thirdcontact.com> wrote:
>> On 07/18/2014 04:00 PM, R. G. Newbury wrote:
>>> I am interested in understanding why you think the JSON grabber 'overloads' the mythconverg database.
>
> ....
>
>> I think he's talking about the fact that it adds tables that are only useful
>> to the Schedules Direct JSON grabber

> To be honest, MythTV itself does not follow all the
> "recommendations"/"rules" either, but at least it
> is all MythTV.  But for something so clearly outside
> of MythTV itself (a SD JSON grabber should ideally
> be able to be used in alternative XMLTV apps that
> do not have MythTV installed at all), this would
> logically be completely independent of the
> mythconverg database.

If that is the operative philosophy, then mythfilldatabase should not 
write to mythconverg either. It too is a actually a standalone grabber. 
It just happens to be the first one written to talk to Zap2it/Tribune 
etc. and so it was/is included in the myth package.

True, it would to a certain extent be more "elegant" if mfdb and 
mfdb-json wrote to their own database, but you *still* have to chunk the 
data into mythconverg... which would involve opening two databases 
copying tables from one to the other.

I think that is called 'make-work'.

It would be nice if mfdb-json could also/instead write to a standalone 
mysql db, which other player programs can use. I suspect that that would 
not be too difficult to create.. it would amount to a mythconverg with 
the playback/music/gallery etc tables never created.

An advantage of having mfdb and mfdb-json writing to mythconverg is that 
they make efficient use of the existing infrastructure, and only add 
tables which are necessary to the conversion process of taking the raw 
download and making it properly accessible to myth. And any other 
grabber could do the same.



Geoff



-- 
              R. Geoffrey Newbury			
            Barrister and Solicitor
       Suite 106, 150 Lakeshore Road West
          Mississauga, Ontario, L5H 3R2

        t905-271-9600 f905-271-1638
               newbury at mandamus.org


More information about the mythtv-users mailing list