View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Oct 26, 2005 9:07 am 
Offline
Joined: Fri May 27, 2005 8:13 am
Posts: 9
Hi!

I want to add the program "lxdvdrip", which is a commandline utility, to the MythTV frontend menu. I know how to add buttons and link programs to it, but the thing is that the frontend stops responding while the program runs (in this case about an hour!). Is it possible to start the program in the background with still being able to use mythfrontend while the program is executed?
This may be more of a linux question than a mythtv question... :?

Thanks,
Steve


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 26, 2005 9:46 am 
Offline
Joined: Fri May 27, 2005 8:13 am
Posts: 9
OK, I found out how to execute commands in the background in Linux! :oops:
Code:
command &


Now I have the problem that MythTV doesn't like the & with the EXEC command! It tells me that the menu file is incomplete and I can't even get into the menu. The console log says:
Quote:
at line: xx column: xx msg: letter is expected


Anyone know how I could solve this?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 26, 2005 10:05 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
put the command in a shell script and call that. something like
Code:
#!/bin/sh

command &


don't forget to make the script executable.

chmod +x scriptname.sh

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 26, 2005 10:20 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
& amd XML don't get along. You need to substitue it with
Code:
&
or following X's advice.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 26, 2005 1:21 pm 
Offline
Joined: Fri May 27, 2005 8:13 am
Posts: 9
Thank you guys! :D


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu