MythLogBot@irc.freenode.net :: #mythtv-theming

Daily chat history

Current users (14):

Beirdo, brfransen, Captain_Murdoch, gbee, gbutters, jpabq, jpabq|, mag0o, mrand, MythLogBot, paul-h, rooaus, sphery, wagnerrp
Monday, May 10th, 2010, 03:24 UTC
[03:24:11] iamlindoro: gbutters, your choice: http://svn.mythtv.org/trac/ticket/8440
[03:26:24] iamlindoro: and "no" is just as acceptable as "yes" :)
[04:29:34] gbutters: iamlindoro: looks good to me
[04:29:57] iamlindoro: gbutters, ok, thanks
[04:30:25] gbutters: iamlindoro: Something that was on my list to get done anyway
[04:32:40] iamlindoro: Actually the patch is pretty wrong on a couple levels, but I will make it work
[04:32:48] iamlindoro: not a unified diff, doesn't declare a font, etc.
[04:42:10] gbutters: iamlindoro: now it has 2 font declarations should just be baselarge
[04:43:24] iamlindoro: gbee, Fixed already,
[04:43:26] iamlindoro: er gbutters
[04:54:37] gbutters: iamlindoro: Still not just right the clock baseline is a little off from the heading> Want a diff??
[04:54:58] iamlindoro: gbutters, The reason I asked you in the first place was for you to test and approve it :)
[04:55:15] iamlindoro: I took "looks good to me" to mean that you had
[04:55:22] gbutters: iamlindoro: I missed it the first time I looked at it
[04:57:08] iamlindoro: gbutters, It's fine, I've got a fix for it
[04:57:40] gbutters: iamlindoro: ok 10 and vcenter??
[04:57:45] iamlindoro: yep
[04:57:50] gbutters: ok
[04:59:28] gbutters: iamlindoro: Thanks
[04:59:31] iamlindoro: np
[05:00:25] gbutters: iamlindoro: I am still working on the netvision-ui hopefully I will have time to get it finished tomorrow night
[05:00:40] iamlindoro: gbutters, no rush, now that .23 is out you have months :)
[05:00:50] gbutters: iamlindoro: ok
[05:13:09] natanojl (natanojl!~jonatan@c83-252-237-63.bredband.comhem.se) has joined #mythtv-theming
[06:14:07] psipsi (psipsi!~psipsi@rrcs-24-227-36-210.se.biz.rr.com) has quit (Ping timeout: 260 seconds)
[06:44:34] natanojl (natanojl!~jonatan@c83-252-237-63.bredband.comhem.se) has quit (Quit: Quit)
[08:15:13] psipsi_ (psipsi_!~psipsi@rrcs-24-227-36-210.se.biz.rr.com) has quit (Ping timeout: 240 seconds)
[12:33:09] justinh (justinh!~justin@cpc1-salf4-0-0-cust69.manc.cable.ntl.com) has quit (Quit: leaving)
[12:34:46] k-man: how do i comment out a line in a theme?
[12:38:54] k-man: i'm trying to adjust the width of a field, <area>215,210,595,40</area> when i adjust the 595 number, it doesn't seem to make the field wider, what am I doing wrong?
[12:50:53] gbee: q1: <!-- comment -->
[12:51:20] gbee: q2: We need context, can you pastebin the xml?
[12:51:54] k-man: gbee: re q1, thanks, re q2 yes, stand by :)
[12:52:43] k-man: so i'm editing the MythCenter theme, editing schedule-ui.xml
[12:55:48] k-man: http://perl.nopaste.dk/p1998
[12:56:46] k-man: so when i edit the 215 value, to say, 115, that moves the box to the left – which is what I want to happen
[12:57:34] k-man: but increasing the 595 value doesn't seem to do anything. I'm trying to make that "rules" field wider because on 4:3 its not wide enough to see what recording rule you are selecting
[13:15:23] dewman (dewman!~dewman@lennon-ubr-64-85-156-99.power-net.net) has quit (Ping timeout: 246 seconds)
[14:09:52] iamlindoro: k-man: The first and most obvious problem is you are inheriting from the base.xml buttonlist but not changing the buttonarea-- You will also need to redefine the areas for your buttonitem, the shape in your selectedactive state, etc.
[14:10:17] iamlindoro: This would have been made simpler if you had used percentages in your original definition
[14:10:54] iamlindoro: ie if you use 90% or whatever as your width for the buttonitem, the shape, the textarea, etc., then the only things you need to change in the inherited copy are the area and buttonarea
[14:18:02] wagnerrp (wagnerrp!~wagnerrp_@nr-ft1-66-42-243-52.fuse.net) has quit (Read error: Connection reset by peer)
[14:19:27] wagnerrp (wagnerrp!~wagnerrp_@nr-ft1-66-42-243-52.fuse.net) has joined #mythtv-theming
[14:25:35] wagnerrp (wagnerrp!~wagnerrp_@nr-ft1-66-42-243-52.fuse.net) has quit (Read error: Connection reset by peer)
[14:26:19] wagnerrp (wagnerrp!~wagnerrp_@nr-ft1-66-42-243-52.fuse.net) has joined #mythtv-theming
[14:41:40] dewman (dewman!~dewman@lennon-ubr-64-85-156-99.power-net.net) has quit (Remote host closed the connection)
[15:28:55] abqjp (abqjp!~abqjp@97-119-180-26.albq.qwest.net) has quit (Quit: abqjp)
[15:43:36] abqjp (abqjp!~abqjp@97-119-165-158.albq.qwest.net) has joined #mythtv-theming
[16:19:13] simonckenyon (simonckenyon!~kvirc@195.7.61.12) has quit (Quit: When two people dream the same dream, it ceases to be an illusion. KVIrc 3.4.2 Shiny http://www.kvirc.net)
[16:40:22] gregl (gregl!~greg@cpe-69-204-191-116.nycap.res.rr.com) has quit (*.net *.split)
[16:46:51] gregl (gregl!~greg@cpe-69-204-191-116.nycap.res.rr.com) has joined #mythtv-theming
[17:07:20] natanojl (natanojl!~jonatan@c83-252-237-63.bredband.comhem.se) has joined #mythtv-theming
[18:37:10] brfransen (brfransen!~brfransen@adrianDHCP-47.216-254-250.iw.net) has quit (Quit: brfransen)
[18:55:41] brfransen (brfransen!~brfransen@adrianDHCP-47.216-254-250.iw.net) has joined #mythtv-theming
[19:43:24] gbee: fwiw, it's worth a reminder that use of inheritance is _optional_, it's there to make things easier not harder, there are times when it's just not appropriate to use it and if you are struggling to make it work then maybe that's one of those
[19:45:43] gbee: and don't assume that every widget definition needs to be in base.xml, if it's not used very much then it doesn't really belong there, everything in base.xml is loaded once and kept in memory for the duration so it's a waste of memory to use it as a dumping ground for anything and everything
[19:52:58] paul-h: gbee: It would be nice if you could define a widget outside of a window so it could be reused throughout an xml file without having to put it in base.xml
[20:24:16] gbee: that wouldn't be too hard to do
[20:51:20] paul-h: gbee: any clues how to do it :) It would be useful in MythMusic so you could define say a ratings state just once and reuse it wherever its needed
[20:52:41] iamlindoro: paul-h: Out of idle (read: user) curiosity, how goes the MythMusic stuff? Have seen the commits in the last few days that I presume go towards it, just wondering if you had any interesting info to share
[20:54:58] gbee: paul-h: about that, the rating statetype, could we re-use the same form used everywhere else, I already define a baserating in Terra, it's used in both video and all screens which leverage programinfo
[20:58:09] gbee: paul-h: I'd need to refresh my memory of xmlparsebase before I could give useful advice, but LoadFromWindow is already parsing everything, it's just ignoring the UItypes, if we create a session parallel of the global object cache, have LFW call parseUIType (or whatever it's called) and insert those objects into that session cache, well you get the idea
[20:59:35] gbee: paul-h: <statetype name="ratingstate"> ... states from 0 to 10 ... that's the model we're using everywhere
[21:02:41] k-man: ok, thanks iamlindoro and gbee
[21:03:01] k-man: fwiw, i didn't write this theme, i am just trying to hack it so it works properly
[21:04:24] ** gbee daren't ask which one **
[21:06:58] paul-h: gbee: ok rating state is a bad example but there are others. The way I have things for the default theme is the bottom 1/4 of the screen stays the same showing track info, visualiser, album art, playback buttons etc. The top 3/4 of the screen changes when you switch views, current playlist, playlist editor, search, lyrics etc.
[21:07:07] paul-h: It does mean there is a lot of duplicated widgets so some way to define them once would be useful
[21:08:12] paul-h: Everything is optional of cause so it's up to the themer how they lay things out
[21:09:11] gbee: paul-h: I knew you meant it as an example, and I agree with what you were saying
[21:10:39] gbee: paul-h: if I get <group> finished then that would save work too, you'd then put all the bits which don't change/move into <group> and not have to copy/paste the whole lot into every screen
[21:11:14] paul-h: yeah, that would be cool
[21:16:44] gbee: that is, assuming that this particular case couldn't be handled another way – just to put another option on the table . The bottom bit never changes? So it could be a single screen over which the lyric, editor, search screens are drawn? e.g. they'd be popups/overlays filling top 3/4?
[21:18:59] gbee: and in fact, if that idea is taken to it's logical conclusion, you could do both, if those screens optionally support the playback info widgets then it would be a themer lead decision, whichever was less work and/or suited their theme
[21:19:16] natanojl (natanojl!~jonatan@c83-252-237-63.bredband.comhem.se) has left #mythtv-theming ("Quit")
[21:19:19] ** gbee tosses a handgrenade into the room them slowly backs out **
[21:19:45] iamlindoro: gbee: any chance you want to update the dtd on your site? Looks like it might be invalid
[21:20:45] gbee: iamlindoro: sure,
[21:20:55] iamlindoro: (Want to validate Arclight)
[21:21:27] iamlindoro: Then again, I suppose I could upload it somewhere and rechange the dtd
[21:21:34] gbee: done
[21:21:38] iamlindoro: but if you're willing then it would save me the step ;)
[21:21:38] iamlindoro: thanks
[21:22:41] gbee: xmlvalidation.com will automatically prompt you to upload the DTD after the XML if it references a local DTD e.g. <!DOCTYPE mythuitheme SYSTEM "../mythuitheme.dtd">
[21:23:12] iamlindoro: Heh, I have a lot of clocks to fix
[21:23:30] iamlindoro: A *lot* of clocks
[21:23:36] gbee: that site is a little fiddly though, to make a change or validate a new xml you have to click on the uploaded documents name at the bottom of the screen
[21:24:05] gbee: iamlindoro: :) case where having the clock in base.xml might be worthwhile?
[21:24:21] iamlindoro: gbee: Heh, it's probably the one thing I didn't use inheritance a lot for
[21:24:38] iamlindoro: I think I was generally pretty good about using it for everything else
[21:28:48] iamlindoro: gbee: I haven't looked, does your DTD take into account the new edit widget from the osd brach?
[21:28:56] iamlindoro: (wondering whether I should bother trying to validate the OSD)
[21:31:01] gbee: iamlindoro: no, just what's currently in trunk
[21:31:26] gbee: and even then, I don't guarantee the accuracy (yet)
[21:31:57] gbee: ugh, what happened to KDevelop's project wide search/replace, it would have made this so much easier
[21:34:50] iamlindoro: Hey, not too bad, only thing that fails is the editbar widget
[21:36:55] gbee: if anyone knows of a decent command line xml validator, one which works with a DTD and can do batch processing then let me know, it would be a great addition to the automated checks toolkit/report
[21:45:29] iamlindoro: There we go, not too bad all things considered, just a couple of deprecated tags in the few MythArchive windows I can't find, let alone theme ;)
[21:55:47] iamlindoro: gbee: Is the plan to automatically validate all XML in any themes uploaded to a theoretical theme sharing site?
[21:58:33] gbee: iamlindoro: the thought had occurred
[21:58:43] iamlindoro: nice
[22:09:25] gregl (gregl!~greg@cpe-69-204-191-116.nycap.res.rr.com) has quit (Quit: Leaving)
[22:20:15] gregl (gregl!~greg@cpe-69-204-191-116.nycap.res.rr.com) has joined #mythtv-theming
[22:29:37] dfletcher (dfletcher!~fletch@c-24-7-96-44.hsd1.ca.comcast.net) has quit (Read error: Connection reset by peer)
[22:35:59] anykey__ (anykey__!~guedel@84-72-129-72.dclient.hispeed.ch) has quit (Ping timeout: 260 seconds)
[22:48:19] gbee: iamlindoro: xmlint looks like a good choice for validating an entire theme, has a lot of different output options which I've not played with yet, but "xmllint --valid mythtv/themes/MythCenter/*.xml 1>/dev/null"
[22:48:32] gbee: will validate the entire theme in one go
[22:48:55] iamlindoro: nice
[22:49:06] iamlindoro: I assume it chokes a bit on keyboard/MythMusic?
[22:50:03] gbee: complains there is no DTD for those, but there may be an option to ignore files with no DTD specified
[23:21:16] abqjp (abqjp!~abqjp@97-119-165-158.albq.qwest.net) has quit (Quit: abqjp)
[23:27:51] dewman (dewman!~dewman@lennon-ubr-64-85-156-99.power-net.net) has quit (Remote host closed the connection)
[23:50:41] k-man: gbee: well, its MythCenter that I'm hacking
[23:51:14] k-man: gbee: and its very challenging hacking it when you have a baby – i get about 3 x 15 second windows per day where i can look at it ;)

IRC Logs collected by BeirdoBot.
Please use the above link to report any bugs.