[mythtvnz] tv_grab_nz-py configuration issues
Nick Rout
nick.rout at gmail.com
Wed Dec 4 20:26:34 GMT 2013
On Thu, Dec 5, 2013 at 9:06 AM, Nick Wallingford <nickw at beekeeping.co.nz> wrote:
> Seeing recent list comments on this, I've been motivated to have another go
> at getting it working...
>
> I'm having trouble using the --configure option for the first run, as it
> seems to be choking on a non-ascii character - the macron in Maori, near as
> I can tell.
>
> _______________
>
> File "tv_grab_nz-py", line 226, in <module>
> use = raw_input('Use channel %s (%s)? [y/N]' % (channel[1], channel[0]))
> UnicodeEncodeError: 'ascii' codec can't encode character u'\u0101' in
> position 13: ordinal not in range(128)
> _______________
>
> Is this a result of my own locale setup, or something within the script?
>
> Alternatively, if someone can send me the config file they are using and let
> me know where it should 'live', I could do it that way...
>
> Thanks for your help.
Same reult here on a fresh install.
The config file lives in (if you are using *buntu)
~mythtv/.mythtv/XXXX.xmltv
where XXXX is the name of your video source, so mine is
~mythtv/.mythtv/FreeviewHD.xmltv
Unfortunately I don't have a sample right now and cannot recall the
exact format, but essentially it s series of lines of text, one for
each channel like:
channel=tv1.freeviewnz.tv
channel!chinesetv.freeviewnz.tv
Where = signifies you want that data, ! signifies that you don't.
However, as I say I am not sure that is the exact syntax until I get
home and look at the file there.
>
> Nick W.
> Tauranga
>
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz at lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
More information about the mythtvnz
mailing list