Sunday, August 21st, 2011, 00:33 UTC | ||
[00:33:42] | jvava (jvava!~sysadmin@114.249.224.106) has joined #mythtv | |
[01:03:18] | gigem_ (gigem_!~david@mythtv/developer/gigem) has quit (Remote host closed the connection) | |
[01:03:43] | gigem_ (gigem_!~david@host103.16.intrusion.com) has joined #mythtv | |
[01:03:44] | gigem_ (gigem_!~david@mythtv/developer/gigem) has joined #mythtv | |
[01:03:44] | gigem_ (gigem_!~david@host103.16.intrusion.com) has quit (Changing host) | |
[01:28:57] | natanojl (natanojl!~jonatan@c83-252-237-63.bredband.comhem.se) has quit (Ping timeout: 276 seconds) | |
[01:48:36] | andreax1 (andreax1!~andreaz@p57B94903.dip.t-dialin.net) has quit (Read error: Connection reset by peer) | |
[02:35:40] | justinh (justinh!~justin@cpc10-salf5-2-0-cust50.10-2.cable.virginmedia.com) has quit (Ping timeout: 260 seconds) | |
[02:47:44] | zombor (zombor!~zombor_@kohana/developer/zombor) has joined #mythtv | |
[02:51:50] | sailerboy (sailerboy!sailerboy@ipv61.sailerboy.net) has quit (Quit: ZNC - http://znc.sourceforge.net) | |
[02:54:52] | jya (jya!~jyavenard@mythtv/developer/jya) has joined #mythtv | |
[03:23:08] | sailerboy (sailerboy!sailerboy@ipv61.sailerboy.net) has joined #mythtv | |
[03:37:03] | gigem: | iamlindoro: actually the custom rules began as just a proof of concept. i didn't even know if i would use at the time. i left in as an easter egg with no gui support whatsoever for anyone who happened to peruse the source code. bjm is the one who added a gui that made it semi-usable by the masses. |
[03:38:24] | gigem: | sphery: that's mainly what the new filters are supposed to be — just enable the checkbox for the extra clauses you want to use. |
[03:40:59] | sphery: | sounds good--the less the user has to know about db structure and SQL, the better |
[04:07:41] | zombor (zombor!~zombor_@kohana/developer/zombor) has quit (Remote host closed the connection) | |
[05:21:32] | len (len!~quassel@184-97-158-26.mpls.qwest.net) has quit (Read error: Connection reset by peer) | |
[05:23:44] | len (len!~quassel@184-97-158-26.mpls.qwest.net) has joined #mythtv | |
[05:59:25] | jvava (jvava!~sysadmin@114.249.224.106) has quit (Quit: Leaving) | |
[06:38:42] | dekarl: | danielk22: does QT not support the Olson DB for time zones? (what everyone but Microsoft uses) My google fu was only strong enough to find talk about how that would be nice for QT5... And how QT Time functions can work with UTC / localtime (whatever the os thinks localtime is) and manual time offsets from UTC. UTC/localtime is enough for working with EIT/xmltv + display. But I can imagine cases where it would be nice to have EITFixup |
[07:40:10] | Chutt (Chutt!~ijr@cpe-76-190-198-203.neo.res.rr.com) has quit (Read error: Connection reset by peer) | |
[07:40:55] | stoffel (stoffel!~quassel@p57B4A118.dip.t-dialin.net) has joined #mythtv | |
[07:51:33] | pheld (pheld!~heldal@cl-5.osl-01.no.sixxs.net) has joined #mythtv | |
[07:54:46] | len (len!~quassel@184-97-158-26.mpls.qwest.net) has quit (Remote host closed the connection) | |
[08:13:06] | natanojl (natanojl!~jonatan@c83-252-237-63.bredband.comhem.se) has joined #mythtv | |
[08:31:15] | DjMadness (DjMadness!~DjMadness@pdpc/supporter/student/DjMadness) has joined #mythtv | |
[09:38:35] | Beirdo: | hmph, trackpad button just stopped working in the macbook |
[09:38:43] | Beirdo: | good thing I have a mouse within reach |
[10:05:02] | 77CAA2I9P (77CAA2I9P!~mike@c-24-21-63-118.hsd1.or.comcast.net) has quit (Remote host closed the connection) | |
[10:05:48] | mike|2 (mike|2!~mike@c-24-21-63-118.hsd1.or.comcast.net) has joined #mythtv | |
[10:30:11] | stoffel (stoffel!~quassel@p57B4A118.dip.t-dialin.net) has quit (Ping timeout: 264 seconds) | |
[10:34:32] | kth (kth!~kth@unaffiliated/kth) has joined #mythtv | |
[10:53:35] | kth (kth!~kth@unaffiliated/kth) has quit (Quit: Leaving.) | |
[10:54:47] | jarle (jarle!~jarle@70.84-234-133.customer.lyse.net) has quit (Remote host closed the connection) | |
[10:56:41] | jarle (jarle!~jarle@70.84-234-133.customer.lyse.net) has joined #mythtv | |
[11:01:10] | dekarl is now known as dekarl_afk | |
[11:09:04] | mrand (mrand!~mrand@ubuntu/member/mrand) has joined #mythtv | |
[11:31:36] | stoffel (stoffel!~quassel@p57B4A118.dip.t-dialin.net) has joined #mythtv | |
[11:59:29] | sphery: | danielk22: Out of curiosity, for https://github.com/MythTV/mythtv/commit/add3d8615 (and the other similar changes with ternaries to check for null and return empty string or value), is there some reason why we can't just change the code to initialize the variables as empty QStrings? Are we really relying on the difference between null and empty QStrings in some places (I thought Qt4 recommended that you never treat null and empty strings ... |
[11:59:35] | sphery: | ... differently)? |
[12:05:13] | gigem_ (gigem_!~david@host103.16.intrusion.com) has joined #mythtv | |
[12:05:14] | gigem_ (gigem_!~david@host103.16.intrusion.com) has quit (Changing host) | |
[12:05:14] | gigem_ (gigem_!~david@mythtv/developer/gigem) has joined #mythtv | |
[12:17:56] | stuartm: | danielk22: the SD blockedtime is currently ignored, is that correct or an oversight? |
[12:27:07] | dekarl_afk: | sphery: I don't understand why so many columns are "not null default ''" (or default 0) in the first place. I guess its simply historic and never been touched. The main difference being that NULL <> NULL but 0 == 0 for unique keys. e.g. unique key on channels (sourceid, atsc major, atsc minor) doesn't work because dvb channels with 0.0 will collide. but they don't have ATSC ids at all so NULL.NULL is correct (and unique) |
[12:44:13] | sphery: | yeah, any columns in unique keys can't be changed to allow null because of that but we could always change the others... I just thought it would be easier to change the ProgramInfo class to prevent null QStrings in the fields representing non-null column data than having to remember the null check each time we access that column in the DB |
[12:44:54] | sphery: | just seems like we're leaving a potential for future breakage if we have to massage the data from our data object each time we touch the db |
[13:02:34] | stoffel (stoffel!~quassel@p57B4A118.dip.t-dialin.net) has quit (Ping timeout: 258 seconds) | |
[13:05:40] | MaverickTech (MaverickTech!~MaverickT@131.203.137.143) has joined #mythtv | |
[13:13:38] | danielk22: | sphery: QString("") is much less efficient than QString() and we would have to make sure that all assignments to those variables were either not null of followed by and isNull() check and assignment of "" so you'd end up having to touch the code in a lot more places. |
[13:15:59] | zombor (zombor!~zombor_@kohana/developer/zombor) has joined #mythtv | |
[13:18:49] | danielk22: | stuartm: I dunno about the blockedtime.. But I don't think they actually block datadirect requests in the blockedtime. |
[13:22:56] | danielk22: | sphery: Our code for the most part doesn't care if a QString is null or empty, but the Qt DB code does and for a very logical reason, it's the only logical way to handle inserting NULLs in the Qt API. This doesn't just affect QString, I noticed a number of QDateTime initializations to dates like "0000-00–00" which are a means of creating and invalid sentinel QDateTime but one that can be inserted into a not null datetime column. |
[13:24:42] | stuartm: | danielk22: ok, I'm asking since GCC 4.6.1 complains that GotBlockedTime is unused, would you prefer that we just comment it out or save the value to the database but just ignore it for now? |
[13:26:42] | jya (jya!~jyavenard@mythtv/developer/jya) has quit (Quit: jya) | |
[13:26:47] | danielk22: | stuartm: ah, that variable isn't needed, I got rid of it in the utc branch. |
[13:28:32] | danielk22: | Does marking it with MUNUSED work to silence those compiler warnings? |
[13:42:52] | MaverickTech (MaverickTech!~MaverickT@131.203.137.143) has quit (Read error: Connection reset by peer) | |
[13:44:02] | stuartm: | qood question |
[13:54:28] | dekarl_afk is now known as dekarl | |
[13:58:44] | MaverickTech (MaverickTech!~MaverickT@131.203.137.143) has joined #mythtv | |
[14:56:13] | wahrhaft (wahrhaft!~quassel@cpe-24-210-71-26.columbus.res.rr.com) has quit (Ping timeout: 252 seconds) | |
[15:34:46] | GreyFoxx: | Hrm, has anyone reported a problem where when a scheduled recording of a QAM/Digital tuner kicks off that we record the very first channel on that video source rather than the requested channel? Yet LiveTV works just fine? |
[15:38:42] | GreyFoxx: | I've even tried deleting the first channel on that video source only to have recordings start on the "new" first channel |
[15:42:54] | stuartm: | Clang + SAFECode – http://lists.cs.uiuc.edu/pipermail/llvmdev/20 . . . /042506.html |
[15:44:01] | stuartm: | I think Janne was looking at compiling MythTV with clang++ |
[16:02:58] | Goga777 (Goga777!~Goga777@shpd-92-101-129-28.vologda.ru) has joined #mythtv | |
[16:04:03] | ybot_ (ybot_!~quassel@61.14.141.36) has quit (Ping timeout: 252 seconds) | |
[16:05:22] | ybot (ybot!~quassel@61.14.141.36) has joined #mythtv | |
[17:00:08] | Goga777 (Goga777!~Goga777@shpd-92-101-129-28.vologda.ru) has quit (Remote host closed the connection) | |
[17:01:00] | Goga777 (Goga777!~Goga777@shpd-92-101-129-28.vologda.ru) has joined #mythtv | |
[17:04:56] | gigem_ (gigem_!~david@mythtv/developer/gigem) has quit (Remote host closed the connection) | |
[17:05:25] | gigem_ (gigem_!~david@host103.16.intrusion.com) has joined #mythtv | |
[17:05:25] | gigem_ (gigem_!~david@mythtv/developer/gigem) has joined #mythtv | |
[17:05:25] | gigem_ (gigem_!~david@host103.16.intrusion.com) has quit (Changing host) | |
[17:36:06] | Goga777 (Goga777!~Goga777@shpd-92-101-129-28.vologda.ru) has quit (Remote host closed the connection) | |
[17:36:44] | justinh (justinh!~justin@cpc10-salf5-2-0-cust50.10-2.cable.virginmedia.com) has joined #mythtv | |
[17:51:24] | natanojl (natanojl!~jonatan@c83-252-237-63.bredband.comhem.se) has quit (Read error: Connection reset by peer) | |
[17:52:22] | natanojl (natanojl!~jonatan@c83-252-237-63.bredband.comhem.se) has joined #mythtv | |
[17:53:16] | zombor (zombor!~zombor_@kohana/developer/zombor) has quit (Remote host closed the connection) | |
[17:58:17] | kth (kth!~kth@unaffiliated/kth) has joined #mythtv | |
[18:18:13] | danielk22: | GreyFoxx: A difference in tuning between LiveTV and scheduled recording can happen if you have "fast" tuning enabled for LiveTV. In anycase the solution is to rescan that transport. |
[18:40:10] | stuartm: | Beirdo: in case you'd seen it, the cppcheck html generator is rubbish, we can do much better ourselves without too much effort |
[18:40:53] | stuartm: | parsing xml in perl/python and turning out html is about as simple as it gets |
[18:42:47] | stuartm: | I'll see what I can come up with |
[18:43:05] | stuartm: | (in perl) |
[19:45:09] | andreax (andreax!~andreaz@p57B92D26.dip.t-dialin.net) has joined #mythtv | |
[19:46:33] | andreax (andreax!~andreaz@p57B92D26.dip.t-dialin.net) has quit (Client Quit) | |
[19:47:17] | andreax (andreax!~andreaz@p57B92D26.dip.t-dialin.net) has joined #mythtv | |
[20:04:31] | highzeth (highzeth!~hz@hoiseth.no) has quit (Quit: Leaving) | |
[20:09:46] | highzeth (highzeth!~hz@hoiseth.no) has joined #mythtv | |
[20:13:01] | zombor (zombor!~zombor_@kohana/developer/zombor) has joined #mythtv | |
[20:23:56] | danielk22: | stuartm: I think TRUE/FALSE are more of a C thing than a windows thing. |
[20:25:53] | MavT (MavT!~MaverickT@dns2.arel.com.au) has joined #mythtv | |
[20:29:27] | MaverickTech (MaverickTech!~MaverickT@131.203.137.143) has quit (Ping timeout: 250 seconds) | |
[20:31:27] | stuartm: | it was carried over from C but it's widespread usage I thought was down to Windows compilers defining those by default in the days before true/false keywords were added to the c++ spec? |
[20:32:41] | stuartm: | it's not that important I suppose, they've been 'fixed' although I don't really see compilers choking on TRUE/FALSE in the near future |
[20:33:36] | danielk22: | stuartm: I thought C++ always had true/false since it has a boolean type. |
[20:37:40] | stuartm: | I thought they started with zero and one, the true/false keywords came later? But there is a very real possibility that I've got the history confused :) |
[20:39:41] | stuartm: | http://www.cprogramming.com/oldcpp.html << Seems to suggest that earlier compilers didn't support bool/true/false at all, but I can't find anything more definitive via a quick google – I guess the older specs would be the place to look |
[20:42:36] | stuartm: | then again, it was what, 10–15 years between the creation of C++ and an official standard being released? |
[20:43:48] | stuartm: | danielk22: according to wikipedia "Late addition of features included templates, exceptions, namespaces, new casts, and a Boolean type." << which seems to have been around 1990 |
[20:44:32] | iamlindoro: | Silly question-- are there convenience functions for any of the following: seeing if a given cardid has recordings in progress or in the near future, marking a cardid as unavailable |
[20:45:39] | iamlindoro: | Specifically, I am looking at implementing an additional check for mythfilldatabase that checks the channels for a source against the copy protection status of the channel on an OCUR tuner, so that channels which are untuneable or uncapturable don't end up in the DB |
[20:46:46] | iamlindoro: | But obviously to do that safely I need to be able to pick an HDHR Prime tuner which is available, then check it out/back in |
[21:01:52] | sphery: | danielk22: Yeah, I was thinking more of an approach that involves changing the design of our data objects to actually enforce the data requirements--like actually defining mutator functions that check the value passed in and--for not null fields--assign QString("") rather than null... Instead of sprinking the same data checks all around the code when we make assignments, we just use the mutator method to change the value (and then we wouldn't ... |
[21:01:58] | sphery: | ... need to sprinkle null checks around in the DB update code) and would protect ourselves from developer error, too. But, if we don't want to lose our C-style direct access to variables--and ability to store any garbage in them :) --that wouldn't work. |
[21:02:09] | len (len!~quassel@184-97-158-26.mpls.qwest.net) has joined #mythtv | |
[21:02:22] | sphery: | anyway, it's not a big deal--just looked like it could be a nice way to simplify things |
[21:11:03] | MavT (MavT!~MaverickT@dns2.arel.com.au) has quit (Ping timeout: 250 seconds) | |
[21:18:25] | len (len!~quassel@184-97-158-26.mpls.qwest.net) has quit (Remote host closed the connection) | |
[21:20:16] | danielk22: | sphery: if we were to do that I'd say just introduce a bindValue(QString, const QString&) function that did the transform, but it's actually nice to get warnings when say the title in a program info hasn't been set... |
[21:20:34] | len (len!~quassel@184-97-158-26.mpls.qwest.net) has joined #mythtv | |
[21:35:51] | natanojl (natanojl!~jonatan@c83-252-237-63.bredband.comhem.se) has quit (Ping timeout: 258 seconds) | |
[21:49:21] | wagnerrp (wagnerrp!~Wagner@mythtv/developer/wagnerrp) has quit (Remote host closed the connection) | |
[21:57:27] | dblain (dblain!~dblain@c-76-127-227-175.hsd1.ma.comcast.net) has joined #mythtv | |
[21:57:27] | dblain (dblain!~dblain@c-76-127-227-175.hsd1.ma.comcast.net) has quit (Changing host) | |
[21:57:27] | dblain (dblain!~dblain@mythtv/developer/dblain) has joined #mythtv | |
[22:24:13] | Gibby (Gibby!~Gibby@204.118.10.244) has quit (Remote host closed the connection) | |
[22:31:32] | wagnerrp (wagnerrp!~wagnerrp_@mythtv/developer/wagnerrp) has joined #mythtv | |
[23:42:45] | jya (jya!~jyavenard@60-242-40-141.static.tpgi.com.au) has joined #mythtv | |
[23:42:45] | jya (jya!~jyavenard@60-242-40-141.static.tpgi.com.au) has quit (Changing host) | |
[23:42:45] | jya (jya!~jyavenard@mythtv/developer/jya) has joined #mythtv |
IRC Logs collected by
BeirdoBot.
Please use the above link to report any bugs.