Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

How to use python Frontend object with non-default hostname

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


mythtv-users2 at dwilga-linux1

Aug 31, 2012, 11:21 AM

Post #1 of 2 (163 views)
Permalink
How to use python Frontend object with non-default hostname

Could someone give me an example of passing a different hostname and/or
port to the Frontend object? The documentation only shows the use of
fromUPNP(), which won't accomplish what I'd like to do.

--
Dan Wilga "Ook."

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


raymond at wagnerrp

Aug 31, 2012, 11:51 AM

Post #2 of 2 (155 views)
Permalink
Re: How to use python Frontend object with non-default hostname [In reply to]

On 8/31/2012 14:21, Dan Wilga wrote:
> Could someone give me an example of passing a different hostname and/or
> port to the Frontend object? The documentation only shows the use of
> fromUPNP(), which won't accomplish what I'd like to do.

Connect to a known frontend...

>>> Frontend(host, port)

Connect to a frontend on an unknown port...

>>> MythDB().getFrontend(host)
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.