Back to Home / #mythtv / 2002 / 10 / Prev Day | Next Day
#mythtv IRC Logs for 2002-10-06

12:21-!-davehunn [] has quit [Read error: 110 (Connection timed out)]
12:24-!-davehunn [~david@pc1-mars1-4-cust156.mid.cable.ntl.com] has joined #mythtv
12:55-!-mdz [~mdz@209-6-103-23.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #mythtv
17:24<mdz>just started setting up mythmusic, looks good so far
17:24<mdz>would be nice if it gave a 'please wait' before spending many minutes scanning for songs
17:25<Chutt>heh
17:25<mdz>looks like oggs go very quickly, but mp3s are slow...I suppose it's necessary to read the whole file to get the id3?
17:26<mdz>I hate mp3
17:26<Chutt>yeah
17:26<Chutt>i don't have any mp3s
17:26<Chutt>anymore, that is
17:26<Chutt>i've reripped every CD i have with ogg or flac now, using mythmusic
17:26<mdz>yeah, all of the stuff that comes from my CDs is in ogg now
17:26<mdz>almost all, anyway. a couple of the CDs are in boxes and such
17:27<mdz>I have some recordings and such that are only in mp3 from a long time ago
17:27<Chutt>but, yeah, i think it needs to read in the entire mp3 file to grab the id3 tag
17:27<mdz>painful over NFS :-)
17:27<Chutt>i'm just using a library for that, though, so there's not much i can do 'bout it
17:27<Chutt>yeah, someone else said it took a couple days to index his collection over smb =)
17:28<mdz>all of the mythmusic dependencies are easily satisfied in Debian...except for mythtv, of course :-)
17:28<Chutt>yup
17:28<Chutt>that was kindof the idea when i was writing it
17:28<mdz>doesn't bother me much; it'll be a good incentive to get people off of mp3 and onto vorbis
17:28<Chutt>heh
17:28<Chutt>and, it really only should happen the first time it's run on a particular collection
17:29<Chutt>every other time it just checks for the filename to be present
17:29<mdz>I figured
17:30<mdz>hmm...it hit a directory that it couldn't read (wrong permissions) and appears to have stopped indexing
17:30<mdz>QDir::readDirEntries: Cannot read the directory: ...
17:31<mdz>and no more Checking: ... output
17:31<mdz>brb
17:45<mdz>grr, restarted it and it started over, then did the same thing on a different directory
17:45<Chutt>hrm
17:46<Chutt>dunno
17:46<Chutt>ah
17:46<Chutt>in mythmusic/main.cpp
17:46<Chutt>after line 85
17:46<Chutt>const QFileInfoList *list = d.entryInfoList();
17:47<Chutt>can you stick a line: if (!list) return;
17:47<Chutt>and see if that helps?
17:47<mdz>ok
17:47<mdz>I'll have to un-fix the permissions first ;-)
17:47<Chutt>heh
17:47<Chutt>that should work, i think
17:47<Chutt>still not completely familiar with qt =)
17:49<mdz>yep, seems to fix it
17:52<Chutt>cool, that'll be in my next commit, then
17:55<vektor>Qt rocks in so many ways.
17:56<Chutt>yeah
17:56<Chutt>first time i've used it, really
17:57<Chutt>previous experience was with gtk
17:57<Chutt>and this is sooooo much nicer =)
17:58<Chutt>haven't really had to crack open the source to figure out what the hell was going on in there yet
17:58<vektor>Exactly.
17:59<vektor>Qt programming is gorgeous.
17:59<vektor>KDE isn't as nice, unforunaately. They don't (or didn't) have as strict rules on style and cleanliness in their libs.
18:00<mdz>grr, scanning my entire collection for the 4th time now
18:00<Chutt>heh
18:00<Chutt>sorry =)
18:00<Chutt>it is more meant to be self contained
18:00<Chutt>and not really deal with an already existing music collection
18:00<mdz>this one was my fault; it failed to open musicmenu.xml and quit before saving anything to the db
18:02<Chutt>hrm
18:02<Chutt>it should be writing stuff to the db as it goes
18:03<mdz>hmm
18:04<mdz>so it does; I see stuff in there from the current run
18:04<mdz>I wonder why it started from the beginning then
18:04<Chutt>well
18:05<Chutt>it is going through and checking each file if it's in the db or not
18:05<Chutt>so it'll still print things out
18:05<mdz>it's still taking a long time on the mp3s, though
18:05<Chutt>hm
18:05<Chutt>dunno, then
18:05<mdz>well, this time it finished
18:05<mdz>so I'm not going to worry about it
18:12<Chutt>i wonder how hard it'd be to pull album cover art off of allmusic or whatnot
18:13<mdz>heh, synaesthesia is a nice touch
18:13<Chutt>yeah
18:13<mdz>the Play screen is a bit tricky to navigate with the keyboard
18:13<Chutt>yup, that it is
18:13<Chutt>i need to make up and down actually go up and down =)
18:13<mdz>heh
18:15<Chutt>binding each button to a keyboard key would work as well
18:15<Chutt>but my remote doesn't have enough buttons yet, until i make a better ir receiver
18:26<mdz>the XF86 keysyms would be useful here too
18:26<mdz>I haven't yet found a good key to bind 'space' to
18:26<mdz>my remote doesn't have a space bar :-)
18:26<mdz>it has a button with a checked box, though, that might work well. currently it sends KP_Enter and I use it as an enter key, like after entering a channel
18:27<mdz>I have my channel down/up keys bound to Next and Prior, since there are separate arrow keys
18:30<mdz>is there a more proper way to change installprefix than to just patch all of the occurrences?
18:32<mdz>it's going to need to go in /usr for the packages
18:57<Chutt>heh
18:57<Chutt>it is hardcoded everywhere =)
18:57<Chutt>changing that's the only way
19:07<mdz>have you experimented with any IR transmitters?
19:07<Chutt>no
19:08<mdz>being able to capture from the cable converter isn't too much fun unless I can change the channel on it as well
19:08<Chutt>that's up to someone who actually needs that to do =)
19:08<mdz>yeah, I'm just wondering about hardware
19:09<mdz>can an IrDA device be used for this sort of thing? they seem to have USB IrDA stuff for pretty cheap now
19:09<Chutt>wouldn't know
19:09<Chutt>might look around on the lirc site
19:09<mdz>I'm not too much into building this kind of thing
19:10<mdz>I looked around lirc, they are all about building stuff :-)
19:11<mdz>they are mostly about receiving, too, it seems
19:14<kleetus>i had the good fortune the other night to speak to vektor and review his website...are there any feelings about getting a 2:1 for mythtv in terms of refresh rate to frames...and keeping this sync'ed?
19:16<kleetus>mythtv works great for me...but i wanted to get rid of the jitter accompanied with not having the 60hz vert refresh out of sync with the frame rate..causing the jitter
19:16<Chutt>if someone wants to do the work, sure
19:16<Chutt>i've got enough to do at the moment
19:16<kleetus>such as when you watch CNN with the scrolling news at the bottom...making this smooth
19:16<kleetus>oh i understand, hehe...just something i am thinking about :)
19:17<Chutt>i definately wouldn't be opposed to it, if that's what you're asking
19:18<kleetus>well..i think this would involving patching X for this and Billy Biggs has done this..I am going to pick his brain on this
19:19<kleetus>he says this sort of scheduling might be 2.5 of the kernel
19:20<kleetus>might be in 2.5 rather
19:20<mdz>Chutt: argh...it's hardcoded all over the makefiles too :-)
19:20<Chutt>yup
19:20<Chutt>i don't need it anywhere else, so =)
19:20<kleetus>i understand tedious and non trivial
19:21<mdz>Chutt: then why does your configure script have a --prefix option? to tease me?
19:22<Chutt>yeah, pretty much
19:22<Chutt>basically, the configure script only does things related to libavcodec
19:22<mdz>thanks :-)
19:23<mdz>only 64 files to modify
19:23<mdz>a fertile garden for conflicts when merging new releases :-)
19:23<Chutt>it could probably be pulled out into a file or two
19:23<vektor>Patching X for what?
19:23<Chutt>if you tried hard enough :p
19:23<vektor>What did I do?
19:24<mdz>vektor: refresh sync
19:24<vektor>Ah. ;-)
19:24<vektor>Woopie! :)
19:24<kleetus>cool vektor's her
19:24<kleetus>here
19:24<mdz>if I let loose on your build system it would be autoconfiscated, and I don't think you would like it
19:24<Chutt>no
19:25<Chutt>i despise auto*
19:25<vektor>I'm not really here. Doing my DSP assignment.
19:25* vektorhates hwk.
19:25<mdz>this stuff is all generated from some IDE, though, isn't it?
19:25<mdz>qmake, according to the comments
19:25<kleetus>you were saying the other night about lower vert refreshes the havoc they play on sync
19:25<vektor>kleetus: Yes, yes I was.
19:25<Chutt>nope, it's not an ide
19:26<kleetus>vektor: I was expounding the virtue of your good work :)
19:26<vektor>kleetus: Thanks! :)
19:26<Chutt>it's just trolltech's little command line make helper app
19:26<Chutt>it's fairly nice, and it lets me not use autocrap
19:26<mdz>it does not have a man page
19:26<kleetus>anyway...your literatiure does not go into the future kernel enhancement
19:27<Chutt>there's quite a few docs about it on doc.trolltech.com/3.0/qmake-manual.html
19:27<mdz>funny, the input looks a lot like automake :-)
19:27<Chutt>yeah, it does
19:27<Chutt>but, it doesn't suck, so =)
19:28<mdz>at least automake has real docs
19:29<Chutt>automake has crappy info docs
19:29<mdz>it also has HTMLllllllllll
19:29<mdz>this keyboard is funny about caps lock sometimes
19:30<Chutt>generated from the info docs =)
19:30<Chutt>heh
19:30<mdz>yeah, it comes out reasonable
19:30<Chutt>i just have a deep-seated dislike of anything auto* related
19:30<mdz>that is not unusual, or unfounded
19:30<mdz>there is a lot to hate
19:32<vektor>auto* is a staple of true portability though.
19:32<vektor>(to UNIXalikes)
19:32<Chutt>not as its usually used, though
19:32<vektor>True.
19:32<vektor>Most people do all this checking that never gets checked.
19:32<Chutt>'zactly
19:32<vektor>Plus, m4 sucks my bum.
19:33<vektor>And finally, I have a true dislike of 'info'.
19:33<Chutt>heh
19:33<vektor>That said, I still use auto* tools.
19:37<mdz>but here I've been looking through all 5 pages of docs for qmake and don't see how to set where thinsg are installed
19:38<mdz>what happens by default, if you don't set target.path, and how to change it? these kinds of things do not seem to be addressed in the docs
19:47<mdz>Chutt: where did helr.ttf come from, and what is the license on it?
19:47<mdz>Chutt: strings finds a Sun Microsystems copyright
20:39<Chutt>it's from open office
20:39<Chutt>it's _technically_ GPLd
20:39<Chutt>they can't revoke it on something already distributed
20:39<Chutt>feel free to replace it with something free-er if you want
20:48<Chutt>i think the debian people removed those fonts from other things, though
21:04<mdz>Chutt: yeah, the openoffice fonts turned out to be very not free
21:04<mdz>Chutt: but now we have ttf-freefont
21:05<mdz>Chutt: assuming helr.ttf is Helvetica, freefont's Serif should drop right in
21:05<mdz>or is it Sans...one of them
21:06<Chutt>heh
21:07<Chutt>long as it looks ok
21:09<mdz>that's your call; apt-get install ttf-freefont and see
21:24<vektor>helr.ttf is 'ok'.
21:25<mdz>vektor: 'ok'?
21:26<vektor>i don't think it's great for video
21:33<vektor>well, i'm having a difficult time making it look good.
21:33<vektor>well, that's a lie.
21:33<vektor>it's actually really neat to be able to composite text on live video.
21:33* vektorshould post my app
21:33<vektor>i'm trying to improve the 'border' code.
21:35-!-mdz [] has quit ["Client Exiting"]
21:44-!-mdz [~mdz@209-6-103-23.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #mythtv
21:48<vektor>So, I want to get an IR receiver.
21:48<vektor>What should I get?
21:49<mdz>an RF receiver :-)
21:50<vektor>Huh?
21:50* vektordoes not get the joke :)
21:50<mdz>I had been planning to get an IR receiver, but my video card came with an RF remote. I am using it or the same purpose and am pleased with it
21:51<vektor>How does it work under linux?
21:52<vektor>Is it like /dev/something, or fake keyboard input?
21:52<mdz>it is a USB device
21:52<vektor>Oh.
21:52<mdz>shows up as a USB keyboard and mouse
21:52<vektor>Weeeird ;-)
21:52<mdz>integrates much nicer than an IR device
21:52<vektor>Can you buy these things separately?
21:52<mdz>yes
21:52* vektorwould love to get something USB-ific.
21:52<mdz>I just saw one
21:52<vektor>Ok, from wherez?
21:52<vektor>Reet~
21:52<mdz>let me find you a URL
21:52<vektor>where?
21:53<vektor>thanks!
21:53<mdz>mine is ATI branded, but it is actually an X10 device I understand
21:53<vektor>Ewww, X10 ;-)
21:53<vektor>I thought they were cool like 10 years ago.
21:53<vektor>Then they like spammed the fuck out of me.
21:54<vektor>Like, every day.
21:54<vektor>Now I think they're less cool.
22:01<mdz>oh, ATI sells it standalone
22:01<mdz>http://www.ati.com/products/pc/remotewonder/
22:01<mdz>manufacturer and distributor notwithstanding, it works great
22:01<mdz>no line-of-sight problems either
22:01<mdz>and the range is good
22:01<mdz>it comes in very handy when I'm messing with mythtv and such things
22:02<mdz>because I can sit at my workstation in the next room and control mythtv running in the living room with the remote from my desk
22:02<vektor>Wow that looks really cool.
22:03<mdz>I figured it would sit in the closet along with the software bundle
22:03<mdz>but it turned out to be extremely useful
22:03<vektor>Is it heavy and annoying?
22:03<mdz>it is about the same weight as a standard remote
22:04<mdz>it is about the same width and height also
22:04<mdz>but it is thicker
22:04<vektor>Coool.
22:04<mdz>the bottom is rounded, though, so it is comfortable to hold
22:04<Chutt>i just want to build a little serial ir receiver, so i can use my universal remote
22:04<vektor>Chutt: Where can you get them?
22:04<vektor>I wouldn't mind a serial IR receiver.
22:04<Chutt>there's schematics on the lirc page
22:04<vektor>This remote wonder is like $50 canadian, afaict.
22:04<vektor>Expensive.
22:04<vektor>Schemantics??
22:04<vektor>Not for me, man.
22:04<mdz>came free with the video card
22:04* vektor== software, no hardware leet skillz
22:05<mdz>yeah, for some reason it is hard to buy them, everyone ends up building them
22:05<vektor>Fuck that. :)
22:05<Chutt>bah, like $15 worth of parts
22:05<vektor>I guess I could try... but damn.....
22:05<Chutt>the tv card came with a remote, but it's a crappy protocol
22:05<Chutt>it doesn't do general remote controls
22:07<vektor>ok lirc page has a list of hardware.
22:07<Chutt>that too
22:07<Chutt>the irman's like $40 us, and'll work with any remote
22:08<vektor>I need my serial port for my dumbterms.
22:08<vektor>So I don't know abnout serial ones.
22:08<vektor>Is the irman usb-based?
22:08<Chutt>it's serial, iirc
22:09<vektor>Dang.
22:09<vektor>see, i own 'dumbterm.net'.
22:09-!-mdz [] has quit ["Client Exiting"]
22:09<vektor>So it would be bad if I didn't have a dumbterm hooked up ;-)
22:17-!-mdz [~mdz@209-6-103-23.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #mythtv
22:33<kleetus>hey one note about building the lirc receiver....the radio shack IR receivers are bad about ambient light capture...you need to filter them pretty heavily
22:35<vektor>Dang.
22:35<vektor>I'll just buy something.
22:35<vektor>If I can get away with it.
22:55<mdz>Chutt: have I told you how excellent mythtv is?
22:59-!-nyquiljer [jer@12.211.16.232] has joined #mythtv
23:17<kleetus>I would have to agree with mdz...thanks for writing such an excellent program...and making it open source
23:18<kleetus>but you do realize you're killing Tivo, Ultimate and Replay Tv's revenue model...
23:18<kleetus>darn
23:18<mdz>kleetus: no, xmltv did that
23:19<nyquiljer>I imagine eventually all the plaes xmltv gets its listings from will take notice
23:20<mdz>I don't see the problem, really...the broadcasters should _want_ their listings to be freely publicized
23:20<mdz>so that people will find what they want, and watch their channel
23:20<nyquiljer>I know, youd think it would be that way
23:20<Chutt>zap2it makes a lot of their money selling those listings to other companies
23:20<Chutt>well, their parent company does
23:22<mdz>I just had a scheduled recording finish, and the program does not show up in the list of recordings for some reason
23:22<Chutt>have to exit the playback screen
23:22<mdz>hmm, it's not in the database either
23:22<Chutt>it won't update for you
23:23<Chutt>ah, heh
23:23<Chutt>never seen that happen
23:23<Chutt>i've got, oh, 40 gigs or so of shows recorded now =)
23:23<mdz>yeah, I have a bunch of other stuff recorded and it's all there
23:23<mdz>one recording just finished and another started immediately after
23:24<Chutt>first didn't show up, though?
23:24<Chutt>hm
23:24<mdz>second hasn't finished yet
23:24<Chutt>was the first a single record, did it get removed from that table?
23:25<mdz>heh, my query log is full of "SELECT data FROM settings..." every 1 second
23:25<mdz>makes it tough to see what's going on
23:25<Chutt>yeah
23:25<Chutt>heh
23:25<vektor>I just bought an 80G drive.
23:25<vektor>So I have 196gb of space in total, but most is used :)
23:26<Chutt>easiest way to figure out if there's been a change in the schedule
23:26<mdz>vektor: that happens with video :-)
23:26<vektor>Well this isn't video.
23:26<vektor>I just have alot of stuff.
23:26<vektor>I needed the 80 gigs for video :)
23:26<mdz>aha, it has a record in 'oldrecorded' but not in 'recorded'
23:27<mdz>what is the difference?
23:27<Chutt>weird
23:27<Chutt>oldrecorded is the list of everything you've ever recorded
23:27<Chutt>used to prune out dupes
23:28<kleetus>yeah i bought an 80g too...cheap...60 bucks...IBM 7200
23:28<mdz>that INSERT is all there is for several minutes before or after
23:29<mdz>hmm, it happens on a different connection than the normal mythtv noise
23:29<vektor>60 bucks?
23:29<mdz>is that normal? or does everything go over one pipe?
23:29<vektor>jeez, I got ripped :)
23:30<vektor>I paid $200 canadian, so like, $120 USD.
23:30<mdz>vektor: you did get ripped off
23:30<Chutt>each thread gets its own db connection
23:30<kleetus>well...i mean US dollars you're canadian vektor?
23:30<mdz>big disks are falling below $1/gig
23:30<vektor>Where should I buy drives?
23:30<mdz>vektor: www.pricewatch.com
23:30<Chutt>mdz, there should've been another query right before the oldrecorded
23:30<kleetus>yep..whee i got mine
23:30<Chutt>i buy all my hardware at newegg
23:31<mdz>newegg is pretty good, I bought my video card from them
23:31<Chutt>they don't overcharge for shipping, etc
23:31<mdz>for commodity stuff like hard drives with a good manufacturer warranty, I just go for the cheapest vendor which doesn't look too shady
23:31<kleetus>Chutt: does your 440Ti vid card judder with scrolling text?
23:31<Chutt>a little
23:31<mdz>Chutt: there is no other query anywhere near it
23:31<kleetus>doesn't distract your viewing?
23:31<Chutt>nope
23:32<kleetus>ok...thanks
23:32<Chutt>it'd be nice if it didn't
23:32<Chutt>but, whatever =)
23:32<mdz>is there any other tool which can read these mpeg-4 nuv files? I'd really like to be able to manipulate them
23:32<vektor>mdz: It's easy to build one.
23:32<Chutt>someone has to write that
23:32<vektor>I can write one if you like.
23:33<Chutt>it'd be really easy to adapt an existing .nuv reader for them
23:33<mdz>mencoder reads .nuv
23:33<mdz>and if it could read mythtv stuff I would be in great shape
23:33<vektor>EIDE 80Gb is $90usd on pricewatch...
23:33<vektor>So given that I picked mine up at a store, that's comparable.
23:33<mdz>vektor: oh, you bought from a store
23:34<vektor>(those are all 5400s too)
23:34<vektor>Yeah, aactually it was pretty funny.
23:34<kleetus>wow..I paid a bit less....but with shipping it was like 15
23:34<vektor>I walked into this little computer store and said "I need to store my leet warez, and I have alot of leet warez."
23:34<vektor>"do you sell big drives for warezing?"
23:34<kleetus>i wouldn't buy a 5400...there is a big performance hit, don't you all think?
23:34<vektor>and the guy gave me a funny look
23:34<mdz>I bought an 80GB IBM 7200RPM about 7 months ago for $150
23:35<mdz>they have come way down since then
23:35<Chutt>mdz, i don't see anything that makes the oldrecorded insert any different from the recorded one :(
23:35<mdz>Chutt: where does it happen in the code?
23:35<mdz>Chutt: do they both happen in the same place?
23:35<Chutt>libs/libmyth/programinfo.cpp
23:35<Chutt>exact same place
23:36<Chutt>last function in the file
23:36<mdz>yeah, that's weird
23:36<mdz>the fact that it happened in a separate connection is doubly weird
23:36<Chutt>it's supposed to be in a separate connection
23:37<Chutt>that was the tv object's db connection
23:37<mdz>oh, I didn't see that from the function
23:37<Chutt>well, those two inserts are supposed to happen in a different connection from the scheduler checking for updates
23:37<mdz>so it is supposed to open a new connection, and then the 'recorded' insert should be the first thing it does?
23:37<Chutt>saves me from doing excessive locking
23:37<kleetus>Chutt: what tv tuner card are you using?
23:37<Chutt>nope, the connection gets initialized when the tv object gets setup
23:38<Chutt>back when mythfrontend starts
23:38<mdz>ok, this is definitely wrong then
23:38<mdz>because I'm getting a Connect in the log immediately before the insert
23:38<Chutt>kleetus, a hauppauge wintv-radio as a primary card, and a ati tv wonder-ve
23:38<kleetus>ok...cool
23:38<Chutt>mdz, qt's sql stuff may disconnect/reconnect at will, i dunno
23:39<mdz>well, great
23:40<kleetus>as far as sql stuff, does this making opimizing mysql kind of difficult because there are so many connects/disconnects?
23:40<mdz>there would appear to be a bug somewhere
23:40<Chutt>i don't know anything about mysql
23:40<Chutt>mdz, find it and patch it? =)
23:40<mdz>Chutt: that would be the thing to do, yes
23:41<Chutt>heh
23:41<-- nyquiljer(jer@12.211.16.232) has left #mythtv
23:41<mdz>Chutt: if it happens again with the second recording, then maybe I will have something to go on
23:41<Chutt>ok, cool.
23:41<mdz>Chutt: but you know that if it does, and I add some debugging and restart myth, it will never ever happen again
23:41<Chutt>as it is right now, though, i don't see anything that could cause that
23:41<Chutt>yup
23:41<Chutt>heisenbugs suck
23:41<mdz>it looks like oldrecorded and recorded are in the same format. can I just copy the record from oldrecorded to fix the immediate problem?
23:42<Chutt>yup
23:42<kleetus>Chutt: have you experienced weirdness when you exit back to mythfrontend from tv watching then you try to go back into tv watching...weirdness i mean sometimes a bluescreen sometimes a green screen and sometimes a lockup?
23:42<Chutt>nope, never
23:43<kleetus>this usually happens when I switch back and forth really fast
23:43<vektor>doctor, it hurts when i do 'this'
23:43<vektor>doctor replies: don't do that
23:43<Chutt>heh
23:43<kleetus>heh
23:44<kleetus>fair enough
23:45* vektorsleep
23:45<Chutt>it shouldn't be hanging, though
23:45<Chutt>if you can reproduce it with debugging enabled
23:45<Chutt>and send me a backtrace, that'd be cool
23:45<kleetus>cool...
23:46<Chutt>just run it in gdb and hit ctl-c when it hangs
23:46<Chutt>anyway
23:46<kleetus>yep...I remember you skooling me on this one before:)
23:46<Chutt>i think i'll go back to playing starfox now =)
23:47<mdz>Chutt: what versions of the qt stuff are you using? unstable?