| Saturday, November 23rd, 2013, 01:09 UTC | ||
| [01:09:39] | nephyrin (nephyrin!~neph@2620:101:8003:200:7a2b:cbff:fe9e:2e67) has quit (Remote host closed the connection) | |
| [01:15:13] | stuartm: | crap, just lost all my recordings because I botched a DB update and marked everything as 'LiveTV' |
| [01:16:15] | stuartm: | fuck |
| [01:20:14] | stuartm: | shit, I feel physically sick .... years of recordings gone |
| [01:26:38] | stuartm: | maybe, just maybe not as bad as I thought ... |
| [01:32:27] | stuartm: | looks like I killed the backend fast enough to avoid losing everything ... might start breathing again soon |
| [01:37:36] | stuartm: | well, a good scare like that should teach me to be more careful in future |
| [02:01:56] | clever: | there are options in the mysql client to prevent that |
| [02:03:41] | stuartm: | I think I'll be buying a new drive in the morning, switching from xfs to something that has an 'undelete', plus archiving more of these recordings to videos so they aren't at the mercy of the auto-expirer |
| [02:04:06] | clever: | just run the mysql cli with one of these, --safe-updates, --i-am-a-dummy, -U |
| [02:04:14] | clever: | it will refuse to do any update that lacks a where clause |
| [02:05:18] | stuartm: | clever: that wasn't the issue here, I mistyped the value in the where clause, applying it to all recordings in the 'Default' recording group (group id 1) instead of the 'LiveTV' group, (group id 2) |
| [02:05:31] | stuartm: | for a moment I forgot that it wasn't zero indexed |
| [02:05:38] | clever: | ah |
| [02:06:53] | stuartm: | and almost immediately the backend happened to build the auto-expire list, and start deleting, even though I realised the typo pretty quickly (the number of records affected was a clue) |
| [02:09:10] | stuartm: | it's not so bad as I had first feared though, by killing the backend seems I actually only lost maybe a couple dozen recordings but I'll need to compare against a recent backup to be sure |
| [02:09:38] | stuartm: | and all the metadata is intact thankfully |
| [02:11:03] | stuartm: | at the moment it happened I thought it was a lot worse, in my blind panic all I could see in the recording directories were .pngs, but once I noticed that the disk usage hadn't changed much I was able to see things more clearly :) |
| [02:16:02] | stuartm: | at the end of the day it's just TV, and more than I can possibly watch, so I need to regain some perspective |
| [02:17:19] | clever: | yeah, ive got several 100gig worth of recordings that are just sitting there, untouched for months |
| [02:17:46] | clever: | no hd capture cards, and the pvr150 looks like crap compared to the DVR (with crap softwae) that the cable co gave |
| [02:19:46] | stuartm: | vast majority of my recordings are films that I've never found the time to watch, an uninterrupted 90–120 minutes is harder to find than the 30–60 minutes for the episode of a series |
| [02:21:28] | stuartm: | doesn't help that most of them are subtitled, so I can't watch them while also getting other things done |
| [02:22:32] | stuartm: | anyway, I'm going to bed |
| [02:22:55] | dgeary2 (dgeary2!~debian@pa49-187-83-246.pa.nsw.optusnet.com.au) has joined #mythtv | |
| [03:02:53] | peper03_ (peper03_!~peper03@mythtv/developer/peper03) has joined #mythtv | |
| [03:03:42] | Seeker` (Seeker`!~cjo20@unaffiliated/seeker) has quit (Remote host closed the connection) | |
| [03:05:01] | Seeker` (Seeker`!~cjo20@unaffiliated/seeker) has joined #mythtv | |
| [03:06:30] | peper03 (peper03!~peper03@mythtv/developer/peper03) has quit (Ping timeout: 246 seconds) | |
| [03:06:30] | peper03_ is now known as peper03 | |
| [03:14:47] | dgeary2 (dgeary2!~debian@pa49-187-83-246.pa.nsw.optusnet.com.au) has quit (Ping timeout: 272 seconds) | |
| [03:23:57] | _nyloc_ (_nyloc_!~quassel@p5B26F288.dip0.t-ipconnect.de) has joined #mythtv | |
| [03:27:30] | nyloc (nyloc!~quassel@p5B26FDC2.dip0.t-ipconnect.de) has quit (Ping timeout: 245 seconds) | |
| [03:33:18] | NightMonkey (NightMonkey!~NightrMon@pdpc/supporter/professional/nightmonkey) has quit (Quit: Body blow! Body blow!) | |
| [03:36:22] | stichnot (stichnot!~stichnot@mythtv/developer/stichnot) has joined #mythtv | |
| [03:39:13] | flyback (flyback!~flyback@c-67-163-147-45.hsd1.pa.comcast.net) has joined #mythtv | |
| [03:39:23] | flyback: | hey Beirdo_, you eh-hole ltns |
| [03:40:11] | flyback: | I need to record a one time show via pvr250 since it looks like comcast disables firewire on this model stb and don't have time to figure it out |
| [03:40:29] | flyback: | you think myth is best bet or just use some simple program |
| [03:40:39] | flyback: | opps wrong channel |
| [03:40:41] | flyback: | nm |
| [03:43:53] | flyback (flyback!~flyback@c-67-163-147-45.hsd1.pa.comcast.net) has left #mythtv ("Leaving") | |
| [04:30:29] | fetzerch (fetzerch!~quassel@unaffiliated/fetzerch) has quit (Ping timeout: 252 seconds) | |
| [04:31:36] | fetzerch (fetzerch!~quassel@unaffiliated/fetzerch) has joined #mythtv | |
| [06:01:51] | dekarl1 (dekarl1!~dekarl@p4FCEEBB4.dip0.t-ipconnect.de) has joined #mythtv | |
| [06:03:36] | dekarl (dekarl!~dekarl@p4FCEE305.dip0.t-ipconnect.de) has quit (Ping timeout: 246 seconds) | |
| [06:51:07] | tonsofpcs (tonsofpcs!482b2962@rivendell/member/tonsofpcs) has quit (Ping timeout: 250 seconds) | |
| [07:57:55] | SteveGoodey (SteveGoodey!~steve@host109-158-208-19.range109-158.btcentralplus.com) has joined #mythtv | |
| [08:03:43] | dekarl1 is now known as dekarl | |
| [08:04:57] | len_ (len_!~quassel@67-6-37-92.mpls.qwest.net) has quit (Read error: Connection reset by peer) | |
| [11:02:33] | natanojl (natanojl!~jonatan@mythtv/developer/natanojl) has joined #mythtv | |
| [11:28:44] | coling (coling!~colin@cpc7-sgyl36-2-0-cust267.18-2.cable.virginm.net) has quit (Quit: leaving) | |
| [12:06:58] | coling (coling!~colin@cpc7-sgyl36-2-0-cust267.18-2.cable.virginm.net) has joined #mythtv | |
| [13:30:36] | J-e-f-f-A (J-e-f-f-A!~J-e-f-f-A@unaffiliated/j-e-f-f-a) has quit (Quit: Oh No!!!! ;-)) | |
| [13:35:55] | J-e-f-f-A (J-e-f-f-A!~J-e-f-f-A@unaffiliated/j-e-f-f-a) has joined #mythtv | |
| [14:02:42] | stichnot (stichnot!~stichnot@mythtv/developer/stichnot) has quit (Quit: ChatZilla 0.9.90.1 [Firefox 25.0/20131028113308]) | |
| [14:07:35] | stichnot (stichnot!~stichnot@mythtv/developer/stichnot) has joined #mythtv | |
| [15:14:25] | DJDan (DJDan!~djdan@115-64-177-188.static.tpgi.com.au) has joined #mythtv | |
| [15:16:57] | DJDan (DJDan!~djdan@115-64-177-188.static.tpgi.com.au) has quit (Client Quit) | |
| [15:50:52] | fetzerch (fetzerch!~quassel@unaffiliated/fetzerch) has quit (Ping timeout: 264 seconds) | |
| [15:58:27] | fetzerch (fetzerch!~quassel@unaffiliated/fetzerch) has joined #mythtv | |
| [15:59:36] | gregL_ (gregL_!~greg@cpe-74-76-105-205.nycap.res.rr.com) has quit (Quit: Leaving) | |
| [15:59:45] | gregL (gregL!~greg@cpe-74-76-105-205.nycap.res.rr.com) has quit (Remote host closed the connection) | |
| [16:20:40] | gregL (gregL!~greg@cpe-74-76-105-205.nycap.res.rr.com) has joined #mythtv | |
| [16:34:55] | buu: | Hrm, why does the HelloWorld plugin specify: runHello() and RunHello() |
| [17:11:01] | stichnot: | stuartm: there's a joke at work: "The old tool is deprecated, do not use it. The new tool will be ready soon." |
| [17:11:23] | stuartm: | :) |
| [17:11:40] | stichnot: | I will probably try to keep mythweb on life support until wfe is fully ready |
| [17:11:52] | stichnot: | not that I know the first thing about php |
| [17:14:35] | buu: | mythweb does local control of a frontend right? |
| [17:16:05] | stuartm: | doesn't have to be local, but yes, that's one of the features it includes |
| [17:16:18] | stuartm: | never used it myself |
| [17:16:23] | buu: | So mythmobile is just a mobile optimized version? |
| [17:16:36] | stuartm: | no, mythmobile is entirely unrelated |
| [17:16:52] | stuartm: | third party project |
| [17:16:57] | buu: | Oh sure |
| [17:17:01] | buu: | But they fill similar niches right? |
| [17:17:26] | buu: | I'd just like to control my mythv from phone/tablet, at the moment what's the best choice? |
| [17:18:14] | stuartm: | hmm, seems I'm wrong, mythmobile describes itself as a mythweb plugin |
| [17:18:47] | stuartm: | buu: I can't personally answer that, I've not tried any of the various solutions |
| [17:19:15] | buu: | Ok! |
| [17:19:57] | stuartm: | mythmobile looks nifty |
| [17:21:59] | buu: | I thought it had some potential |
| [17:22:06] | buu: | But it was like released 2 years ago |
| [17:22:14] | buu: | LIKE EVERY OTHER MYTHPLUGIN |
| [17:22:15] | buu: | =[ |
| [17:26:50] | tgm4883 (tgm4883!~tgm4883@ubuntu/member/tgm4883) has quit (Ping timeout: 246 seconds) | |
| [17:26:51] | rhpot1991 (rhpot1991!~rhpot1991@ubuntu/member/rhpot1991) has quit (Ping timeout: 246 seconds) | |
| [17:30:52] | rhpot1991 (rhpot1991!~rhpot1991@2001:4968:202:3:3842:5f8b:891e:6f20) has joined #mythtv | |
| [17:30:52] | rhpot1991 (rhpot1991!~rhpot1991@2001:4968:202:3:3842:5f8b:891e:6f20) has quit (Changing host) | |
| [17:30:52] | rhpot1991 (rhpot1991!~rhpot1991@ubuntu/member/rhpot1991) has joined #mythtv | |
| [17:31:34] | tgm4883 (tgm4883!~tgm4883@ubuntu/member/tgm4883) has joined #mythtv | |
| [17:49:49] | stuartm: | there are newer android apps, e.g., but they are still in a relatively early stage – https://github.com/MythTV-Clients/MythTV-Android-Frontend |
| [17:53:29] | stuartm: | or web based solutions such as http://www.mobilemyth.net/ |
| [17:53:59] | stuartm: | confusing name huh? Not the same as the mythmobile project |
| [17:55:58] | gregL (gregL!~greg@cpe-74-76-105-205.nycap.res.rr.com) has quit (Ping timeout: 245 seconds) | |
| [17:56:51] | buu: | Oh ma gods |
| [17:58:11] | buu: | "sudo apt-get install unzip mono-runtime libmono-microsoft-visualbasic10.0-cil libapache2-mod-mono mono-apache-server4 |
| [17:58:14] | buu: | Well that's a good sign. |
| [18:01:22] | CeilingKitten (CeilingKitten!~CeilingKi@69-196-174-148.dsl.teksavvy.com) has joined #mythtv | |
| [18:02:05] | stuartm: | buu: you could role your own – http://www.mythtv.org/wiki/Frontend_Service |
| [18:03:26] | stuartm: | I'll add support using that API to the new built-in web frontend, but obviously that won't be available until the next release |
| [18:09:03] | CeilingKitten (CeilingKitten!~CeilingKi@69-196-174-148.dsl.teksavvy.com) has quit (Ping timeout: 272 seconds) | |
| [18:09:12] | gregL (gregL!~greg@cpe-74-76-105-205.nycap.res.rr.com) has joined #mythtv | |
| [18:18:58] | buu: | stuartm: I'm going to! |
| [18:18:59] | buu: | =p |
| [18:19:33] | buu: | Probablh |
| [18:19:41] | buu: | Once I finish my other 1800 todos =[ |
| [18:26:58] | buu: | So if I was writing frontend control stuff I'd want to just get all the actual data I needed out of the database |
| [18:27:07] | buu: | And/or local filesystem |
| [18:27:17] | buu: | And then just send the stop/start commands via the service |
| [18:27:36] | Goga777 (Goga777!~Goga777@95-30-210-139.broadband.corbina.ru) has joined #mythtv | |
| [18:34:25] | buu: | Oh man, that's cool. |
| [18:35:31] | buu: | stuartm: Oh um did you see my earlier question about registering for events? |
| [18:35:36] | buu: | I'd like my plugin to know if a video starts playing? |
| [18:39:09] | buu: | stuartm: Oh and uh, how do I use ARBSEEK? |
| [18:39:12] | buu: | =] |
| [18:45:48] | buu: | And how do I jump to live tv?! |
| [18:47:24] | stuartm: | ARBSEEK followed by a number jumps that amount forward, 1–99 is minutes, thereafter it's Hours Minutes, e.g. 127 jumps 1hr 27 minutes |
| [18:49:00] | stuartm: | the ARBSEEK behaviour is also accessible by first entering the number, then pressing RIGHT e.g. ONE ZERO RIGHT, jumps 10 minutes forward |
| [18:52:35] | stuartm: | buu: I don't know much about the playback event handler registration? Maybe I can steer you in the right direction if I know what you want to achieve? |
| [18:53:01] | stuartm: | err nevermind, didn't read what you wrote |
| [18:55:59] | stuartm: | generally internal events like that are handled by adding AddListener() to the class constructor (RemoveListener() to the destructor), then implementing a customEvent() handler which looks for the event we want e.g. PLAYBACK_START |
| [18:59:09] | stuartm: | AddListener tells MythCoreContext to forward those events to our class, the customEvent() handler is invoked when an event is received |
| [19:00:05] | stuartm: | the class must derive from QObject, directly or indirectly |
| [19:05:18] | stuartm: | easiest if you follow an existing example, struggling to think of a good one, but GuideGrid::customEvent() – programs/mythfrontend/guidegrid.cpp is one ("SCHEDULE_CHANGE") |
| [19:07:17] | stuartm: | that doesn't demonstrate events with arguments though, PLAY_STARTED seems to include details of the recording e.g. "PLAY_STARTED HOSTNAME {hostname} CHANID {chanid} STARTTIME {starttime} |
| [19:07:51] | stuartm: | I don't know if that's relevant to your usage? |
| [19:09:51] | stuartm: | to confuse matters, there is a second way to know if playback has started which is used by the music player to stop music playback |
| [19:10:00] | stuartm: | gCoreContext->RegisterForPlayback(this, SLOT(StopPlayback())); |
| [19:10:02] | stuartm: | connect(gCoreContext, SIGNAL(TVPlaybackStopped()), this, SLOT(StartPlayback())); |
| [19:10:03] | stuartm: | connect(gCoreContext, SIGNAL(TVPlaybackAborted()), this, SLOT(StartPlayback())); |
| [19:10:27] | stuartm: | now that I look at it, that's probably what you wanted to begin with |
| [19:11:08] | stuartm: | using QT signals/slots (basically sophisticated callbacks) |
| [19:12:06] | stuartm: | http://qt-project.org/doc/qt-4.8/signalsandsl . . . ls-and-slots |
| [19:16:29] | NightMonkey (NightMonkey!~NightrMon@pdpc/supporter/professional/nightmonkey) has joined #mythtv | |
| [19:45:01] | Goga777 (Goga777!~Goga777@95-30-210-139.broadband.corbina.ru) has quit (Remote host closed the connection) | |
| [19:59:16] | len_ (len_!~quassel@67-6-37-92.mpls.qwest.net) has joined #mythtv | |
| [20:21:48] | dblain: | stuartm: just an FYI... my schedule just got overloaded... I won't be ablt to work on any of my mythtv tasks until after Dec. 15th at the earliest. :( |
| [20:28:22] | NightMonkey (NightMonkey!~NightrMon@pdpc/supporter/professional/nightmonkey) has quit (Quit: Body blow! Body blow!) | |
| [20:32:38] | joki (joki!~joki@p5486026D.dip0.t-ipconnect.de) has quit (Ping timeout: 245 seconds) | |
| [20:38:24] | joki (joki!~joki@p54860232.dip0.t-ipconnect.de) has joined #mythtv | |
| [21:33:54] | RogerM (RogerM!~chatzilla@212.247.248.179) has joined #mythtv | |
| [22:52:19] | SteveGoodey (SteveGoodey!~steve@host109-158-208-19.range109-158.btcentralplus.com) has quit (Quit: Konversation terminated!) | |
| [22:59:30] | rsiebert_ (rsiebert_!~quassel@g226063006.adsl.alicedsl.de) has joined #mythtv | |
| [23:02:05] | RogerM (RogerM!~chatzilla@212.247.248.179) has quit (Quit: ChatZilla 0.9.90.1 [Firefox 25.0/20131025151332]) | |
| [23:02:27] | rsiebert (rsiebert!~quassel@g225049068.adsl.alicedsl.de) has quit (Ping timeout: 246 seconds) | |
| [23:36:11] | Tobbe5178 (Tobbe5178!~asdf@h104n2-sv-a13.ias.bredband.telia.com) has quit (Read error: Connection reset by peer) | |
IRC Logs collected by
BeirdoBot.
Please use the above link to report any bugs.