SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-28-2010, 09:01 PM
Spartan's Avatar
Spartan Spartan is offline
Sage Advanced User
 
Join Date: Nov 2007
Location: Michigan, USA
Posts: 109
SageTCPServer -- chan up / chan down doesn't work

I am using SageTCPServer in conjunction with iRule to control SageTV from my iPhone. In testing, I have my Sage going thru an HD200. All of the functions (that I have tried) work except for channel up / channel down. The commands sent from within iRule are:

PLM:CHD\x0D (chan down)
PLM:CHU\x0D (chan up)

In the SageTV logs, I see:

Code:
Tue 9/28 22:44:22.435 [Thread-17@c66962] sagetcpserver.SageServer.processIncomingMessages(SageServer.java:291)

Tue 9/28 22:44:22.435 [Thread-17@c66962] sagetcpserver.SageServer.run(SageServer.java:172)

Tue 9/28 22:44:22.630 [Thread-17@c66962] [[SageTCPServer-MessageType]]: Found match with PLM
Tue 9/28 22:44:22.630 [Thread-17@c66962] [[SageTCPServer-SageServer(001d6a5cabd9:9252)]]: Message received: PLM:CHD
Tue 9/28 22:44:22.630 [Thread-17@c66962] [[SageTCPServer-SageServer(001d6a5cabd9:9252)]]: Now 1 incoming message(s) in list.
Tue 9/28 22:44:22.630 [Thread-17@c66962] [[SageTCPServer-SageServer(001d6a5cabd9:9252)]]: (Processing messages) There is now 1 incoming message.
Tue 9/28 22:44:22.630 [Thread-17@c66962] [[SageTCPServer-SageServer(001d6a5cabd9:9252)]]: The following UI context are available: 001d6a5cabd9, 
Tue 9/28 22:44:22.630 [Thread-17@c66962] [[SageTCPServer-SageServer(001d6a5cabd9:9252)]]: (Processing messages) PLM:CHD
Tue 9/28 22:44:22.630 [Thread-17@c66962] [[SageTCPServer-SageServer(001d6a5cabd9:9252)]]: EXCEPTION java.lang.Throwable: Playmode not matched AT sagetcpserver.SageServer.setPlayMode(SageServer.java:759)
Reply With Quote
  #2  
Old 09-28-2010, 09:29 PM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Those are not "play mode" commands... Try CMD:CHU (or CHD/VOLU/VOLD)...
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API
MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC
TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device
TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2
TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad
Reply With Quote
  #3  
Old 09-29-2010, 07:48 PM
Spartan's Avatar
Spartan Spartan is offline
Sage Advanced User
 
Join Date: Nov 2007
Location: Michigan, USA
Posts: 109
Thanks for the quick reply! While I no longer get the exceptions thrown, sage is not functioning the way I want.

What I am looking for is a way to replicate the way that you can jump around quickly in the guide. For example, on the sage extender remote, the channel up/down keys do a page up/down in the guide. The ff/rew keys go forward & back in time by one page, and the skipbk2/skipfw2 buttons go forward and back by a day.

Thanks!
Reply With Quote
  #4  
Old 09-29-2010, 09:10 PM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Quote:
Originally Posted by Spartan View Post
For example, on the sage extender remote, the channel up/down keys do a page up/down in the guide.
If you look in the Sage documentation, you will see that what they actually use on the remote is something like "ChannelUp/PageUp" or such (i.e. a single command that is not just "ChannelUp"), so just match it with the CMD.
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API
MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC
TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device
TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2
TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad
Reply With Quote
  #5  
Old 09-30-2010, 08:13 AM
Spartan's Avatar
Spartan Spartan is offline
Sage Advanced User
 
Join Date: Nov 2007
Location: Michigan, USA
Posts: 109
Quote:
Originally Posted by Fonceur View Post
If you look in the Sage documentation, you will see that what they actually use on the remote is something like "ChannelUp/PageUp" or such (i.e. a single command that is not just "ChannelUp"), so just match it with the CMD.
Ok -- so looking at the documentation, i see the compounds commands but they are not consistent. For example, one says

Channel Up / Page Up

and then immediately below it is referred to as

Channel Up & Page Up

Assuming one of these is correct, would my sagetcpserver command then be:

CMD:Channel Up / Page Up\x0D
Reply With Quote
  #6  
Old 09-30-2010, 09:31 AM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Yes, the commands that I send in my Android app are:

CMD:Channel Up/Page Up\n

and

CMD:Channel Down/Page Down\n
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API
MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC
TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device
TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2
TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad
Reply With Quote
Reply

Tags
sagetcpserver


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SageTCPServer - @Fonceur Osler SageTV Customizations 12 07-12-2010 09:02 PM
No More Analog Comcast Chan 31 and up. nyplayer SageTV EPG Service 2 06-25-2009 12:53 PM
2xtuners-both recording the same chan :( hoody Hardware Support 12 01-29-2005 04:48 PM
SageTV 2.0.15 Chan overlay font too small for TVs, > 4 MHz BW NTSC of stand. required rak306 SageTV Beta Test Software 7 04-09-2004 07:01 AM
How to get TTV2 to always use chan 3 ? auggie SageTV Beta Test Software 1 02-06-2004 10:52 AM


All times are GMT -6. The time now is 06:57 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.