Back to Home / #mythtv / 2008 / 07 / Prev Day | Next Day
#mythtv IRC Logs for 2008-07-14

---Logopened Mon Jul 14 00:00:18 2008
00:07-!-RungeKutta [] has joined #mythtv
00:30-!-jhulst [n=jhulst@unaffiliated/jhulst] has joined #mythtv
00:39-!-jhulst_ [n=jhulst@unaffiliated/jhulst] has quit [Read error: 113 (No route to host)]
00:47-!-joobie [] has joined #mythtv
01:13-!-kali67 [] has joined #mythtv
01:27-!-jhulst [n=jhulst@unaffiliated/jhulst] has quit [Read error: 113 (No route to host)]
01:31-!-superm1 [n=superm1@ubuntu/member/superm1] has joined #mythtv
01:39-!-purserj [] has quit ["leaving"]
01:39-!-kali67 [] has quit []
01:48-!-gnome42 [] has quit [Remote closed the connection]
02:00-!-RungeKutta [] has quit []
02:02-!-asathoor [] has joined #mythtv
02:04-!-otwin_ [n=otwin@] has joined #mythtv
02:04<asathoor>I have made a danish translation of /usr/share/mythtv/mythweb/modules/_shared/lang/Danish.lang - but where should I upload it? The present version is very incomplete.
02:11-!-otwin [n=otwin@] has quit [Read error: 110 (Connection timed out)]
02:11-!-otwin_ is now known as otwin
02:13-!-purserj [] has joined #mythtv
02:26<danielk22>asathoor: create a ticket on trac ( and make sure it is in the mythweb category.
02:28-!-edman007 [n=edman007@unaffiliated/edman007] has quit [Remote closed the connection]
02:36-!-edannenbe [] has joined #mythtv
02:38<asathoor>thanx daniel
02:39-!-asathoor [] has left #mythtv []
02:47-!-otwin_ [n=otwin@] has joined #mythtv
02:58-!-foxbuntu [] has quit ["Leaving"]
03:00-!-otwin [n=otwin@] has quit [Read error: 110 (Connection timed out)]
03:01-!-otwin_ is now known as otwin
03:38-!-joobie [] has quit [Read error: 110 (Connection timed out)]
03:40-!-lyricnz [] has joined #mythtv
03:55-!-Dibblah [] has joined #mythtv
04:18-!-noisymime [n=josh@nat/ibm/x-bd0a20b0235050f3] has quit [Read error: 110 (Connection timed out)]
04:20-!-joobie [] has joined #mythtv
04:29-!-PointyPumper [n=pintlezz@] has quit [Read error: 104 (Connection reset by peer)]
04:30-!-PointyPumper [n=pintlezz@] has joined #mythtv
04:56-!-rooaus [] has joined #mythtv
06:22-!-_gunni_ [] has joined #mythtv
06:39-!-|gunni| [] has quit [Read error: 110 (Connection timed out)]
06:58-!-MrGandalv [] has quit ["work"]
06:59-!-noisymime [] has joined #mythtv
07:24-!-vss [n=vss@] has quit ["Ex-Chat"]
07:47-!-joobie_ [] has joined #mythtv
07:53-!-joobie [] has quit [Read error: 113 (No route to host)]
08:27-!-nsaspook [] has quit [Remote closed the connection]
08:28-!-nsaspook [] has joined #mythtv
08:44-!-renato [n=renato@] has quit ["Ex-Chat"]
08:48-!-mzb_d800 [] has quit [Read error: 104 (Connection reset by peer)]
08:48-!-mzb_d800 [] has joined #mythtv
08:50-!-mzb_d800 [] has quit [Read error: 104 (Connection reset by peer)]
08:51-!-mzb_d800 [] has joined #mythtv
09:08-!-Cardoe [n=Cardoe@gentoo/developer/Cardoe] has joined #mythtv
09:18-!-gustave_ [] has joined #mythtv
09:25-!-joobie_ [] has quit ["This computer has gone to sleep"]
09:39-!-moodboom [] has joined #mythtv
09:44-!-jmk_ [n=jmk@] has joined #mythtv
09:45-!-mikecharest [i=8cf2fa0a@gateway/web/ajax/] has joined #mythtv
09:45-!-mikecharest [i=8cf2fa0a@gateway/web/ajax/] has left #mythtv []
09:46-!-mikecharest [i=8cf2fa0a@gateway/web/ajax/] has joined #mythtv
09:52-!-noisymime [] has quit [Read error: 110 (Connection timed out)]
10:18-!-mzb_d800 [] has quit [Read error: 104 (Connection reset by peer)]
10:18-!-mzb_d800 [] has joined #mythtv
11:05-!-stoth [] has joined #mythtv
11:13-!-gustave_ [] has quit [Read error: 104 (Connection reset by peer)]
11:18-!-iamlindoro_ [n=iamlindo@] has joined #mythtv
11:26-!-okolsi [n=mythtv@] has quit [Read error: 113 (No route to host)]
11:29-!-streamtrade [n=jsass@] has quit [Read error: 110 (Connection timed out)]
11:37-!-andreax [] has joined #mythtv
11:42-!-gnome42 [] has joined #mythtv
11:59-!-xris [n=xris@] has joined #mythtv
12:06-!-jgarvey [] has joined #mythtv
12:08-!-edannenbe [] has quit [Remote closed the connection]
12:14-!-mzb_d800 [] has quit [Read error: 104 (Connection reset by peer)]
12:14-!-mzb_d800 [] has joined #mythtv
12:19-!-foxbuntu [] has joined #mythtv
12:30<danielk22>woot! I just got a generic DB load working with MythUI! :)
12:30-!-kali67 [] has joined #mythtv
12:32<janneg>stuarta: hey, the schedule problem yesterday evening was a hostname as master backend
12:33*stuarta reads back up
12:33<janneg>it's good that trunk finally resolves hostname
12:33<stuarta>yes it is
12:36-!-stoth [] has quit ["This computer has gone to sleep"]
12:36<abqjp>It does? This means I can use a hostname instead of IP for the "master backend IP"?
12:37<janneg>I think so, probably also in the server ip setting
12:38<abqjp>That is nice.
12:38<janneg>you might even have to since the master backend might not detect that he is the master if those settings don't match
12:39-!-javatexan [] has joined #mythtv
12:43<GreyFoxx>danie: Generic DB Load ?
12:44<danielk22>Basically where I just need to define the table, wanted column, key column + key value
12:44<danielk22>instead of writing out a db query manually
13:01-!-iamlindoro_ [n=iamlindo@] has quit []
13:04<gbee>lots of news sites carrying an item about a new "Open Souce, Code Quality Checker" - when I dug into what this tool actually does it seems to amount to little more than a bunch of metrics, number of lines, % of comments, number of commits - that sort of stuff
13:05<gbee>not really what I'd call a "Code Quality checker" and certainly nothing new
13:07<gbee>heh, plus their website seems to be down
13:09-!-streamtrade [n=jsass@] has joined #MythTV
13:15-!-czth_ [n=dbrobins@nat/microsoft/x-cf97d686494e0a98] has joined #mythtv
13:22-!-stoth [] has joined #mythtv
13:25-!-kormoc [n=kormoc@unaffiliated/kormoc] has joined #mythtv
13:30-!-czth__ [n=dbrobins@nat/microsoft/x-cff64cf3379fa49b] has quit [Read error: 110 (Connection timed out)]
13:34-!-Hoodman [] has quit ["—I-n-v-i-s-i-o-n— 3.0 (March '08)"]
13:42-!-mzb_d800 [] has quit [No route to host]
13:42-!-mzb [] has joined #mythtv
13:44-!-kormoc_ [n=kormoc@unaffiliated/kormoc] has joined #mythtv
13:51-!-mzb [] has quit [Read error: 104 (Connection reset by peer)]
14:00-!-kormoc [n=kormoc@unaffiliated/kormoc] has quit [Read error: 110 (Connection timed out)]
14:05-!-jarle [] has quit [Remote closed the connection]
14:06-!-jarle [] has joined #mythtv
14:08-!-mzb [] has joined #mythtv
14:19-!-jarle [] has quit [Remote closed the connection]
14:20-!-czth_ [n=dbrobins@nat/microsoft/x-cf97d686494e0a98] has quit [Read error: 104 (Connection reset by peer)]
14:27-!-foxbuntu [] has quit [Remote closed the connection]
14:33-!-kormoc_ is now known as kormoc
14:35-!-jarle [] has joined #mythtv
14:44-!-ldiamond [] has joined #mythtv
14:44-!-ldiamond [] has left #mythtv []
15:00-!-dagar [] has quit [Read error: 113 (No route to host)]
15:00-!-dagar [] has joined #mythtv
15:19-!-huhlig [] has joined #mythtv
15:19-!-huhlig [] has left #mythtv ["Leaving"]
15:20-!-mattwire [] has joined #mythtv
15:24-!-robthebob [] has joined #mythtv
15:27-!-famicom [] has joined #mythtv
15:32<gbee>we need a better way of linking MythDialogBox buttons to actions, button numbers just don't work very well
15:41<danielk22>gbee: If I inherit from another window, it should contain all the children the inherited from window contains, right?
15:41<danielk22>hmm, that doesn't appear to be the case.
15:42-!-jarle [] has quit [Remote closed the connection]
15:42<danielk22>are there any examples of that somewhere?
15:42<gbee>not at the moment
15:43<danielk22>ah, so it may just be a bug..
15:43<gbee>are you using CopyFrom? or 'from=""' in the theme?
15:43<danielk22>How would I use CopyFrom ?
15:43<danielk22><window name="cardinputeditdigital" from="cardinputedit">
15:44<gbee>yeah, that won't work as we don't tend to load all windows in the theme at once, it has to have been loaded and still exist for from="" to find and use it
15:45<danielk22>IC so I would load "cardinputedit" but not Create it then load the window I want?
15:46<gbee>that should work ...
15:47<danielk22>and so it does :)
15:47-!-jarle [] has joined #mythtv
15:47<gbee>from= (& copyfrom) look for child of the same name belonging to the immediate parent, then it literally copies them
15:47<gbee>if they don't exist then it will fail
15:48<danielk22>and fail silently..
15:50<gbee>shouldn't fail silently, that's a bug - should be an error something like "Couldn't find object 'windowa' to inherit 'windowb' from"
15:50-!-mattwire [] has quit [Read error: 110 (Connection timed out)]
15:50<danielk22>and LoadWindowFromXML() should probably return false rather than true when it fails :)
15:51-!-mattwire [] has joined #mythtv
15:56<gbee>I'll take a look later to see if I can find out why it's not triggering an error
16:00<gbee>to let windows inherit from each other properly I might just have xmlparsebase do the loading of the first window, for normal widgets it's not a big issue as you are generally only going to copy from siblings or base definitions both of which will have been loaded
16:15-!-jarle [] has quit [Remote closed the connection]
16:15-!-jarle [] has joined #mythtv
16:21-!-mattwire [] has quit ["Leaving"]
16:39-!-foxbuntu [] has joined #mythtv
16:44-!-renato_ [n=renato@] has joined #mythtv
16:46<danielk22>The most convenient thing would be to have it follow the "from" tags and load any parent windows in turn. That way we're not loading windows we don't use, but do load the windows that we need.
17:02<gbee>yep, that's what I'm thinking
17:03<gbee>just a little sidetracked on the issue of adding callbacks or similar to mythdialogbox
17:04-!-andreax1 [] has joined #mythtv
17:08<gbee>Chutt: was there any particular reason why MythDialogBox uses events with button numbers instead of the slots used by the old MythPopupBox?
17:09<danielk22>gbee: Wouldn't hooking up a slot for each button become tedious when you have a lot of small dialog boxes with dynamically generated buttons?
17:10<gbee>it would be a lot less tedious than dealing with dynamically generated lists where you've no idea which button is going to be number 5 for example
17:11<danielk22>well if you add the button, you know exactly where it will be...
17:11<gbee>the current code assumes that the list is static, that button number 0 will always be the same, that the same number of buttons will appear in the list etc
17:13<danielk22>Plus having a slot for each button could bloat the code considerably and make the classes really ugly, filled with lots and lots of slots.
17:15<gbee>it's far from ideal, I'll agree, I'd welcome other ideas
17:16<gbee>consider the following, fairly simple example -
17:16<danielk22>why emit both types of signals?
17:17<danielk22>Then the dialog implementer can pick whichever is best in each case..
17:18<gbee>depending on the context, the menu either has 5 or 2 buttons, some menus are much more complex, every other item depends on some condition being true and organising that becomes messy
17:18<gbee>danielk22: that's what I'd propose
17:19<danielk22>k, i don't see any problem with that...
17:20<gbee>I like the customevent model for relatively static lists, but where the contents of the lists is context dependant it's harder to manage
17:21-!-andreax [] has quit [Read error: 110 (Connection timed out)]
17:21<danielk22>btw had you given any thought to how to handle help text for settings?
17:21<danielk22>I'm thinking of just adding a QString help to mythuitype ... any better ideas?
17:23-!-dekarl1 [] has joined #mythtv
17:24<gbee>maybe that's not a bad idea, I can't think of anything else right now
17:26-!-foxbuntu [] has quit ["Leaving"]
17:29<gbee>are you thinking about reimplementing the settings wizard for mythui, or laying out each settings page in the theme?
17:30<danielk22>gbee: I dunno, I'm just trying to emulate some of the functionality of the settings wizard for a single pane screen right now.. I'll try to generalize it a bit later.
17:31<gbee>I've given some thought to how the settings wizard might work if it was kept, specifically allowing themers to layout the page but requring a set amount space for the widgets to be laid out 'automatically'
17:31<gbee>so they'd have control other the background, style of the next/prev/cancel buttons, font of the help text and that sort of thing
17:31<danielk22>It's really ugly and non-functional at the moment; when I get it to the really ugly and half-way functional point I may have some idea of how best to organize things.
17:32<gbee>heh, yeah, it's not a task I envy
17:33<danielk22>Heh, it feels a bit 1970's to lay out widget locations by hand.
17:34<danielk22>oh, you said area is now respected by button graphics, right? I'll give that a try -- maybe I can see some of the button text then :)
17:36<gbee>depends, I can't actually remember what I said ;)
17:38-!-mikecharest [i=8cf2fa0a@gateway/web/ajax/] has quit [" ajax IRC Client"]
17:38-!-jmk_ [n=jmk@] has quit ["Leaving"]
17:41<gbee>currently a button scales to the size of the background image, I'm not sure if it should actually be the other way around, that the image scales to the button <area>
17:41<danielk22>ah, ok, so it's still "broken"
17:42-!-lyricnz [] has quit []
17:42<danielk22>yeah, I'd want it to scale to the <area> since I don't want to create an image for each of the hundreds of configuration buttons...
17:45<gbee>ok, no problem that's easy to fix
17:45<danielk22>cool :)
17:45<gbee>by button you mean MythUIButton?
17:46<danielk22>For instance the "Fetch channels from listings source" button
17:47<gbee>ok, done
17:48<gbee>suppose I should test it first though
17:48<danielk22>i'm going to need to sync from trunk anyway before using it, so take your time :)
17:51-!-joobie_ [] has joined #mythtv
17:51<gbee>I think the original logic was that certain button images wouldn't scale well without looking a bit ugly, but at least this way themers can define larger images if they need to but don't have to spend hours working on it if they don't
17:55<danielk22>gbee: is there any way to set hot keys, like "Ctrl-B" for back, "Ctrl-N" for next, like in the old settings code? Also what about TAB And SHIFT-TAB, should those also be handled by mythuiscreen ?
17:59<gbee>tab and shift-tab should be handled by mythuiscreen, hot keys could also be handled there but emit signals that can be connected to whatever makes sense for that particular screen?
17:59-!-purserj [] has quit [Read error: 113 (No route to host)]
17:59-!-purserj [] has joined #mythtv
17:59-!-jhulst [n=jhulst@unaffiliated/jhulst] has joined #mythtv
18:00<gbee>I didn't even know there were keys for back and next in the settings screens, so I've not thought about it
18:00<danielk22>gbee: well the hot keys should just be directed to the button that defines them.. then the button can handle it from there on out.
18:01-!-jgarvey [] has quit ["Leaving"]
18:01-!-Cardoe [n=Cardoe@gentoo/developer/Cardoe] has quit ["Leaving"]
18:02<danielk22>yeah, any buttons with an underlined character have a hot key.. I forget how Qt defines them, but most ui toolkits just look for ~C~ in the button label where C is any character. This also allows i18n to be used to define different keys in different locales..
18:04-!-The_Ball [] has quit [Read error: 110 (Connection timed out)]
18:04-!-noisymime [] has joined #mythtv
18:04-!-adante [] has quit [Connection timed out]
18:06<gbee>well I can add that functionality, mythuibutton can register hotkeys with the screen etc, I'll add it to the list
18:07<danielk22>gbee: not a high priority..
18:23<gbee>tired of dealing with themedmenu conflicts, I need to get that finished
18:29<danielk22>heh, gbee where is that xml doc, I sorely need to specify focus order for these screens.. :)
18:29-!-stoth [] has quit ["Leaving"]
18:31-!-reynaldo_ [] has joined #mythtv
18:33<gbee>focus order runs in according to the order in which the widgets are defined, I can see that being a problem where windows are inherited though?
18:34<danielk22>there is no way to set focus order yet?
18:34<gbee>ok, well there is currently no way to define a different order, I'll have to add that as well
18:34<danielk22>heh, I'm making a lot of work for you it seems :P
18:34<gbee>can have that done tomorrow maybe? It shouldn't take very long
18:35<danielk22>yeah, that would be great, I should have most of the DB stuff fleshed out by then
18:35<gbee>it's getting late here otherwise I'd do it tonight
18:38<reynaldo_>gbee: did you got the mythexp.h stuff I just wrote ?
18:39<reynaldo_>cant build external plugins, error I get is: /usr/local/include/mythtv/libmythui/mythmainwindow.h:8:21: error: mythexp.h: No such file or directory
18:39<reynaldo_>Im thinking I might be missing a copy of that file under mythtv/libmythui
18:40<gbee>it's in libmythdb
18:40<gbee>re-run "svn up" and then "svn stat" if it isn't fixed
18:45-!-reynaldo [] has quit [Read error: 110 (Connection timed out)]
18:50-!-jhulst [n=jhulst@unaffiliated/jhulst] has quit [Read error: 113 (No route to host)]
18:54-!-The_Ball [] has joined #mythtv
19:00-!-robthebob [] has quit [Read error: 113 (No route to host)]
19:03-!-huhlig [] has joined #mythtv
19:13-!-javatexan [] has quit [Read error: 104 (Connection reset by peer)]
19:19-!-noisymim1 [n=josh@nat/ibm/x-1a447e97281d1fb1] has joined #mythtv
19:19-!-The_Ball [] has quit [Connection timed out]
19:26-!-noisymime [] has quit [Read error: 110 (Connection timed out)]
19:29-!-_gunni_ [] has quit [Read error: 110 (Connection timed out)]
19:29-!-_gunni_ [] has joined #mythtv
19:42-!-Dibblah [] has quit [Read error: 113 (No route to host)]
19:54-!-noisymim1 is now known as noisymime
20:00<gbee>does anyone know the sorting behaviour of QMap when you have identical keys? Would they be iterated in the order added, or randomly?
20:00-!-xris [n=xris@] has quit []
20:01<danielk22>hmm, i didn't know it did multimap at all.
20:02<gbee>it does from QT4
20:05<gbee><quote>However, you can store multiple values per key by using insertMulti() instead of insert() (or using the convenience subclass QMultiMap). If you want to retrieve all the values for a single key, you can use values(const Key &key), which returns a QList<T>:</quote>
20:05<gbee>ah-hah, just below that it answers my question
20:06<danielk22>i dunno, but it's not good practice to depend on the order even if it is set.. you might want to convert to another container later.
20:08<gbee>yep, I just want to avoid breaking focus order on screens where it isn't explicitly defined (most of them I expect)
20:09-!-andreax1 [] has quit [Read error: 104 (Connection reset by peer)]
20:11<gbee>if I complicate things a little I could assign values in a reserved range (negative maybe) for widgets without an explicit draw order
20:20<gbee>I think for now I'll just add a //TODO comment about that and I can revisit it later
20:20-!-kali67 [] has quit [Read error: 110 (Connection timed out)]
20:28-!-mzb [] has quit ["Time to quit"]
20:30<gbee>ok, you can now use a <focusorder> element, no explicit focusorder means a value of zero putting these at the front of the list, values don't have to be sequential so you can leave space
20:31<gbee>only focusable types are added to the list by default, as before
20:33<gbee>if you need to hardcode focus order, though type->SetFocusOrder() then it should be followed by a BuildFocusList()
20:34<gbee>lastly I've not tested the use of <focusorder>, just that it doesn't affect the status quo
20:34<gbee>I'm off to bed
20:35-!-xris [] has joined #mythtv
20:48-!-reynaldo_ is now known as reynaldo
21:06-!-The_Ball [] has joined #mythtv
21:13-!-jhulst [n=jhulst@unaffiliated/jhulst] has joined #mythtv
21:17-!-mikecharest [i=1880ae56@gateway/web/ajax/] has joined #mythtv
21:17-!-mikecharest [i=1880ae56@gateway/web/ajax/] has left #mythtv []
21:18-!-mikecharest [i=1880ae56@gateway/web/ajax/] has joined #mythtv
21:24-!-The_Ball [] has quit [Connection timed out]
21:38-!-jerky_2 [] has joined #mythtv
21:48-!-joobie_ [] has quit ["This computer has gone to sleep"]
21:56-!-huhlig [] has quit [Read error: 110 (Connection timed out)]
22:05-!-MartinCleave1 [n=mrjcleav@] has joined #mythtv
22:08-!-MartinCleave1 [n=mrjcleav@] has left #mythtv []
22:09-!-The_Ball [] has joined #mythtv
22:09-!-kormoc [n=kormoc@unaffiliated/kormoc] has quit []
22:12-!-jhulst [n=jhulst@unaffiliated/jhulst] has quit [Read error: 113 (No route to host)]
22:36-!-Snow-Man_ [] has joined #mythtv
22:36-!-Snow-Man_ [] has quit [Client Quit]
22:38-!-foxbuntu [] has joined #mythtv
22:42-!-huhlig [] has joined #mythtv
23:09-!-cesman [n=cecil@pdpc/supporter/sustaining/cesman] has joined #mythtv
23:14-!-mikecharest [i=1880ae56@gateway/web/ajax/] has quit [" ajax IRC Client"]
23:23-!-jerky_2 [] has left #mythtv []
23:31-!-dageorge_ [] has quit [Read error: 113 (No route to host)]
23:32-!-dageorge_ [] has joined #mythtv
23:46-!-cattelan [] has quit ["This computer has gone to sleep"]
23:48<reynaldo>gbee: doesn't seem to work. same problem.
23:49-!-Virindi [] has joined #mythtv
23:49-!-cattelan [] has joined #mythtv
23:53-!-cattelan [] has quit [Client Quit]
23:53-!-cattelan [] has joined #mythtv
23:55-!-Virindi [] has quit [Read error: 104 (Connection reset by peer)]
23:56-!-Virindi [] has joined #mythtv
---Logclosed Tue Jul 15 00:00:37 2008