Assembla home | Assembla project page
 

Troubleshooting the Sage GetStatus? plugin

You can check to see if the GetStatus TCP server has started by using netstat: run the following in a command prompt window

netstat -an | more

and check that the there is a line showing that there is something listening on the status port:

  TCP    127.0.0.1:20000        0.0.0.0:0              LISTENING

You can test the plugin by telnetting to that port:

  • start->run
  • telnet localhost 20000
    Trying 127.0.0.1...
    Connected to nielspc.
    Escape character is '^]'.
    now_playing_type: nothing
    now_playing_show: 
    now_playing_episode: 
    now_playing_artist: 
    now_playing_channel: 
    now_playing_starttime: 
    now_playing_endtime: 
    now_playing_currpos: 
    now_playing_state: stopped
    num_recording_devs: 0
    

Each time you hit Enter, the latest information is displayed.

Note that the plugin can only have 1 application connected to it at any one time: other applications will fail to retrieve the data.

If the status plugin fails to start you can enable the SageTV debug console, if there is an error loading the plugin, then it may be shown here (the plugin is loaded just before the main UI screen appears).