Pages: 1 3

2007/08/01

  03:12:21 pm, by   , 152 words  
Categories: MythTV, MythTV, QT 3, C++

MythAlarm

I found a couple of links - this one from April 2003 - "MythAlarm Requirements":

http://www.gossamer-threads.com/lists/mythtv/users/24235

Guess a list of requirements was all the person was able to do. Ahh well some good ideas in there anyway.

Also an entry in the mythtv.org trac about adding a clock to any menu: http://svn.mythtv.org/trac/changeset/13574

Now thats not quite what I was looking to build but an interesting idea anyway.

My first attempt at putting the binClock code in didn't have any effect - not surprising from the quick code mashup I performed.

Read more »

2007/07/30

  03:05:45 pm, by   , 432 words  
Categories: MythTV

MythAlarm part 3

Ok, so after getting the MythAlarm stuff all working I tested it - and not much happened. After looking through the code I can see why - there's not much code there to do anything. Really - as in (almost) nothing - I'm not sure what the original poster thought would happen but to test your code it needs to do something.

So, this got me thinking.

Read more »

2007/07/29

  10:25:25 pm, by   , 297 words  
Categories: MythTV

MythAlarm part 2

So in this second part, I needed to add MythAlarm (and MythHelloWorld) to the MythTV main menu:

# nano /usr/share/mythtv/mainmenu.xml

I added these lines near the bottom of the file:

[lt]button[gt]
   [lt]type[gt]HELLO_MYTH[lt]/type[gt]
   [lt]text[gt]Hello Myth[lt]/text[gt]
   [lt]action[gt]PLUGIN mythhello[lt]/action[gt]
[lt]/button[gt]

[lt]button[gt]
   [lt]type[gt]MYTHALARM[lt]/type[gt]
   [lt]text[gt]Myth Alarm[lt]/text[gt]
   [lt]action[gt]MENU alarm_settings.xml[lt]/action[gt]
[lt]/button[gt]

Then copy over the alarm-ui.xml and alarm_settings.xml files to where MythTV can find them:

# cp al*.xml /usr/share/mythtv/.

Then fire up MythTV and see if it works ...

Read more »

  02:22:42 pm, by   , 1023 words  
Categories: MythTV

MythAlarm

I was looking recently for an Alarm for my MythTV box, but there doesn't seem to be one. I did find some code on a recent posting here:

http://www.qtcentre.org/forum/f-qt-programming-2/t-q-object-problems-7670-post44252.html#post44252

Downloaded - and had to massage it to use local QT3 instead of the QT4 that's also installed on my Gentoo MythTV box. Would be nice if MythTV could move forward to QT4. Anyway, once it finally compiled right, I found this article:

http://www.mythtv.org/wiki/index.php/Building_Plugins:HelloMyth

on building MythTV plugins, and used this as a guide on where to add in the MythAlarm information.

Read more »

1 3

April 2024
Mon Tue Wed Thu Fri Sat Sun
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          
 << <   > >>

Programming

Programming

Search

  XML Feeds

blog software