[04:10] <ojwb> hads: I'm trying to get your tv_grab_nz-py script to work with mythtv, but not having much success - are there some setup instructions somewhere?
[07:11] <hads> ojwb: I haven't configured it lately but last time I did mythtv-setup should run the grabber at the command line from which it was started so you need to switch back to that terminal and see if there is any output.
[07:12] <hads> It runs --configure and creates a config file in ~/.mythtv/$VIDEO_SOURCE.xmltv with lines for each wanted channel like so; channel=tv3.freeviewnz.tv
[07:13] <hads> All discussions that I'm aware of have taken place on the mythtvnz mailing list, there should be a few howtos in the archives there.
[07:15] <hads> Happy to help here or there or where ever.
[07:43] <ojwb> hads: thanks
[07:44] <ojwb> i have since asking found a howto from you in the archives there, but not having much luck
[07:44] <ojwb> starting again from scratch currently, as I'd managed to get some channels in twice by retuning
[07:52] <ojwb> hads: hmm, I found I'd managed to get channel!tv3.freeviewnz.tv etc, and changed the ! to = with sed
[07:52] <ojwb> now mythfilldatabase finds plenty of shows, but they don't show in the guide
[07:52] <ojwb> is that cached or something?
[07:52] <hads> Shouldn't be.
[07:52] <hads> Do you do SQL much?
[07:52] <ojwb> as little as I can
[07:53] <hads> Fair enough.
[07:53] <ojwb> it's not totally alien to me though
[07:53] <hads> Do you have mythweb installed?
[07:53] <ojwb> no
[07:53] <ojwb> let me restart the frontend just in case
[07:54] <hads> mythweb is convenient, it has settings screens including a channel list where you can see the xmltvids and channel numbers etc.
[07:54] <hads> You can do the same with SQL but mythweb is more convenient.
[07:55] <hads> You will need to assign channel numbers if you haven't already.
[07:58] <hads> In case you hadn't noticed mythtv isn't that much fun to set up.
[07:59] <ojwb> that much is starting to become clear
[07:59] <ojwb> I seem to have two versions of most channels now
[07:59] <ojwb> I assume one is the one I can watch and the other has listings
[08:00]  * ojwb installs mythweb
[08:00] <ojwb> oh, i already have it
[08:00]  * cloudy_nz is lazy & bought a Samsung TV with freeview & a media player
[08:01] <hads> They are nice but not quite the same featureset.
[08:01] <hads> ojwb: /mythweb/settings/tv/channels is the path you want
[08:02] <ojwb> ooh ta
[08:02] <ojwb> yes, i have two versions of most
[08:02] <hads> Are you running a DVB card?
[08:02] <ojwb> one lot with xmltvid and no channum
[08:02] <ojwb> the other with the other
[08:03] <ojwb> it's a DVB-T usb stick
[08:03] <ojwb> I have a DVB-S card, but I haven't tried that yet
[08:03] <hads> And if so you would have done a channel scan etc.
[08:03] <ojwb> yes
[08:03] <ojwb> and I have watching and recording working
[08:03] <ojwb> but no episode guide
[08:03] <hads> Then you want to copy the xmltvid to the ones with channel numbers
[08:03] <ojwb> except for the now and next on some channels
[08:03] <ojwb> yeah
[08:03] <ojwb> mad that it did this though
[08:04] <hads> It's a little bit skewed towards US users who use schedules direct
[08:04] <hads> XMLTV stuff doesn't quite work as smoothly
[08:05] <ojwb> what's callsign?
[08:05] <ojwb> should I copy that over?
[08:05] <hads> Another US thing, just make it the same as the name
[08:05] <ojwb> indeed - it seems the same as name for the real entries
[08:06] <hads> Once you copy the xmltvids over and run mythfilldatabase you should be good to go.
[08:06] <hads> Though if you have now/next data you might need to change another setting
[08:06] <hads> Uncheck "useonairguide"
[08:07] <ojwb> i disable that when I configured your script
[08:07] <ojwb> disabled
[08:07] <hads> Cool
[08:10] <ojwb> ok, that looks saner
[08:11] <hads> What happened was, mythfilldatabase will add a new channel for any new xmltv it finds in the data.
[08:11] <hads> *xmltvid
[08:12] <ojwb> oh, and because there were none for the existing channels, it just created new ones
[08:12] <hads> Yeah
[08:13] <ojwb> well, mythfilldatabase found 1293 first showings
[08:13] <ojwb> i don't seem to have listings yet
[08:13] <hads> Which is the reason the config file has the ! lines - so you can exclude a channel and it won't get automatically added all the time.
[08:14] <hads> Hmm, you should now I think.
[08:14] <ojwb> it seems to just have "NO DATA" everywhere in /mythweb/tv/list
[08:16] <ojwb> hads: can i easily see the data mythfilldatabase put there?
[08:16] <ojwb> i guess it's in mysql?
[08:17] <hads> Can you paste the mythfilldatabase output?
[08:17] <hads> Yes it is in SQL, one second.
[08:18] <hads> `mysql -u root mythconverg` assuming a root password isn't set
[08:18] <hads> then `SELECT COUNT(*) FROM program;`
[08:18] <ojwb> http://paste.debian.net/108357/ is the output
[08:19] <hads> 2011-02-21 21:17:56.439 No programs found in data.
[08:20] <hads> It didn't insert anything. If you run with `mythfilldatabase -v most` it should give you some more info
[08:23] <hads> I would say that those 1293 entries are from the useonairguide stuff that was there before.
[08:24] <hads> First thought for the reason it's not finding any data is that it's using the wrong config file.
[08:24] <ojwb> hmm, failing to work out how to tell mysql the password
[08:24] <hads> -p
[08:24] <ojwb> gah, the config file is all ! again
[08:24] <hads> Don't worry about mysql at the moment, we know you're not getting data.
[08:25] <ojwb> aha, -v most now scrolls loads of tv shows
[08:25] <ojwb> hurrah
[08:25] <hads> Wonder what overwrote your config.
[08:25] <ojwb> and i have listings in mythweb
[08:26] <hads> Neat
[08:26] <ojwb> cool, many thanks
[08:26] <ojwb> it's should be significantly more useful now
[08:26] <hads> No worries, have fun.
[08:27] <hads> Certainly will be
[08:27] <ojwb> this really shouldn't be so hard to set up
[08:28] <ojwb> not sure what can easily be done though
[08:28] <ojwb> i guess nz is a small "market"
[08:28] <hads> The dev community is a bit hostile, I have up contributing a while back.
[08:29] <hads> Still do NZ stuff with listing etc. but don't contribute to mythtv itself.
[08:29] <ojwb> the listings are certainly really useful
[08:29] <ojwb> i spent a while finding dead source
[08:30] <ojwb> +s
[08:30] <ojwb> or ones sky had taken down with legal threats
[08:30] <hads> Yeah, been there :)
[08:30] <ojwb> which were written in C#
[08:30] <ojwb> how come they leave you alone?
[08:30] <hads> I was running a site that got a C&D from Sky
[08:31] <hads> and took it down
[08:31] <ojwb> i guess they want to flog their pvrs, so don't appreciate the competition
[09:19] <ojwb> hmm, so either mythtv uses alsa (the default) i can't turn the volume up to be all the loud, or else I tell it to use pulseaudio and can turn the master volume above 100%, but then audio and video aren't in sync
[09:20] <ojwb> I thought we'd got beyond that years ago
[18:39] <ibeardslee> morning
[18:42] <snail> ibeardslee: morning
[19:15] <ajmitch> morning
[19:28] <ibeardslee> hads: that farmbot is awesome
[19:29] <snail> farmbot?
[19:29] <ibeardslee>  http://bit.ly/h4FpK3
[19:41] <hads> Yeah I thought that was neat
[19:41] <hads> Morning
[19:44] <mwhudson> morning
[19:45] <ibeardslee> after seeing my brother-in-law with his xmas pressie (radio controlled helicopter), I thought .. that'd be an interesting android project
[19:45] <ibeardslee> arduino
[19:45] <ibeardslee> gah
[19:46] <ibeardslee> sigh .. can I go home now?
[19:47] <hads> Sure
[19:47] <ibeardslee> although using android as the base controller talking to an arduino controller over wireless (of some sort)
[19:48] <hads> ibeardslee: http://aeroquad.com/
[19:49] <ajmitch> ibeardslee: more coffee?
[19:50] <ibeardslee> hads: sigh .. someone always does my ideas before I do
[19:50] <ibeardslee> I remember an idea I had for horseless carriages
[19:55] <mwhudson> and packing a few billion transistors into a little space?
[19:55] <ajmitch> that's just absurd
[19:55] <ajmitch> noone could make them that small
[22:35] <snail> the thing with that farmbot is that as a biologist, it's not even close to as elegant as the hundreds of ways seed is already dispersed, far easier to GE the plant than have a completely different toolchain
[22:46] <ojwb> morning