[mythtv] PATCH Potential DataDirect icon solution

Bruce Markey bjm at lvcm.com
Tue May 25 18:25:14 EDT 2004


Anduin Withers wrote:
>>More realistically, I'd like to see a better name for the script,
>>use default filenames and default args for something like:
>>
>>$ mkiconmap
>>$ mythfilldatabase -i -u
> 
> 
> I don't care what the script name is, if you like mkiconmap I'll rename it
> if I'm forced to send another patch, otherwise anyone committing it can
> change the name.

I can do this and the other minor changes...

> As for the params, allowing short params like you list requires more work.
> Param parsing in myth is done by hand with explicit dependencies on options
> starting with --.

Nope. Don't need it. Just thinking out loud...

>>I guess what I'm thinking is there is no point to having a default
>>name used by mythfilldatabase unless we tell users to use it.
> 
> 
> The default name is used by mythfilldatabase --export-icon-map as well, so
> there is a point (though it is small one).
> 
> 
>>As for "dni_", I see why you chose this. I think what would actually
>>happen is that if the docs say to use "myicons.xml" most people will
>>send in a "myicons.xml" file ;-).
>
> True, that is why it is a few places.

Right, I see and that brings up another question. I was going to
spend an hour building a new master. I was thinking I could just
grab major providers and major cities, import them then export
the merged list when I was done. However, it doesn't look like it
works that way. How do you suggest merging icon maps from different
sources?

> So basically the list of things you want:
>   - rename script
>   - script uses same default filename
>   - script grabs on run, by default

Will do.

--  bjm


More information about the mythtv-dev mailing list