[mythtv-users] American EPG Data Provider Found?

Andrew Close aclose at gmail.com
Thu Jul 26 14:25:56 UTC 2007


On 7/26/07, Michael T. Dean <mtdean at thirdcontact.com> wrote:
> On 07/26/2007 03:37 AM, Nick Rout wrote:
> > Chris Petersen wrote:
> >
> >> It'll be .20.1 or .21 by the time you'd need to upgrade.  There will
> >> need to be *some* kind of upgrade because the data would be coming from
> >> a different URL.
> > The url is fixed in the code and not a config setting?
> >
> > That was a good idea wasn't it?
>
> How many times has someone posted a message to the list saying,
> "mythfilldatabase isn't working and I'm in the US," and the eventual
> solution turned out to be, "You're requesting data from the wrong URL.
> You need to change the URL in your configuration settings"?
>
> Zero.  Oh.  Well, then, maybe it was a good idea.

:)
but, since it 'will' need to be modified this time, maybe it makes
sense to put it in the config somewhere instead of in the code.  who
knows, maybe the new data solution will be able to be piggybacked
worldwide and distributed so Myth users in other countries could use
it too.  although, being a URL, that may be moot since anyone with
access to the interWeb should be able to access it...
but it's usually good design practice to not have hardcoded values...


More information about the mythtv-users mailing list