/srv/irclogs.ubuntu.com/2011/02/21/#ubuntu-nz.txt

ojwbhads: 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?04:10
hadsojwb: 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:11
hadsIt runs --configure and creates a config file in ~/.mythtv/$VIDEO_SOURCE.xmltv with lines for each wanted channel like so; channel=tv3.freeviewnz.tv07:12
hadsAll 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:13
hadsHappy to help here or there or where ever.07:15
ojwbhads: thanks07:43
ojwbi have since asking found a howto from you in the archives there, but not having much luck07:44
ojwbstarting again from scratch currently, as I'd managed to get some channels in twice by retuning07:44
ojwbhads: hmm, I found I'd managed to get channel!tv3.freeviewnz.tv etc, and changed the ! to = with sed07:52
ojwbnow mythfilldatabase finds plenty of shows, but they don't show in the guide07:52
ojwbis that cached or something?07:52
hadsShouldn't be.07:52
hadsDo you do SQL much?07:52
ojwbas little as I can07:52
hadsFair enough.07:53
ojwbit's not totally alien to me though07:53
hadsDo you have mythweb installed?07:53
ojwbno07:53
ojwblet me restart the frontend just in case07:53
hadsmythweb is convenient, it has settings screens including a channel list where you can see the xmltvids and channel numbers etc.07:54
hadsYou can do the same with SQL but mythweb is more convenient.07:54
hadsYou will need to assign channel numbers if you haven't already.07:55
hadsIn case you hadn't noticed mythtv isn't that much fun to set up.07:58
ojwbthat much is starting to become clear07:59
ojwbI seem to have two versions of most channels now07:59
ojwbI assume one is the one I can watch and the other has listings07:59
* ojwb installs mythweb08:00
ojwboh, i already have it08:00
* cloudy_nz is lazy & bought a Samsung TV with freeview & a media player08:00
hadsThey are nice but not quite the same featureset.08:01
hadsojwb: /mythweb/settings/tv/channels is the path you want08:01
ojwbooh ta08:02
ojwbyes, i have two versions of most08:02
hadsAre you running a DVB card?08:02
ojwbone lot with xmltvid and no channum08:02
ojwbthe other with the other08:02
ojwbit's a DVB-T usb stick08:03
ojwbI have a DVB-S card, but I haven't tried that yet08:03
hadsAnd if so you would have done a channel scan etc.08:03
ojwbyes08:03
ojwband I have watching and recording working08:03
ojwbbut no episode guide08:03
hadsThen you want to copy the xmltvid to the ones with channel numbers08:03
ojwbexcept for the now and next on some channels08:03
ojwbyeah08:03
ojwbmad that it did this though08:03
hadsIt's a little bit skewed towards US users who use schedules direct08:04
hadsXMLTV stuff doesn't quite work as smoothly08:04
ojwbwhat's callsign?08:05
ojwbshould I copy that over?08:05
hadsAnother US thing, just make it the same as the name08:05
ojwbindeed - it seems the same as name for the real entries08:05
hadsOnce you copy the xmltvids over and run mythfilldatabase you should be good to go.08:06
hadsThough if you have now/next data you might need to change another setting08:06
hadsUncheck "useonairguide"08:06
ojwbi disable that when I configured your script08:07
ojwbdisabled08:07
hadsCool08:07
ojwbok, that looks saner08:10
hadsWhat happened was, mythfilldatabase will add a new channel for any new xmltv it finds in the data.08:11
hads*xmltvid08:11
ojwboh, and because there were none for the existing channels, it just created new ones08:12
hadsYeah08:12
ojwbwell, mythfilldatabase found 1293 first showings08:13
ojwbi don't seem to have listings yet08:13
hadsWhich 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:13
hadsHmm, you should now I think.08:14
ojwbit seems to just have "NO DATA" everywhere in /mythweb/tv/list08:14
ojwbhads: can i easily see the data mythfilldatabase put there?08:16
ojwbi guess it's in mysql?08:16
hadsCan you paste the mythfilldatabase output?08:17
hadsYes it is in SQL, one second.08:17
hads`mysql -u root mythconverg` assuming a root password isn't set08:18
hadsthen `SELECT COUNT(*) FROM program;`08:18
ojwbhttp://paste.debian.net/108357/ is the output08:18
hads2011-02-21 21:17:56.439 No programs found in data.08:19
hadsIt didn't insert anything. If you run with `mythfilldatabase -v most` it should give you some more info08:20
hadsI would say that those 1293 entries are from the useonairguide stuff that was there before.08:23
hadsFirst thought for the reason it's not finding any data is that it's using the wrong config file.08:24
ojwbhmm, failing to work out how to tell mysql the password08:24
hads-p08:24
ojwbgah, the config file is all ! again08:24
hadsDon't worry about mysql at the moment, we know you're not getting data.08:24
ojwbaha, -v most now scrolls loads of tv shows08:25
ojwbhurrah08:25
hadsWonder what overwrote your config.08:25
ojwband i have listings in mythweb08:25
hadsNeat08:26
ojwbcool, many thanks08:26
ojwbit's should be significantly more useful now08:26
hadsNo worries, have fun.08:26
hadsCertainly will be08:27
ojwbthis really shouldn't be so hard to set up08:27
ojwbnot sure what can easily be done though08:28
ojwbi guess nz is a small "market"08:28
hadsThe dev community is a bit hostile, I have up contributing a while back.08:28
hadsStill do NZ stuff with listing etc. but don't contribute to mythtv itself.08:29
ojwbthe listings are certainly really useful08:29
ojwbi spent a while finding dead source08:29
ojwb+s08:30
ojwbor ones sky had taken down with legal threats08:30
hadsYeah, been there :)08:30
ojwbwhich were written in C#08:30
ojwbhow come they leave you alone?08:30
hadsI was running a site that got a C&D from Sky08:30
hadsand took it down08:31
ojwbi guess they want to flog their pvrs, so don't appreciate the competition08:31
ojwbhmm, 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 sync09:19
ojwbI thought we'd got beyond that years ago09:20
ibeardsleemorning18:39
snailibeardslee: morning18:42
ajmitchmorning19:15
ibeardsleehads: that farmbot is awesome19:28
snailfarmbot?19:29
ibeardslee http://bit.ly/h4FpK319:29
hadsYeah I thought that was neat19:41
hadsMorning19:41
mwhudsonmorning19:44
ibeardsleeafter seeing my brother-in-law with his xmas pressie (radio controlled helicopter), I thought .. that'd be an interesting android project19:45
ibeardsleearduino19:45
ibeardsleegah19:45
ibeardsleesigh .. can I go home now?19:46
hadsSure19:47
ibeardsleealthough using android as the base controller talking to an arduino controller over wireless (of some sort)19:47
hadsibeardslee: http://aeroquad.com/19:48
ajmitchibeardslee: more coffee?19:49
ibeardsleehads: sigh .. someone always does my ideas before I do19:50
ibeardsleeI remember an idea I had for horseless carriages19:50
mwhudsonand packing a few billion transistors into a little space?19:55
ajmitchthat's just absurd19:55
ajmitchnoone could make them that small19:55
snailthe 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 toolchain22:35
ojwbmorning22:46

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!