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: Thu Apr 06, 2006 8:56 am 
Offline
Joined: Mon Feb 13, 2006 10:44 am
Posts: 16
Ok, at the command line how do I find what version of MythTV I am running? Yes, I know I am running the latest version, but where is that stored? I've looked through the tables in mysql, but I can't find that information.
Also, there doesn't seem to be any mythtv commands to which I can pass "--version", so how do you find this out?

(*btw, the reason I'm needing this is I'm writing a webmin module for mythtv, and that is information that should be displayed in the module window)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 06, 2006 9:39 am 
Offline
Joined: Tue Feb 21, 2006 7:24 am
Posts: 396
Location: Dushanbe, Tajikistan
grep "mythbackend version:" /var/log/mythtv/mythbackend.log |tail -1

cat /etc/KnoppMyth-version

mythbackend --version


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 06, 2006 10:16 am 
Offline
Joined: Fri Nov 18, 2005 9:22 am
Posts: 777
Location: spencerport, ny (USA)
Here are others:


Code:
dpkg-query -l 'myth*'

(Shows versions of relevant modules)

and


Code:
cat /etc/KnoppMyth-version


You can get the nVidia driver versions from XFree86.0.log, also the current desktop virtual size, name of the current modeline, DPI, screen dimensions, etc..


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 06, 2006 11:00 am 
Offline
Joined: Mon Feb 13, 2006 10:44 am
Posts: 16
Great. Will use the "mythbackend --version" for right now, but will also try the others.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 08, 2006 1:43 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,
cat /etc/K* works also since there is only one K file. Then I edit my menu so the next time I forget, it is handy :)

nano /usr/share/mythtv/mainmenu.xml

<button>
<type>KnoppMyth</type>
<text>KnoppMyth R5 Alpha 16</text>
<action>MENU knoppmyth.xml</action>
</button>

If I was smarter, I would write a script that would plunk that tid-bit in after I did an upgrade but I'm not so it is just a simple edit anyway.

Mike


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: Bing [Bot] and 8 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