LinHES Forums http://forums.linhes.org/ |
|
Autostart of nxtvepg in LinHES? http://forums.linhes.org/viewtopic.php?f=21&t=21106 |
Page 1 of 1 |
Author: | wulf [ Fri Jun 04, 2010 2:59 am ] |
Post subject: | Autostart of nxtvepg in LinHES? |
Hey Guys, how can I add a commando to autostart in Archlinux eg. LinHES? Because in Germany we don`t have a good EPG Grabber, I use the broadcasted Analog one. I grab that via Nextview. For that I use the command: Code: nxtvepgd -rcfile ./nxtvepg.conf (This would be great to add to autostart but I dont understand the mechanism in Archlinux.) I set the capturing to passive and the starting channel to the on that sends the epg data. Than I start nxtvepg from time to time and export the current status as an xml file. (Is it possible to do that also from the commandline?) And that I run Code: mythfilldatabase --file 2 ./epg/nxtvepgexport.xml
Well that works but has to be done by hand... ![]() Do you have an Idea how I can automate this process? In this Link the most things are explained, but not how to get this into cron?!? Thanks! |
Author: | wulf [ Mon Jun 14, 2010 3:11 pm ] |
Post subject: | |
OK, this means its not possible to autostart a commandline program in linhes ![]() |
Author: | alien [ Tue Jun 15, 2010 2:09 am ] |
Post subject: | |
Check out "man 1 crontab" and "man 5 crontab". Basically, you want to do a crontab -e (edit crontab) as the user that needs to run the command and add a line like: 05 9 * * * /myth/bin/nightly-cron.pl This will run nightly-cron.pl every morning at 09:05. I haven't used nxtvepgd in years... You might want to switch to DVB. The EPG for digital works out-of-the-box with mythtv. Whether you use satellite or cable, the selection of unencrypted digital channels should be the same or better than the analog ones. Just make sure you get a DVB card that works in linux.... |
Author: | wulf [ Tue Jun 15, 2010 3:17 am ] |
Post subject: | |
OK Thanks I'll check that. is ther also an option to run a script just at startup? i wanna use the analog stuff because the privat dvb-c channels in germany are encrypted and i wont pay for watching ads o i use the analog cards for these channels. i have a working dvb-c hdtv card but only for the free to air channels. |
Author: | brfransen [ Tue Jun 15, 2010 9:30 am ] |
Post subject: | |
To run at startup put it in /etc/runit/1.local or ~/.fluxbox/apps. |
Author: | alien [ Wed Jun 16, 2010 4:44 am ] |
Post subject: | |
Note that you can't record or watch liveTV when the nxtvepg is running. If I remember correctly, it takes about 10 mins to do the scan, that is why I didn't run it at startup. I'm surprised you have unencrypted analog cable channels that are encrypted in digital. It wasn't like that when I had cable a couple of years ago.... I guess it has changed. |
Author: | wulf [ Wed Jun 16, 2010 10:14 am ] |
Post subject: | |
alien wrote: Note that you can't record or watch liveTV when the nxtvepg is running. If I remember correctly, it takes about 10 mins to do the scan, that is why I didn't run it at startup. Normally thats right, but I set up the nextview config, that it passively collects the epg information. Code: acq_mode = passive so it collects as along as i dont switch to another channel. and cause i have two pvr cards this doesnt happen often. alien wrote: I'm surprised you have unencrypted analog cable channels that are encrypted in digital. It wasn't like that when I had cable a couple of years ago.... I guess it has changed.
Yeah, that changed and is a pitty. But thats the way it works if US Investors take over the german cable net. they want the people to get to "pay per view". hopefully this doesnt work ![]() |
Author: | wulf [ Wed Jun 23, 2010 2:35 am ] |
Post subject: | |
brfransen wrote: To run at startup put it in /etc/runit/1.local or ~/.fluxbox/apps.
Is it run by mzthtv if I use this location or do i have to add something - so mythtv is the owner? |
Author: | brfransen [ Wed Jun 23, 2010 3:00 am ] |
Post subject: | |
Put it in ~/.fluxbox/apps if you want it to be run by mythtv. |
Author: | wulf [ Sat Jul 31, 2010 8:10 am ] |
Post subject: | |
Well that doesn't really work. I tried to write the commandline in there Code: nxtvepg -rcfile /home/mythtv/.nxtvepgrc but that didn't start the programm - so i wrote a script with the command in there and wrote on the fluxbox app file only Code: sh /home/mythtv/bin/nextviewstart
that also did not work. how do I have to put it in there? |
Author: | brfransen [ Mon Aug 02, 2010 10:13 am ] |
Post subject: | |
In ~/.fluxbox/apps the line needs to be something like: Code: [startup] {nxtvepg -rcfile /home/mythtv/.nxtvepgrc}
|
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |