← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 945582] Re: MythTV Status doesn't work with MythTV 0.25

 

When using the long-term support version 12.04 Precise Pangolin one
might find these lines helpful:

# check the status: 
if /usr/bin/lynx -dump localhost:6544/Status/GetStatusHTML | grep -e "is watching Live TV" -e "and is recording";
	then echo "Recording Now";
fi


# In this year, 2012, one can use these funny lines to get the time of the next recording in a decent format.
# You have to first do the complete conversion of mythtv-status as instructed in the comment #4 above: 
# scheduled next: 
mythtv-status | grep "   " | (read -n 19 i; echo $i;) | cut -c 12-16 > ~/recordings1-time.txt;
# Day
mythtv-status | grep "   " | (read -n 19 i; echo $i;) | cut -c 5-6 > ~/recordings1-dd.txt;
# Month
mythtv-status | grep "   " | (read -n 19 i; echo $i;) | cut -c 8-9 > ~/recordings1-mm.txt;
# in the end in a decent format: 
echo 2012-$(cat ~/recordings1-mm.txt)-$(cat ~/recordings1-dd.txt) $(cat ~/recordings1-time.txt) > ~/recordings1-date.txt;

-- 
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to mythtv-status in Ubuntu.
https://bugs.launchpad.net/bugs/945582

Title:
  MythTV Status doesn't work with MythTV 0.25

Status in “mythtv-status” package in Ubuntu:
  Triaged

Bug description:
  mythtv-status does not work properly. In Ubuntu 12.04 I get the
  following error message:

  buddha@precisetest:~$ mythtv-status 
  Sorry, failed to fetch http://localhost:6544/xml:
  404 Not Found

  mythtv-backend is running well.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mythtv-status/+bug/945582/+subscriptions


References