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