[mythtv-users] Assorted stuff

Gayle gayle at anothercrap.com
Sun May 1 14:42:03 UTC 2005


Three quick things...

1.  0.18 + DVB

For some reason I lost the UK DVB-T EPG data after updating to 0.18, no matter 
what I did I got no guide data (compile flags definitely correct).  I updated 
to CVS yesterday and all is now well again.  Commercial flagging is now 
working like a charm as well (in 0.17 it never really worked for me).  I also 
had issues with the program guide hanging on me if I tried to move away from 
the initial starting point but this is also now resolved.  All in all, many 
thanks for an excellent release that solved some other minor niggles I had as 
well.


2.  Deleting files in MythMusic

This may sound dumb, but how in Earth do you delete a file in MythMusic?  I 
have a few CDs with empty tracks a few seconds long that I'd like to remove.


3.  Internet connection

Some Myth plugin features require an internet connection to work properly, I'm 
on dialup and hate on demand dialling (I don't care if something wants to 
update itself at 3am, I do NOT want my modem dialling while I try to sleep!) 
so I threw together a quick script to toggle the dialup internet connection 
when I press a remote button.  It's only a few lines and is included below in 
case it's of use to someone else.

Regards,

Gayle


#!/bin/bash
# Toggle internet connection from within MythTV and show info on OSD.

# For a list of available interfaces use cinternet -I
INTERNET_INTERFACE=""

# PROVIDER should be the name of the ISP as configured in KInternet
PROVIDER=""

if cinternet --interface-name=$INTERNET_INTERFACE --status|grep -q 
"disconnected"
then
    mythtvosd --bcastaddr=127.0.0.1 --template=alert 
--alert_text="Establishing internet connection."
    cinternet --interface-name=$INTERNET_INTERFACE --provider-name=$PROVIDER 
--start
else
    mythtvosd --bcastaddr=127.0.0.1 --template=alert --alert_text="Closing 
internet connection."
    cinternet --interface-name=$INTERNET_INTERFACE --stop
fi


More information about the mythtv-users mailing list