egghead | mythbuntu 9.10, is there a script/bash command line that scans the video directory, like in watch video, menu, the scan for changes? | 01:37 |
---|---|---|
foxbuntu | egghead, depends what exactly you are trying to do...there are several scripts | 02:23 |
egghead | foxbuntu, rescan the video directory for added/deleted files, and update the sql db with the new info, same thing as the scan for changes does | 02:51 |
foxbuntu | egghead, then I dont really understand why you dont use the frontend? | 02:51 |
ahughes | how can I add or search for upnp servers to add to the library? | 02:52 |
egghead | will its gets more involed then what i stated, lol doesnt it always? i build a set of directoryies and link the files from several hd's using a script, it would be very nice to add a rebuild db call to the end of that scrip | 02:54 |
foxbuntu | egghead, still, even if that script runs while the frontend is open all you have to do is either scan for changes (manually) or default to the file browser mode in MythVideo and it will scan when you enter Videos | 02:58 |
egghead | yes i know, that is what i do now | 02:59 |
egghead | i have to do this every time i add videos, i take it you dont know if the fe call a script or its written inti the fe | 03:00 |
foxbuntu | egghead, its built into the plugin | 03:01 |
foxbuntu | egghead, however this is the script you can use to do mass updates of the metadata and data files: http://www.mythtv.org/wiki/Jamu | 03:02 |
Zinn | [www.mythtv.org] Jamu - MythTV | 03:02 |
egghead | hmmm, maybe ill take a look at the source video plugin | 03:03 |
egghead | umm i use a different, kinda dont like some of the jamu behaviors | 03:03 |
foxbuntu | egghead, I only am hesitant to offer any advice that can cause damage and data loss, which if you modify anything the in database improperly you can break your system | 03:04 |
egghead | oh wait are you saying the jamu will add in a file into the db? | 03:05 |
egghead | yea, thats why i dont wanna write someting that pops lines into the sql db | 03:05 |
egghead | does jamu add files into the database if not already in the db? | 03:06 |
foxbuntu | http://www.mythtv.org/wiki/Jamu#Moving_video_files | 03:06 |
Zinn | [www.mythtv.org] Jamu - MythTV | 03:06 |
egghead | ahhh cool | 03:07 |
egghead | foxbuntu thanks for your help | 03:08 |
foxbuntu | egghead, np | 03:08 |
egghead | :) | 03:08 |
egghead | night | 03:08 |
mrand | Another satisfied customer. | 03:09 |
foxbuntu | mrand, one at a time | 03:10 |
foxbuntu | ;) | 03:10 |
foxbuntu | mrand, my plan for world domination through Mythbuntu | 03:10 |
mrand | Hope you are a VERY patient man. | 03:10 |
kees | gah. *bang head on desk* | 03:11 |
foxbuntu | you've met me...we both know thats not true ;) | 03:11 |
kees | I'm trying to set up an lirc blaster, and having no luck | 03:12 |
kees | well, it's going well except that irsend doesn't work. | 03:12 |
mrand | foxbuntu: indeed. | 03:12 |
kees | anyone have a working blaster? | 03:13 |
foxbuntu | mrand, you catch my super awesome article on python threading? | 03:13 |
foxbuntu | kees, sorry, I use Firewire and Serial | 03:13 |
mrand | I use serial only. I had blaster set up and working... don't remember it being any trouble at all, so I can't say I have any experience with it :-| | 03:13 |
kees | foxbuntu: oh, firewire might actually be an option. how does that work? | 03:13 |
mrand | foxbuntu: no, I must have missed it. I need to pick a python project and get started learning it. | 03:14 |
foxbuntu | kees, if you have a cable STB with firewire enabled you can try the 6200ch binary channel changer to control the box via firewire, in some cases even record from the firewire | 03:14 |
foxbuntu | mrand, http://www.rubmyubuntu.com/Python/Threading | 03:15 |
Zinn | [www.rubmyubuntu.com] Basic Python Threading | RubMyUbuntu.com | 03:15 |
kees | foxbuntu: what program does the firewire commands? | 03:18 |
foxbuntu | kees, http://www.mythtv.org/wiki/FireWire#Changing_Channels_via_Firewire | 03:19 |
Zinn | [www.mythtv.org] FireWire - MythTV | 03:19 |
kees | foxbuntu: ah-ha, yes, I see the 6200ch in there now. thanks! | 03:19 |
dabukalam_ | hi. I'm thinking of getting this, but I was wondering if anyone has had past experience with xbmc and how this compares to that media center software? | 03:23 |
mrand | dabukalam_: I've not used xbmc, but I've heard the UI is very nice. When I started using mythtv, xbmc wouldn't record livetv or skip commercials. I think they've been working on improving that, but I don't know where they are at this very moment in time. | 03:27 |
mrand | MythTV just revamped their UI, so more themes are on their way. | 03:28 |
dabukalam_ | okay, i have another question | 03:28 |
dabukalam_ | i have a receiver at home | 03:28 |
dabukalam_ | it needs a smartcard | 03:28 |
dabukalam_ | it has both composite and TV out | 03:28 |
mrand | receiver = cable box? smartcard = cablecard? | 03:28 |
dabukalam_ | yeah it's cable | 03:29 |
dabukalam_ | how do i connect it to a computer | 03:29 |
dabukalam_ | the guy said it wasn't possible, but he looked like an idiot | 03:29 |
mrand | I have that exact setup, as do many. It is quite possible. | 03:29 |
mrand | Most people use an mpeg-2 capture device | 03:30 |
dabukalam_ | how do you do it? just connect the TV out to the TV tuner? | 03:30 |
foxbuntu | dabukalam_, using any number of capture cards will work: http://www.mythtv.org/wiki/Category:Video_capture_cards | 03:30 |
Zinn | [www.mythtv.org] Category:Video capture cards - MythTV | 03:30 |
mrand | thanks foxbuntu. | 03:30 |
dabukalam_ | these come as PCI cards? | 03:30 |
mrand | yes. | 03:31 |
mrand | Or USB | 03:31 |
dabukalam_ | sweet | 03:31 |
dabukalam_ | and it scans the channels, and makes them navigable from the remote? | 03:31 |
mrand | Are you in the US? | 03:31 |
dabukalam_ | nope | 03:31 |
dabukalam_ | Lebanon | 03:32 |
mrand | Ok, schedules direct probably wont work for you then :-) That is a TV scheduling service. | 03:32 |
mrand | TV show schedule, that is. | 03:32 |
mrand | Most in the US use that. it contains channel lineups as well. | 03:32 |
dabukalam_ | oh, so I just connect the cable to the TV Tuner, and use the receiver's remote to navigate? | 03:32 |
foxbuntu | dabukalam_, short answer is yes, you ust have to get your local guide data from a source (what it is for you I do not know) | 03:33 |
foxbuntu | ust = just | 03:33 |
mrand | If many (or most) of your channels are encrypted, you have to keep your cable box. You take the output of that to the video capture device. | 03:33 |
mrand | You can control the cable box from the PC. | 03:33 |
mrand | The PC takes the remote control input and uses that to control the cable box. | 03:34 |
dabukalam_ | but how does that work? how can the PC control the cable box channels? | 03:34 |
mrand | either IR-blasting, or serial port. Perhaps firewire. | 03:34 |
dabukalam_ | i don't think my receiver has any of those ports | 03:34 |
dabukalam_ | one sec let me check | 03:35 |
mrand | IR-blasting is the same thing as using a remote. | 03:35 |
mrand | So it's as if the PC is pushing buttons on a remote control, and the cable box receives those. Uses infra-red just like a real remote. | 03:35 |
jaypetey | hi, could anyone give me a good ffmpeg line for basic transcode to 480P? (I plan on using mythexport) | 03:43 |
dabukalam_ | mrand: i took some photos of the back of my receiver. If you're not too busy, could you take a look and let me know what I could so with the ports? | 03:45 |
mrand | jaypetey: sorry. rhpot1991 might be able to help, otherwise you may need to search other mythtv resources (forums, mailing lists, etc). Google tends to cover them all pretty well with a single search that include "mythtv OR mythbuntu" | 03:49 |
mrand | dabukalam_: I can try. use imagebin | 03:50 |
dabukalam_ | mrand: http://imagebin.org/79977 | 03:53 |
Zinn | [imagebin.org] Imagebin - A place to slap up your images. | 03:53 |
jaypetey | mrand: yeah, i've done a bit of searching and didn't turn up anything. which is odd, because i would expect it to be a common thing. oh well, thanks *back to google | 03:55 |
mrand | dabukalam_: My cable box has an RS-232 (aka serial), which allows me to change channels. Very reliable. But you have to know what protocol it speaks. Searching around on your box brand and/or part number along with "mythtv" may turn up something. Otherwise IR (emulating a remote) would probably work for channel changing. | 03:56 |
mrand | jaypetey: Make sure to check the mythbuntu forums, as well as http://www.gossamer-threads.com/lists/mythtv/ | 03:57 |
Zinn | [www.gossamer-threads.com] MythTV | 03:57 |
jaypetey | mrand: good call.. | 03:57 |
dabukalam_ | so I use my bluetooth media keyboard, which connects to the PC, which has an USB IR Transmitter, which tells the receiver what to do? | 03:57 |
mrand | dabukalam_: Yes, you could use a bluetooth keyboard. Or a MCE remote. many video capture devices come with remotes. | 03:58 |
mrand | Many also come with IR transmitters. | 03:59 |
dabukalam_ | I already have the remote ;) | 03:59 |
=== jakent_ is now known as jakent | ||
hipitihop | Is backend-frontend compatible with the nvidia 195 driver ? I just switched from 185 and now no backend or frontend starts up | 04:14 |
hipitihop | I did update-manager update, disabled the nvidia 185 driver because there was conflict during the update and enabled 195 now backened and forntened gone .. dpkg,log section here http://paste.ubuntu.com/356881/ | 04:41 |
Zinn | [paste.ubuntu.com] Ubuntu Pastebin | 04:41 |
hipitihop | ok, clearly there is a dependency. by removing the 185 nvidia drive it also removed the nvidia-185-libvdpau and that triggerd removal of most myth elements. Switching back 185 and adding the libvdpau is now allowing me to re-install mythtv so fingers crossed | 05:08 |
foxbuntu | hipitihop, are you using the PPA? | 05:08 |
foxbuntu | auto-builds that is | 05:08 |
hipitihop | foxbuntu, you mean for the nvidia driver ? | 05:09 |
foxbuntu | no. for mythtv | 05:09 |
hipitihop | not sure, /etc/apt/sources.list will tell me ? | 05:09 |
superm1 | apt-cache policy mythtv | 05:10 |
superm1 | will | 05:10 |
foxbuntu | evening superm1 | 05:10 |
superm1 | hi | 05:10 |
superm1 | man i dont know what's up with my xchat all of a sudden on my netbook, but the last line of chats in xchat wont show up unless i change channels and back | 05:10 |
superm1 | wth? | 05:10 |
foxbuntu | odd | 05:10 |
hipitihop | superm1, doesn't seem so... Installed: 0.22.0+fixes22594-0ubuntu1 | 05:11 |
hipitihop | Candidate: 0.22.0+fixes22594-0ubuntu1 | 05:11 |
hipitihop | Version table: | 05:11 |
hipitihop | *** 0.22.0+fixes22594-0ubuntu1 0 | 05:11 |
hipitihop | 500 http://archive.ubuntu.com karmic/multiverse Packages | 05:11 |
Zinn | [archive.ubuntu.com] Index of / | 05:11 |
hipitihop | 100 /var/lib/dpkg/status | 05:11 |
superm1 | !pastebin | Hikah | 05:11 |
Zinn | Hikah: when pasting more than 5 lines of data please use http://mythbuntu.pastebin.com so you don't flood the channel. Then please post the link in the channel. | 05:11 |
superm1 | or | 05:11 |
superm1 | !pastebin | hipitihop | 05:11 |
Zinn | hipitihop: when pasting more than 5 lines of data please use http://mythbuntu.pastebin.com so you don't flood the channel. Then please post the link in the channel. | 05:11 |
superm1 | but that means you are using the one on the archive not the autobuilds ppa | 05:11 |
hipitihop | superm1, what should I be doing ? | 05:11 |
foxbuntu | superm1, my touchpad has developed an odd issue, when I sit with the laptop in my lap, it will start to random click and I have to tap/click all over the place to get it to stop | 05:12 |
superm1 | hipitihop, if you want something newer than the nvidia 185 driver in the repos, you need to activate autobuilds | 05:12 |
superm1 | foxbuntu, it could be a HW issue | 05:12 |
foxbuntu | superm1, yeah, I am pretty sure it is | 05:13 |
foxbuntu | superm1, I need to check my warr status | 05:13 |
foxbuntu | I think its expired | 05:13 |
superm1 | already? | 05:13 |
foxbuntu | I didnt pay extra for the extended | 05:13 |
rhpot1991 | foxbuntu: if there's anything I've learned from circuit city its that you should buy a new one and put the old broken one in the box and take it back | 05:15 |
foxbuntu | yup, its expired | 05:15 |
rhpot1991 | might not help you much with dell though :) | 05:15 |
foxbuntu | rhpot1991, lol | 05:16 |
foxbuntu | rhpot1991, I might have to ask someone I know at dell to try to get me a part | 05:16 |
foxbuntu | lol | 05:16 |
rhpot1991 | heh | 05:16 |
foxbuntu | wow | 05:16 |
foxbuntu | superm1, this laptop is nearly 18 months old | 05:17 |
superm1 | foxbuntu, i dont get a discount on parts i dont think | 05:18 |
superm1 | you should look and see how much a TP assembly is, i can't imagine its too pricey | 05:18 |
foxbuntu | no, I am trying to find it | 05:19 |
foxbuntu | superm1, I really didnt expect a discount, just access to it | 05:19 |
superm1 | you might have to call for it | 05:19 |
foxbuntu | ...as in you might have better access than the consumer | 05:19 |
foxbuntu | yeah' | 05:20 |
foxbuntu | I will talk to them (at some point) | 05:20 |
foxbuntu | its only intermitant right now | 05:20 |
superm1 | na, i dont have any better access | 05:22 |
foxbuntu | k | 05:22 |
foxbuntu | I'll see how it goes, I might just build another lappy any how | 05:23 |
foxbuntu | not sure what I will do with this one though | 05:23 |
superm1 | hm i wonder if i rearrange the xchat window if the bug still happens | 05:27 |
superm1 | weird. it doesn't | 05:27 |
hipitihop | superm1, I don't specifically want newer but I have been trying to solve this error: /var/cache/apt/archives/nvidia-185-libvdpau_185.18.36-0ubuntu9_amd64.deb: trying to overwrite '/usr/lib/libvdpau_nvidia.so.185.18.36', which is also in packa | 05:27 |
hipitihop | superm1, sorry, chooped the ne dof that "nvidia-glx-185" | 05:28 |
superm1 | hipitihop, where is that nvidia package coming from? | 05:29 |
hipitihop | superm1, I still get that problem now. this is where I started, that is why I disabled 185 and thought to go to newer but that removed many myth elements, see pastbin earlier. | 05:29 |
superm1 | hipitihop, you were using the vdpau PPA it looks like | 05:30 |
hipitihop | superm1, as to where, I'm not sure, sorry to be a pain but this is a little deeper then my experience at the moment | 05:30 |
superm1 | we can't support running that with mythtv in the archive | 05:31 |
superm1 | you need to add autobuilds or revert back to the archive packages at this point | 05:31 |
hipitihop | superm1, I'm happy to do whatever is the simplest and quieckest to get back to a working backend/frontend | 05:32 |
hipitihop | superm1, so should I disable the ppa ? and if so how | 05:32 |
hipitihop | superm1, this is in my /etc/apt/sources.list deb http://ppa.launchpad.net/nvidia-vdpau/ppa/ubuntu karmic main should I comment out or is there another karmic way now | 05:34 |
Zinn | [ppa.launchpad.net] Index of /nvidia-vdpau/ppa/ubuntu | 05:34 |
superm1 | hipitihop, go add autobuilds, and hopefully it should sort out then | 05:39 |
hipitihop | superm1, indeed that worked, I did have to remove one of the packages as it claimed to be broken and would refuse to activate autobuild... but now all good...many thanks, lifesaver | 06:34 |
superm1 | hipitihop, cool; good. | 06:35 |
superm1 | hipitihop, what was the broken package out of curiosity? | 06:35 |
hipitihop | superm1, knew you were going to ask that :-) ...ummm... libmytth.022 ...going from memory | 06:36 |
superm1 | libmyth-0.22 probably | 06:38 |
superm1 | probably because it was linked to the VDPAU library | 06:38 |
superm1 | which changed from whats on the autobuilds/vdpau PPA versus the archive | 06:38 |
hipitihop | superm1, yes you a right | 06:38 |
hipitihop | superm1, although I haven't confirmed if Indeed now have vdpau support enabled or not | 06:39 |
hipitihop | but the 185 driver is listed as active | 06:39 |
superm1 | dont trust what that says | 06:41 |
superm1 | jockey hasn't been patched to support the newer drivers properly i dont think | 06:41 |
hipitihop | ok I'll leave things as is, all appears normal on frontend and from mythweb so I'm happy for now. many thanks | 06:44 |
superm1 | hipitihop, you might want to make sure it's all still working after a reboot though :) | 06:50 |
hipitihop | superm1, already done that as I used control center to set as master backend and frontend and after it did installs I did reboot and everything is sweet | 06:52 |
superm1 | oh i see | 06:52 |
superm1 | i'll see if i can get the guy maintaining the vdpau ppa to put a conflicts on the mythtv in the archive | 06:53 |
superm1 | that way this doesnt happen again | 06:53 |
hipitihop | now backend is up/mythweb looks normal and frontend started automatically.. existing schedules appear to be there and previous recordings too so much relief here | 06:53 |
superm1 | you can now use the newer nvidia packages if you want too | 06:54 |
superm1 | the 190 or 195 | 06:54 |
hipitihop | btw, I'm not sure if it is interesting to you but I have had to do a upstart script to finally automate my lirc to work with my Imon remote...otherwise usbhid would always grab it instead of lirc_imon | 06:56 |
superm1 | not me directly, but i'm sure it will help someone! you might want to make a wiki page at mythbuntu.org/wiki | 06:57 |
Zinn | [mythbuntu.org] Mythbuntu User Wiki | Mythbuntu | 06:57 |
superm1 | or a forum post | 06:57 |
hipitihop | i'll add it to my todo's | 06:57 |
=== Daviey__ is now known as Daviey | ||
Abo | Hi All, my frontends wouldn't connect. looked at frontend log (/var/log/mythtv/mythfrontend.log) found error: MythSocket readStripList: Error, timed out after 7000ms. I googled it and found a solution to find and delete all mysql.txt files except /etc/mythtv/mysql.txt and restart backend. Remote frontend can now play music but crashes on the loading videos dialogue. Both the remote FE and BE/FE pop an error startup "cannot connect t | 10:43 |
=== croppa_ is now known as croppa | ||
noaXess | so.. yesterday i have updated my mythtvbackend.. and mythtv-status was removed.. | 12:32 |
noaXess | now i can't install mythtv-status.. i get: mythtv-status: Depends: libmyth-perl but it is not going to be installed | 12:33 |
noaXess | if i try install libmyth-perl i get: libmyth-perl: Depends: libmythtv-perl but it is not going to be installed.. and if i install libmythtv-perl i get: libmythtv-perl is already the newest version. | 12:33 |
noaXess | any idea how to get mythtv-status back? by the way i use the mythbuntu autobuilds | 12:34 |
Abo | Hi Again, seemed to have solved my problem, I put the mysql.txt including in /usr/share/mythtv/ I also changed is permsion to a+g=rw, I also added the password to the /usr/../mysql.txt.dist file and the can't connect to backend message went away. However my remote backend still crashes on the load videos dialogue. The frontend has the error: unable to find image file: gallery-folder-reg.png | 14:04 |
superm1 | noaXess, you need to add the testing repo | 18:19 |
superm1 | noaXess, you can enable it in mcc on the autobuilds page | 18:19 |
ducky | hey guys i was just wondering if anyone has had success with using a fios reciever or has heard of any. switching from direct tv to fios tv and was just wondering | 18:31 |
noaXess | superm1: mcc? mythtv control center? | 20:27 |
mrand | Yes. mcc = mythbuntu-control-centre (take note of the spelling, if you are searching for the package) | 20:30 |
henkpoley | On my bootchart I see a short running (5s) mythbackend process during bootup, is that normal ? | 20:31 |
superm1 | henkpoley, i've never looked to be honest | 20:38 |
superm1 | is it running after that? | 20:38 |
henkpoley | Well, just seemed odd, as since you *could* just run mythbackend on the 'bare metal' by starting it from init or your boot shell | 20:39 |
henkpoley | superm1: yes, a seperate process lives longer | 20:39 |
henkpoley | Hmm, it looks like xfce starts another backend ? wtf? | 20:41 |
henkpoley | xfsettingsd > gam_server > su > sh > mythbackend | 20:41 |
henkpoley | Or maybe I'm reading that wrong, at least it starts directly after gam_server | 20:43 |
superm1 | henkpoley, you can't run it from init because it needs sql running | 20:43 |
henkpoley | It doesn't show a graph from xfsettingsd to gam_server to su | 20:43 |
superm1 | the su - sh -mythbackend thing, i'm aware of | 20:44 |
superm1 | and i have a patch on trac for it | 20:44 |
superm1 | but upstream has ignored my patch for the last month | 20:44 |
henkpoley | superm1: link ? | 20:44 |
henkpoley | Anyways, it seems like the first backend just exits when a new one appears | 20:44 |
superm1 | http://svn.mythtv.org/trac/ticket/7832 | 20:45 |
Zinn | [svn.mythtv.org] #7832 (Add support to drop permissions if running as root) – MythTV | 20:45 |
henkpoley | except we now probably go thru backend initialisation twice | 20:45 |
superm1 | that will actually fix a few other problems too | 20:45 |
henkpoley | superm1: The su-sh thing has nothing to do with twice starting mythbackend, but more with a reworked login system (as used in ubuntu) ? | 20:49 |
superm1 | henkpoley, i'm not sure; but starting through su might have implications that are causing it to start that way | 20:50 |
superm1 | either that or it's just forking a pid | 20:50 |
henkpoley | superm1: When it first starts mysql isn't ready, it exits, then (by upstart?) get started again | 20:56 |
henkpoley | 2010-01-14 19:57:44.280 mythbackend version: branches/release-0-22-fixes [22594] www.mythtv.org | 20:57 |
Zinn | [www.mythtv.org] MythTV, Open Source DVR | 20:57 |
henkpoley | 2010-01-14 19:57:50.091 Failed to init MythContext, exiting. | 20:57 |
superm1 | henkpoley, ah that makes sense then | 20:57 |
henkpoley | Next line: | 20:57 |
henkpoley | 2010-01-14 19:57:50.302 mythbackend version: branches/release-0-22-fixes [22594] www.mythtv.org | 20:57 |
Zinn | [www.mythtv.org] MythTV, Open Source DVR | 20:57 |
superm1 | mysql isn't a dependency of mythtv-backend's upstart script | 20:57 |
henkpoley | Zinn should be rate limited ;-) | 20:57 |
Zinn | Hi henkpoley, something I can help you with today? Use !help to see what I can do. | 20:57 |
superm1 | because upstart doesn't have a concept of "start this if it exists" | 20:57 |
henkpoley | superm1: great.. | 20:58 |
superm1 | it shouldn't have any major negative implications on the system | 20:59 |
superm1 | i mean it will keep trying until it gets through to mysql | 20:59 |
henkpoley | Just trying to get the boot time down, a process doing stuff for 5 seconds is quite a bit | 21:01 |
superm1 | well but it shouldn't block the boot | 21:05 |
superm1 | it should be going in parallel | 21:05 |
henkpoley | superm1: Schaze has a nice and ugly fix for my 'problem' here: https://answers.launchpad.net/upstart/+question/88379 (at the bottom) | 21:15 |
Zinn | [answers.launchpad.net] Question #88379 : Questions : upstart | 21:15 |
superm1 | henkpoley, that's not valid for 10.04 | 21:18 |
superm1 | 10.04 has a mysql upstart job | 21:18 |
henkpoley | I don't run pre-alpha ubuntu :-P | 21:18 |
superm1 | well i dont fix issues in stable ubuntu ;) | 21:19 |
henkpoley | superm1: all upstart script are started asynchronous from the command ? | 21:19 |
henkpoley | (`service` command) | 21:19 |
superm1 | Yes | 21:19 |
superm1 | henkpoley, could you raise a question with the upstart people about getting support added for "start this if it exists, but dont let it block startup if it doesnt"? | 21:28 |
henkpoley | I'm pretty sure that's outside their philosophy | 21:29 |
henkpoley | I mean upstart has been around (afaik) since I left Linux on the desktop for OS X Tiger | 21:30 |
henkpoley | Initial release24 August 2006 | 21:30 |
superm1 | well it doesn't hurt to ask | 21:31 |
henkpoley | There seems to be a way by having scripts respond to 'emit'ed events | 21:31 |
superm1 | no that won't work | 21:31 |
superm1 | if you dont have mysql installed, you wont have an event to listen for | 21:31 |
superm1 | but you still want the backend to start | 21:31 |
henkpoley | so init/mysql should emit mysql-started, then mythbackend should start on that signal | 21:32 |
henkpoley | yes, you could have two mythbackend scripts :-P | 21:32 |
henkpoley | One to start "all" prerequisites | 21:32 |
henkpoley | Another to start the actual backend | 21:33 |
superm1 | two mythbackend scripts still doesn't solve it | 21:33 |
henkpoley | Could work if a script can listen to two events | 21:33 |
henkpoley | Problem ? | 21:33 |
superm1 | mythbackend could be blocked directly on mysql starting, but you dont have an alternative if it's not present | 21:33 |
superm1 | jobs can depend on one another | 21:34 |
henkpoley | Ehmm you mean you can't start mythtv without mysql having installed? (yes.. so?) | 21:35 |
superm1 | slave backends | 21:35 |
henkpoley | ah, external mysql server | 21:35 |
henkpoley | current (err =< 9.04) mythtv-backend init.d script doesn't model this either, does it ? | 21:36 |
superm1 | no it doesnt | 21:37 |
superm1 | sec brb phone | 21:37 |
henkpoley | Shaved of 1/2 a second by the pre-start mysql hack. Yay ^_^ ;-) | 21:41 |
henkpoley | *grin* seems to be only because ureadahead somehow takes less time :-P | 21:45 |
superm1 | okay back | 21:53 |
superm1 | so current 9.04 mythbackend doesnt block on mysql in any method | 21:53 |
superm1 | adding pre-start is quite a hack | 21:53 |
superm1 | it won't work on systems that don't have mysql | 21:54 |
superm1 | for 10.04 we cant block on mysql job because mysql might not be on the system if you are setting up a secondary backend | 21:54 |
superm1 | only solution is a conditional start flag to start if it exists | 21:54 |
superm1 | not much more to it | 21:54 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!