| --- | Log | opened Thu Mar 18 00:00:38 2004 |
| 00:02 | billytwowilly | | hmm. I wonder what channel polar69 thought he was talking in that is named something similar to #mythtv??;) |
| 00:13 | hadees | i think he saw the thing that says this isn't a support channel |
| 00:19 | --- | <<-- anduin [~awithers@ns1.anduin.com] has quit (Read error: 110 (Connection timed out)) |
| 00:26 | --- | ---> hfb [~hfb@adsl-209-78-209-72.dsl.lsan03.pacbell.net] has joined #mythtv |
| 00:55 | hadees | how much control of mythtv does mfd have? |
| 00:55 | thor | all you myth belong to us |
| 00:56 | hadees | thor: can mfd pass keypress or how ever mythtv gets input |
| 00:56 | thor | nope |
| 00:56 | billytwowilly | | will mfd be in 0.15? |
| 00:56 | thor | I think you want to look at libmfdclient |
| 00:56 | thor | hopefully |
| 00:57 | hadees | could mfd control that stuff? |
| 00:57 | thor | which "stuff" |
| 00:57 | billytwowilly | | just music though right? not whole video/music etc? |
| 00:57 | thor | ? |
| 00:57 | thor | heh, not for 0.15, nope |
| 00:57 | billytwowilly | | that's an awesome start man. Good work. |
| 00:58 | hadees | thor: could mfd be programed with a plugin to allow it to do things like change the channel |
| 00:58 | thor | it will be, at some point |
| 00:59 | Chutt | mdz, ah, why'd you forward that to me? |
| 01:00 | hadees | thor: would that be a mfd plugin or would that be in the main part of mfd? |
| 01:00 | --- | <<-- voip [~voip@c-67-169-241-96.client.comcast.net] has quit (Read error: 54 (Connection reset by peer)) |
| 01:00 | thor | there would be a plugin that can talk to a mythbackend to get video content |
| 01:01 | thor | the interaction would have to include a way to send control stuff |
| 01:01 | thor | but none of this is very well thought out |
| 01:01 | | * billytwowill is very excited about mfd |
| 01:01 | thor | (trying to finish core stuff, and the music stuff) |
| 01:01 | hadees | could it also control the frontend? |
| 01:01 | Chutt | i think it should be the other way 'round |
| 01:02 | thor | heh, well, there you go |
| 01:02 | Chutt | frontend should still talk to the backend for tuner stuff |
| 01:02 | thor | yup |
| 01:02 | Chutt | unless you're going to make mfd play video |
| 01:02 | Chutt | but i dunno how well that'd work |
| 01:02 | thor | possibly audio of video |
| 01:02 | thor | but not anytime soon |
| 01:02 | hadees | i just want to hook up a remote that talks over wireless internet |
| 01:03 | hadees | and controls the frontend |
| 01:03 | thor | "remote" being what kind of device ? |
| 01:03 | hadees | a windows ce handheld |
| 01:03 | Chutt | that's probably easier through the frontend |
| 01:04 | thor | run mfd, point CE browser at http://mfd_ip:2345 |
| 01:04 | thor | play music |
| 01:04 | thor | (then bug o_cee to make it not quite so ugly) |
| 01:05 | thor | next, write CE application that links to libmfdclient |
| 01:05 | thor | (that would take a little longer) |
| 01:05 | thor | :-) |
| 01:05 | hadees | there already is an app |
| 01:05 | thor | could rephrase that in the form of a question |
| 01:08 | hadees | netremote.org is the program, all it needs is a plugin that speaks mfdp |
| 01:08 | thor | heh, well all mfdp is good for is for finding other services/protocols running on the mfd |
| 01:09 | thor | autodiscover mfdp service, connect, ask it for mdcap, daap, audio control, etc. |
| 01:09 | hadees | yeah i wasn't sure if thats what i wanted |
| 01:10 | thor | but all of that is "supposed to be" abstracted in libmfdclient |
| 01:10 | thor | which will just tell you when new content is available |
| 01:11 | hadees | so where would i start if i wanted to get mfd to control the frontend? write a mfd plugin and tie it into mythfrontend? |
| 01:12 | hadees | nothing fancy just have mfd be able to do everything the remote or keyboard could do |
| 01:12 | Chutt | write a tiny little thing for mythfrontend, instead |
| 01:12 | thor | yeah |
| 01:12 | thor | you really just need a key pusher |
| 01:12 | Chutt | yup |
| 01:13 | Chutt | something to inject stuff into the event loop |
| 01:13 | thor | vnc? |
| 01:13 | Chutt | heh, naw |
| 01:13 | Chutt | i dunno |
| 01:13 | Chutt | how best to do it |
| 01:13 | Chutt | ah well |
| 01:14 | Chutt | time for sleep |
| 01:14 | hadees | well the nice thing about mfd, i assume, would be the ablity to send information back to netremote |
| 01:14 | thor | heh, g'night |
| 01:14 | Chutt | why would that be any different than it being in the frontend? |
| 01:14 | hadees | but the key pusher is alittle more in my ball park |
| 01:15 | thor | you could write a tiny little protocol that says, "live, channel 3, volume 42" |
| 01:15 | thor | whatever |
| 01:16 | thor | but if you want to be able to do everything (schedule recordings, etc.) ... well ... |
| 01:16 | thor | you want a CE mythfrontend |
| 01:16 | thor | :-) |
| 01:17 | hadees | hehe, i would rather not have CE at all but why reinvent the wheel |
| 01:17 | hadees | and netremote is fairly advanced and free |
| 01:18 | billytwowilly | | CE? |
| 01:19 | thor | Windows |
| 01:19 | billytwowilly | | oh. windows ce. gotcha |
| 01:20 | billytwowilly | | boo ce, yay palm and open embedded;) |
| 01:20 | thor | zauraus ! |
| 01:21 | billytwowilly | | open embedded = open zaurus |
| 01:21 | billytwowilly | | it's just what they're calling the new build system they are making to make it easy to compile for multiple platforms.. atleast that's my understanding. |
| 01:25 | hadees | thor: do you know which file the event loop is in mythfrontend source dir? |
| 01:27 | thor | heh |
| 01:28 | thor | Qt event loop |
| 01:28 | thor | "it's everywhere" |
| 01:29 | hadees | so where should i inject my commands? |
| 01:29 | thor | heh |
| 01:30 | thor | you'd need to create a server socket in there somewhere |
| 01:30 | thor | and have it check for incoming connections/data etc. |
| 01:31 | thor | then probably stick QKeyEvents or QCustomEvents onto the event Queue |
| 01:31 | hadees | okay wheres the event Queue |
| 01:31 | thor | you just post an event |
| 01:31 | thor | QApplication::postEvent() |
| 01:32 | thor | and then the main dialog (live tv, whatever) would want to look for those events |
| 01:32 | thor | it's a bit complicated to explain if you've never written any Qt code |
| 01:32 | thor | but not that hard to do in actual practice |
| 01:33 | thor | (heh, I figured it out) |
| 01:33 | hadees | so where do you think the best place to post and event at |
| 01:33 | hadees | just somewhere in main.cpp? |
| 01:33 | thor | probably not |
| 01:34 | thor | you might want to create your little listener in main |
| 01:34 | thor | start with just some cout's in whatever dialog you want to be able to control |
| 01:34 | thor | presumably live tv ? |
| 01:35 | hadees | well i want to be able to control everything |
| 01:35 | thor | heh, well, up you go to MythDialog in libmyth |
| 01:36 | hadees | alright |
| 01:38 | hadees | i think i need to learn about Qt before i go further because i am not 100% sure how mythtv gets keys |
| 01:38 | hadees | thanks |
| 01:38 | hadees | later |
| 01:38 | --- | <<-- hadees [~hadees@pcp01500034pcs.univde01.de.comcast.net] has quit ("Leaving") |
| 02:14 | --- | ---> KeyserLaptop [~gazicm@d0.as6.klmz.mi.voyager.net] has joined #mythtv |
| 02:22 | --- | <<-- billytwowilly [~chris@h24-66-18-138.ed.shawcable.net] has quit ("Leaving") |
| 02:22 | --- | <<-- Morph [gareth@207.151.143.148] has quit ("Lost terminal") |
| 02:22 | --- | <<-- KeyserSoze [~gazicm@d136.as6.klmz.mi.voyager.net] has quit (Read error: 60 (Operation timed out)) |
| 02:25 | --- | ---> dja__ [~alden@dhcp9562217.columbus.rr.com] has joined #mythtv |
| 02:25 | --- | <<-- inf7 [~jdoss@c-24-11-160-179.client.comcast.net] has quit (Read error: 110 (Connection timed out)) |
| 02:32 | mdz | Chutt: that's the third spam/worm crap I've gotten today that was forged from you |
| 02:32 | mdz | Chutt: either you have some windows machine somewhere with me in your Outlook address book, or they're getting insidious in their choice of addresses to forge |
| 02:35 | --- | ---> _kch_ [~kch@175.Red-80-37-138.pooles.rima-tde.net] has joined #mythtv |
| 02:39 | --- | <<-- dja_ [~alden@dhcp9562217.columbus.rr.com] has quit (Read error: 110 (Connection timed out)) |
| 02:41 | --- | ---> Morph [gareth@207.151.143.148] has joined #mythtv |
| 02:44 | --- | ---> sc00p__ [~sc00p@adsl-4-88-212.cae.bellsouth.net] has joined #mythtv |
| 02:44 | --- | User: *** sc00p__ is now known as sc00p |
| 02:52 | --- | <<-- sc00p_ [~sc00p@adsl-212-81-254.cae.bellsouth.net] has quit (Read error: 60 (Operation timed out)) |
| 03:55 | --- | ---> Itisme [~t@cc96378-a.hnglo1.ov.home.nl] has joined #mythtv |
| 03:55 | --- | <<-- Racer [~t@cc96378-a.hnglo1.ov.home.nl] has quit (Read error: 54 (Connection reset by peer)) |
| 04:10 | --- | Netsplit zelazny.freenode.net <-> irc.freenode.net quits: Husk1, sbh, bline, warlord-afk, santa| |
| 04:11 | --- | Netsplit over, joins: warlord-afk, bline, Husk1, santa|, sbh |
| 04:12 | --- | <<-- santa| [ozma@24-193-254-43.ucwphilly.rr.com] has quit (Read error: 60 (Operation timed out)) |
| 04:17 | --- | ---> santa| [~ozma@24-193-254-43.ucwphilly.rr.com] has joined #mythtv |
| 04:22 | Chutt | mdz, web page caches are standard for culling email addresses for stuff like that nowadays |
| 04:24 | --- | ---> choenig [~choenig@pD95F93E6.dip.t-dialin.net] has joined #mythtv |
| 05:04 | --- | ---> ahbritto [~ahbritto@adsl-64-161-117-108.dsl.snfc21.pacbell.net] has joined #mythtv |
| 05:11 | --- | <<-- ahbritto [~ahbritto@adsl-64-161-117-108.dsl.snfc21.pacbell.net] has quit (Client Quit) |
| 05:35 | --- | <<-- gfiend [~donavan@sdn-ap-011ilchicP0452.dialsprint.net] has quit ("Leaving") |
| 05:36 | --- | ---> GeckoFiend [~donavan@sdn-ap-011ilchicP0452.dialsprint.net] has joined #mythtv |
| 06:17 | o_cee | hiya |
| 06:19 | --- | <<-- mdz [~mdz@68-64-159-24.vnnyca.adelphia.net] has quit (Read error: 60 (Operation timed out)) |
| 06:23 | --- | ---> mdz [~mdz@68-64-159-24.vnnyca.adelphia.net] has joined #mythtv |
| 08:36 | --- | <<-- mdz [~mdz@68-64-159-24.vnnyca.adelphia.net] has quit (Read error: 60 (Operation timed out)) |
| 09:05 | --- | ---> scy [~scy@p508BEF82.dip.t-dialin.net] has joined #mythtv |
| 09:05 | --- | <<-- scy [~scy@p508BEF82.dip.t-dialin.net] has quit (Client Quit) |
| 09:29 | --- | <<-- hfb [~hfb@adsl-209-78-209-72.dsl.lsan03.pacbell.net] has quit ("Client exiting") |
| 09:38 | --- | ---> mdz [~mdz@68-64-159-24.vnnyca.adelphia.net] has joined #mythtv |
| 10:06 | --- | ---> schultmc [~schultmc@zealot.progeny.com] has joined #mythtv |
| 10:15 | --- | ---> Ksoze [~gazicm@d133.as6.klmz.mi.voyager.net] has joined #mythtv |
| 10:34 | --- | <<-- KeyserLaptop [~gazicm@d0.as6.klmz.mi.voyager.net] has quit (Read error: 110 (Connection timed out)) |
| 10:36 | --- | ---> mecraw__ [~mecraw@69.2.235.2] has joined #mythtv |
| 11:13 | --- | ---> steelep [~signwatch@69.26.192.55] has joined #mythtv |
| 11:14 | --- | ---> hfb [~hfb@lsanca1-ar2-4-60-001-120.lsanca1.dsl-verizon.net] has joined #mythtv |
| 11:23 | --- | ---> killerbun [killerbunn@port149.ds1-arno.adsl.cybercity.dk] has joined #mythtv |
| 11:31 | --- | <<-- _kch_ [~kch@175.Red-80-37-138.pooles.rima-tde.net] has quit ("Terminando cliente") |
| 11:43 | --- | ---> bbeattie [~bbeattie@204.176.204.140] has joined #mythtv |
| 12:00 | --- | ---> william [500@66.162.175.19] has joined #mythtv |
| 12:20 | --- | <<-- Husk1 [~tcg@aerg-annexe2.canberra.edu.au] has quit (Read error: 60 (Operation timed out)) |
| 12:20 | --- | <<-- killerbun [killerbunn@port149.ds1-arno.adsl.cybercity.dk] has quit (Read error: 110 (Connection timed out)) |
| 12:35 | --- | <<-- william [500@66.162.175.19] has quit ("Leaving") |
| 13:18 | --- | ---> inf7 [~jdoss@c-24-11-160-179.client.comcast.net] has joined #mythtv |
| 13:21 | --- | ---> lmatter [~lmatter@inet-netcache2-o.oracle.com] has joined #mythtv |
| 13:42 | --- | User: *** warlord-afk is now known as warlord |
| 14:50 | --- | ---> gfiend [~donavan@sdn-ap-023ilchicP0396.dialsprint.net] has joined #mythtv |
| 15:04 | --- | ---> anduin_ [~awithers@ns1.anduin.com] has joined #mythtv |
| 15:05 | --- | User: *** anduin_ is now known as anduin |
| 15:09 | --- | <<-- GeckoFiend [~donavan@sdn-ap-011ilchicP0452.dialsprint.net] has quit (Read error: 113 (No route to host)) |
| 15:41 | --- | <<-- AridWrk [~josh@h24-68-223-95.gv.shawcable.net] has quit ("Leaving") |
| 15:59 | --- | <<-- gfiend [~donavan@sdn-ap-023ilchicP0396.dialsprint.net] has quit ("Leaving") |
| 16:22 | --- | ---> G-funk|laptop [~hatlevip@dsl-152-134.resnet.purdue.edu] has joined #mythtv |
| 16:43 | --- | <<-- lmatter [~lmatter@inet-netcache2-o.oracle.com] has quit ("Leaving") |
| 16:45 | --- | <<-- choenig [~choenig@pD95F93E6.dip.t-dialin.net] has quit (Remote closed the connection) |
| 17:07 | --- | ---> choenig [~choenig@pD95F93E6.dip.t-dialin.net] has joined #mythtv |
| 17:33 | --- | <<-- jeffpc [~jeffpc@ool-44c218a8.dyn.optonline.net] has quit (Remote closed the connection) |
| 17:45 | --- | ---> decoy [~decoy@D5769C36.kabel.telenet.be] has joined #MythTV |
| 17:51 | --- | ---> AridWrk [~josh@h24-68-223-95.gv.shawcable.net] has joined #mythtv |
| 17:51 | --- | User: *** Ksoze is now known as KeyserSoze |
| 17:52 | --- | <<-- ShockValue [~ShockValu@c-24-16-161-250.client.comcast.net] has quit (Read error: 60 (Operation timed out)) |
| 18:07 | --- | ---> X-trem3 [X-trem3@194.176.185.226] has joined #mythtv |
| 18:12 | --- | <<-- choenig [~choenig@pD95F93E6.dip.t-dialin.net] has quit (Remote closed the connection) |
| 18:16 | --- | ---> KeyserLaptop [~gazicm@d72.as6.klmz.mi.voyager.net] has joined #mythtv |
| 18:21 | --- | <<-- KeyserSoze [~gazicm@d133.as6.klmz.mi.voyager.net] has quit (Read error: 104 (Connection reset by peer)) |
| 18:24 | --- | ---> jeffpc [~jeffpc@ool-44c218a8.dyn.optonline.net] has joined #mythtv |
| 18:34 | --- | ---> santa [~ozma@24-193-254-43.ucwphilly.rr.com] has joined #mythtv |
| 18:35 | --- | <<-- schultmc [~schultmc@zealot.progeny.com] has quit ("Client exiting") |
| 18:39 | --- | <<-- santa| [~ozma@24-193-254-43.ucwphilly.rr.com] has quit (Read error: 110 (Connection timed out)) |
| 18:48 | --- | <<-- AridWrk [~josh@h24-68-223-95.gv.shawcable.net] has quit (Read error: 104 (Connection reset by peer)) |
| 18:48 | --- | <<-- mecraw__ [~mecraw@69.2.235.2] has quit ("Trillian (http://www.ceruleanstudios.com)") |
| 18:53 | --- | ---> dakeyras [dakeyras@ephesus.rh.rit.edu] has joined #mythtv |
| 19:04 | --- | ---> AridWrk [~josh@h24-68-223-95.gv.shawcable.net] has joined #mythtv |
| 19:26 | Chutt | oh my |
| 19:26 | Chutt | a typo-less email from stan |
| 19:26 | decoy | hi Chutt |
| 19:34 | --- | <<-- steelep [~signwatch@69.26.192.55] has quit ("me is bugging out") |
| 19:36 | thor | heh |
| 19:36 | thor | must have taken him all day |
| 19:38 | thor | but he's _still_ got the quote wrong |
| 19:38 | Chutt | heh |
| 19:52 | Chutt | hrm |
| 19:52 | Chutt | mdz, hey, you around? |
| 19:52 | mdz | Chutt: yep |
| 19:52 | mdz | what'd I break now? |
| 19:52 | --- | <<-- hfb [~hfb@lsanca1-ar2-4-60-001-120.lsanca1.dsl-verizon.net] has quit (Remote closed the connection) |
| 19:53 | Chutt | nothin :p |
| 19:53 | Chutt | i was wondering if you were going to do that date/time splitting |
| 19:53 | Chutt | i'd be able to test it this weekend, if you were wanting someone else to do that |
| 19:54 | mdz | yeah, my problem is that I can't break my backend, so I can't test |
| 19:54 | Chutt | heh |
| 19:54 | mdz | unless there's an easy way I can run the scheduler with no capture cards |
| 19:54 | Chutt | well, needs em defined |
| 19:54 | Chutt | to run =0 |
| 19:54 | decoy | hey guys, sorry to bother you here, but is any of you running ivtv on a 2.6 kernel ? |
| 19:54 | Chutt | err, =) |
| 19:55 | Chutt | use 2.4 |
| 19:55 | decoy | i have SATA hdd, that sucks in 2.4 :( |
| 19:56 | pigeon | hmm, i thought there's support for sata in 2.4 too? |
| 19:56 | decoy | very bad |
| 19:56 | pigeon | is there a way to check? |
| 19:57 | decoy | it sees it as scsi |
| 19:57 | pigeon | hmm, mine appears in the ide |
| 19:57 | decoy | and i've read on several places that there are many problems |
| 19:57 | --- | <<-- poptix [poptix@techmonkeys.org] has quit (Read error: 110 (Connection timed out)) |
| 19:57 | decoy | so i'd prefer to go try to find a 2.6 solution before going to 2.4 |
| 19:58 | pigeon | hmm, ok. |
| 19:59 | pigeon | i always wonder, the sata hdd works, but is it actually utilizing sata's stuff. |
| 19:59 | Chutt | mdz, well, you _could_ not install the backend |
| 19:59 | Chutt | just run it from the compile dir |
| 19:59 | Chutt | and disable the stuff that has it ask an existing backend for the schedule |
| 19:59 | Chutt | and do -printsched or whatnot |
| 20:00 | Chutt | but, i'd be happy to test it |
| 20:03 | --- | ---> poptix [poptix@techmonkeys.org] has joined #mythtv |
| 20:05 | mdz | Chutt: ok, I'll take a shot at it |
| 20:09 | --- | <<-- G-funk|laptop [~hatlevip@dsl-152-134.resnet.purdue.edu] has quit ("Leaving") |
| 20:09 | mdz | hmm, backend crashed |
| 20:10 | mdz | after a slow of "ran out of free AUDIO buffers :-(" |
| 20:10 | mikegrb | mdz: call the wrecker? |
| 20:10 | mdz | slew |
| 20:11 | mdz | I'm tempted to get rid of that daemon(3) call so that mythbackend can leave a core |
| 20:31 | --- | <<-- AridWrk [~josh@h24-68-223-95.gv.shawcable.net] has quit ("Leaving") |
| 20:42 | --- | ---> krash314 [~krash314@c66.190.52.13.jvl.wi.charter.com] has joined #mythtv |
| 20:43 | --- | User: *** X-trem3 is now known as JohnyBravo |
| 20:49 | mdz | hmm, mysql doesn't seem to let you rename a column |
| 20:51 | mdz | ah, yes it does. sql-92 doesn't |
| 20:59 | --- | ---> Captain_Murdoch_ [~cpinkham@ip68-225-191-68.hr.hr.cox.net] has joined #mythtv |
| 21:13 | Chutt | stupid interview questions |
| 21:15 | Chutt | i hate realizing the answer after the interview's over |
| 21:15 | Chutt | stupid questions |
| 21:15 | mdz | Chutt: title_pronounce is added by the migration code, but is not in the CREATE TABLE |
| 21:16 | thor | "What would you say your main weakness is?" |
| 21:16 | thor | participating in this interview |
| 21:16 | Chutt | naw |
| 21:16 | Chutt | guy was asking the silly brain teasers |
| 21:16 | thor | "How many ping pong balls can you fit in a 747?" |
| 21:16 | Chutt | a lot |
| 21:17 | thor | bravo |
| 21:17 | mdz | Chutt: if it's convenient for you to add it, please go ahead; my copy is all hacked up right now |
| 21:17 | --- | <<-- dakeyras [dakeyras@ephesus.rh.rit.edu] has quit () |
| 21:17 | Chutt | mdz, the main inserts don't have everything |
| 21:18 | Chutt | the migration code is supposed to be run all the time |
| 21:18 | mdz | hmm, I see. it only goes to 1003 |
| 21:18 | mdz | that's a little weird, but ok |
| 21:18 | Chutt | yeah |
| 21:19 | Chutt | figured that was easier than modifying two sets of sql instructions |
| 21:20 | mdz | as long as it ends up the same |
| 21:24 | mdz | any particular reason that guidegrid & GetProgramRangeDateTime use strings rather than QDateTime? |
| 21:24 | mdz | if not, I'm going to change it |
| 21:35 | Chutt | early code that used the sql timestamp format instead of having qt convert to it |
| 21:35 | Chutt | is the reason |
| 21:36 | --- | ---> billytwowilly [~chris@h24-66-18-138.ed.shawcable.net] has joined #mythtv |
| 21:39 | --- | ---> Husk1 [~tcg@aerg-annexe2.canberra.edu.au] has joined #mythtv |
| 21:39 | mdz | ok, already changed it |
| 21:40 | Chutt | heh |
| 21:40 | Chutt | allright =) |
| 21:40 | Chutt | hrmph |
| 21:40 | Chutt | i think i just missed one of the questions this guy asked |
| 21:40 | thor | heh |
| 21:40 | thor | 42 |
| 21:40 | thor | ! |
| 21:40 | Chutt | ah well |
| 21:40 | thor | and mute your line in |
| 21:40 | thor | (for good measure) |
| 21:40 | Chutt | and trying to communicate pseudocode over the phone, well, sucks |
| 21:41 | thor | heh |
| 21:41 | Chutt | ah well |
| 21:41 | Chutt | i don't want to move, anyway |
| 21:41 | Chutt | screw dat |
| 21:42 | thor | anyone who walks away from an interview with you thinking you aren't a very good software developer has done a pretty bad interview |
| 21:42 | thor | full stop |
| 21:42 | Chutt | naw, it was just communication |
| 21:42 | thor | heh |
| 21:43 | Chutt | at least the 'tell me the algorithm to do X' part |
| 21:44 | thor | if you ask Bill Joy "how to do X", he'll probably wander off mumbling and come back with a new programming language a few months later |
| 21:45 | thor | but then again, not someone you'd want to hire :-) |
| 21:45 | mdz | oh yay |
| 21:46 | mdz | qsqlquery.prepare() will replace multiple instances of a bind variable |
| 21:46 | Chutt | yeah |
| 21:46 | mdz | I'm going to go around replacing some stuff with that |
| 21:46 | Chutt | and you don't have to escape stuff |
| 21:46 | thor | it works amazingly well |
| 21:47 | mdz | now why is there no .value("column name")? |
| 21:47 | mdz | that's the other thing that's a bitch in the current code; updating the column numbers |
| 21:48 | mdz | maybe because not all databases can do it |
| 21:48 | mdz | but poop on databases that don't |
| 21:51 | Chutt | updating what column numbers? |
| 21:51 | anduin | .value(1) |
| 21:51 | mdz | the ones where it's filling out a structure from the columns |
| 21:51 | mdz | .value(1), .value(2), etc. |
| 21:52 | Chutt | ah |
| 21:52 | Chutt | that makes sense |
| 21:57 | Chutt | hrm |
| 21:57 | Chutt | let's see, what to code |
| 21:59 | thor | heh |
| 21:59 | Chutt | ah,yeah, fixing the osdlistbtn for overscan |
| 21:59 | thor | and making a listbtn thing that will handle playlists ... that would be nice |
| 21:59 | thor | :-) |
| 21:59 | Chutt | eventually |
| 22:00 | thor | heh, the last of the Qt widgets |
| 22:00 | Chutt | 'side from config stuff |
| 22:00 | thor | yup |
| 22:02 | mdz | heh, someone's trying to trick me |
| 22:02 | mdz | there's a column in the SELECT that isn't used |
| 22:02 | mdz | so one of the numbers isn't used |
| 22:02 | Chutt | heh |
| 22:02 | Chutt | please don't break things =) |
| 22:03 | mdz | oh, it's used later on |
| 22:03 | mdz | this is pretty much guaranteed to break things; there are just too many tiny error-prone updates |
| 22:06 | mdz | hmmm |
| 22:07 | Chutt | hmm good, or hmmm bad? |
| 22:07 | mdz | what does GROUP BY with multiple columns do? |
| 22:07 | mdz | like an AND on them? |
| 22:07 | Chutt | which query? |
| 22:07 | mdz | progfind |
| 22:07 | mdz | selectShowData |
| 22:08 | Chutt | doesn't it just group by each of them? |
| 22:09 | mdz | ah, I suppose it does |
| 22:09 | mdz | I don't get that query |
| 22:09 | mdz | why is it using GROUP BY if it isn't using any functions? |
| 22:09 | mdz | isn't that the same as SELECT DISTINCT? |
| 22:10 | mdz | anyway I'm just adding startdate to the GROUP BY and ORDER BY |
| 22:13 | Chutt | and enddate? |
| 22:13 | Chutt | or are you leaving endtime as is? |
| 22:13 | Chutt | are you converting from timestamps, too? |
| 22:14 | mdz | I'm converting both |
| 22:14 | mdz | from a timestamp column to a time and a date |
| 22:15 | mdz | yeah, startdate and enddate in the GROUP BY, and startdate in the ORDER BY |
| 22:15 | Chutt | ok |
| 22:15 | Chutt | heh |
| 22:15 | Chutt | that australian company emailed me |
| 22:15 | Chutt | says they're not hiding the fact that they're using mythtv |
| 22:16 | Sir-Al | for what |
| 22:16 | Chutt | read the users list. |
| 22:16 | Sir-Al | k |
| 22:17 | --- | <<-- Sir-Al [~EXiT@h24-81-252-139.vw.shawcable.net] has quit (Remote closed the connection) |
| 22:18 | anduin | mdz - are you going to update mythweb as well? |
| 22:19 | | * mdz groans |
| 22:19 | mdz | me and my bright ideas |
| 22:19 | Chutt | heh |
| 22:19 | | * mikegrb gives mdz a light bulb |
| 22:19 | Chutt | code in contrib/ probably |
| 22:19 | Chutt | too =) |
| 22:19 | Chutt | 'it'll be easy!' |
| 22:19 | mdz | forget contrib |
| 22:19 | mdz | Chutt: what's this hhmm50 stuff about? |
| 22:20 | Chutt | so it can use a > instead of a >= |
| 22:20 | mdz | why? |
| 22:20 | Chutt | didn't know how the date comparison was implemented |
| 22:20 | mdz | which? in mysql? |
| 22:20 | Chutt | yeah |
| 22:20 | mdz | the seconds are all 0 in the db |
| 22:21 | Chutt | right |
| 22:21 | mdz | I'm looking at GetProgramAtDateTime |
| 22:22 | mdz | and it's using the 50 with both < and > |
| 22:22 | Chutt | same thing |
| 22:22 | Chutt | < instead of <= |
| 22:22 | mdz | I don't understand why you couldn' t use >= and <= |
| 22:22 | Chutt | as i said, i didn't know how the date comparison stuff was implemented in mysql |
| 22:23 | Chutt | figured that i could easily be faster to do a < than a <= |
| 22:23 | Chutt | and it didn't use any extra time to use 50 for the seconds in the source |
| 22:23 | --- | ---> hadees [~hadees@pcp01500034pcs.univde01.de.comcast.net] has joined #mythtv |
| 22:23 | mdz | with them split out, it'll be using an index, and they should be equivalent in terms of performance |
| 22:24 | mdz | the 50 is annoying for me in a couple of places because otherwise I could use a QTime instead of a string |
| 22:24 | Chutt | yeah |
| 22:24 | Chutt | so, just use a qtime |
| 22:24 | Chutt | and remember to change all those >'s and <'s to >= and <= |
| 22:24 | mdz | and change to >= and <=? |
| 22:24 | mdz | ok |
| 22:24 | mdz | more little changes to break :-) |
| 22:26 | mdz | in mysql 4.1.1 or something they finally added TIME(date+time) and DATE(date+time) functions |
| 22:26 | mdz | about fucking time |
| 22:26 | mdz | so maybe one day we won't need TO_DAYS and TIME_TO_SEC everywhere |
| 22:26 | mdz | but a bunch of those are going away right now anyway |
| 22:27 | hadees | anyone know a good guide to qt programing? |
| 22:27 | Chutt | top story on slashdot, i assume |
| 22:29 | --- | ---> mdz_ [~mdz@69.167.148.1] has joined #mythtv |
| 22:32 | --- | ---> Netslayer [~Netslayer@c-24-126-201-221.we.client2.attbi.com] has joined #mythtv |
| 22:32 | --- | <<-- Husk1 [~tcg@aerg-annexe2.canberra.edu.au] has quit (Read error: 104 (Connection reset by peer)) |
| 22:33 | thor | http://doc.trolltech.com/3.3/index.html |
| 22:33 | mdz_ | thor: ? |
| 22:33 | thor | yup |
| 22:33 | mdz_ | oh, I was disconnected |
| 22:33 | mdz_ | and presumably missed something |
| 22:33 | thor | <hadees> anyone know a good guide to qt programing? |
| 22:34 | mdz_ | ignore me |
| 22:34 | Chutt | ok! |
| 22:35 | | * thor thinks of nothing but purple elephants when told not to think of purple elephants |
| 22:35 | mdz_ | now time to try to compile this mess |
| 22:35 | | * mdz_ goes for a drink |
| 22:35 | mikegrb | thor: think of sending me lots of money |
| 22:35 | thor | dum dee do do |
| 22:36 | Netslayer | is that a joke heh, top headline on /. qt programming |
| 22:36 | Netslayer | book review |
| 22:37 | Chutt | thor, was there any design decision not to make the uitype classes handle their own input? |
| 22:37 | thor | heh |
| 22:37 | thor | this "design decision" thing you speak of ? |
| 22:37 | Chutt | heh |
| 22:37 | Chutt | i dunno :p |
| 22:38 | thor | probably ineptitude in dealing with focus |
| 22:39 | mdz_ | Chutt: mysql will accept a date/time in Qt::ISODate format, right? |
| 22:39 | Chutt | i dunno |
| 22:39 | Chutt | i believe qt will convert appropriately |
| 22:39 | Chutt | won't it? |
| 22:39 | mdz_ | docs say it will |
| 22:39 | thor | they will not agree on the _same_ iso date format |
| 22:40 | mdz_ | in a bindValue, I can just give it the qdate or qtime |
| 22:40 | mdz_ | but in most places it's using a qstring, so I have to convert it |
| 22:40 | mdz_ | the default for .toString() is a text date, so if it does some automatic conversion I assume it does that as well |
| 22:40 | mdz_ | and that definitely won't work, but I'm pretty sure ISODate will |
| 22:40 | Chutt | hrm |
| 22:40 | Chutt | 'sec |
| 22:42 | mdz_ | I've hit proginfo, scheduler and progfind so far |
| 22:43 | mdz_ | I think maybe only scheduledrecording and tv_rec to go |
| 22:43 | Chutt | r = "'" + field->value().toDate().toString( Qt::ISODate ) + "'"; |
| 22:43 | mdz_ | oh and filldata, shit |
| 22:43 | Chutt | is how it prepares a QDate |
| 22:43 | --- | ---> anduin_ [~awithers@ns1.anduin.com] has joined #mythtv |
| 22:43 | --- | ---> ofer [~Ofer@66-91-231-83.san.rr.com] has joined #mythtv |
| 22:43 | Chutt | qtime and qdatetime are similar |
| 22:43 | thor | MMusicWatcher::getQtTimeFromMySqlTime() |
| 22:43 | mdz_ | yeah, this is more to do with removing the hhmm50s than the split itself |
| 22:43 | Netslayer | does mythmusic use it's own built in player or ffmpeg? |
| 22:44 | --- | <<-- anduin [~awithers@ns1.anduin.com] has quit (Nick collision from services.) |
| 22:44 | Chutt | ffmpeg isn't a player. |
| 22:44 | Netslayer | ohya |
| 22:44 | thor | in http://cvs.mythtv.org/cgi-bin/viewcvs.cgi/*checkout*/mfd/mfd/plugins/mmusic/mmusic.cpp?content-type=text%2Fplain&rev=1.35 |
| 22:44 | thor | is the best I could come up with |
| 22:44 | thor | they're both ISO, just different ISO's |
| 22:45 | --- | User: *** anduin_ is now known as anduin |
| 22:45 | --- | <<-- mdz [~mdz@68-64-159-24.vnnyca.adelphia.net] has quit (Read error: 110 (Connection timed out)) |
| 22:46 | Chutt | uimanagedtreelist, syncCurrentWithActive |
| 22:46 | Chutt | will that move the selection to the active, and move the tree around so that it's visible? |
| 22:46 | thor | yup |
| 22:46 | thor | used to be 0 button push |
| 22:47 | thor | (don't know what it is now) |
| 22:47 | Chutt | what's showWholeTree do? |
| 22:47 | Chutt | still in the managed tree list |
| 22:47 | thor | uses all the bins |
| 22:48 | thor | without out, you only see the "last" bin |
| 22:48 | Chutt | ah |
| 22:48 | Chutt | ok |
| 22:48 | thor | and you can't pop up or down |
| 22:48 | thor | so flat list |
| 22:48 | --- | <<-- JohnyBravo [X-trem3@194.176.185.226] has quit ("La Revedere !!!") |
| 22:48 | thor | drawn in the whole <area> |
| 22:49 | Chutt | ok |
| 22:51 | Chutt | thinking about replacing the stuff in the playback box, first |
| 22:51 | Chutt | or, i dunno |
| 22:51 | Chutt | maybe i should just do the selection screen first |
| 22:51 | Chutt | that might be a bit easier |
| 22:51 | thor | heh, the UIManagedTreeList:::draw() is terrible ... can't believe it's still in there |
| 22:58 | --- | <<-- billytwowilly [~chris@h24-66-18-138.ed.shawcable.net] has quit ("Leaving") |
| 23:09 | mdz_ | Chutt: in tv_play.cpp, TV::DoInfo, all of those variables seem to be unused. is that right? |
| 23:09 | mdz_ | the QStrings, I mean |
| 23:11 | Chutt | they do look to be unused |
| 23:14 | Captain_Murdo | | they probably pre-date the ProgramInfo::ToMap() method. |
| 23:15 | mdz_ | I guess gcc doesn't warn about them because instantiating a class can have side effects |
| 23:17 | mdz_ | Chutt: did you look any further at the qmake precompiled header stuff? |
| 23:18 | mdz_ | (he asked has he waited for stuff to compile) |
| 23:18 | Chutt | heh |
| 23:18 | Chutt | naw, since it's only with qt 3.3 |
| 23:19 | Chutt | and newer versions of gcc |
| 23:19 | Chutt | last i checked, debian only has qt 3.2 |
| 23:22 | --- | <<-- Octane [octane@dsl092-100-149.nyc2.dsl.speakeasy.net] has quit (Read error: 104 (Connection reset by peer)) |
| 23:26 | --- | ---> Octane [octane@dsl092-100-149.nyc2.dsl.speakeasy.net] has joined #mythtv |
| 23:31 | --- | <<-- Octane [octane@dsl092-100-149.nyc2.dsl.speakeasy.net] has quit (Read error: 104 (Connection reset by peer)) |
| 23:33 | mdz_ | I should buy a new athlon XP to replace the one that fried |
| 23:33 | mdz_ | they're so cheap |
| 23:35 | Chutt | heh |
| 23:38 | mdz_ | hardware never works anymore though |
| 23:38 | mdz_ | I hate dealing with it |
| 23:39 | Chutt | my tv box has developed a noticeable humming |
| 23:39 | Chutt | it goes up and down in intensity |
| 23:39 | Chutt | hardware sucks :p |
| 23:40 | mdz_ | I estimate this happened sometime around 2000 |
| 23:40 | mdz_ | before that, you could buy some parts, and put together a computer which worked reliably |
| 23:43 | --- | <<-- Captain_Murdoch_ [~cpinkham@ip68-225-191-68.hr.hr.cox.net] has quit () |
| 23:43 | Chutt | yay, stuff compiles |
| 23:43 | pigeon | ship it! |
| 23:44 | pigeon | :) |
| 23:44 | bitbyte | forkin apt |
| --- | Log | closed Fri Mar 19 00:00:02 2004 |