Permalink
Browse files

json-rpc: add Player.GoTo support for Live TV, uses position as chann…

…el number
  • Loading branch information...
RobertMe committed Aug 25, 2012
1 parent 32418a1 commit a6c639672f04acfe5e6dfcf7d71d475c1fa7d93d
Showing with 5 additions and 0 deletions.
  1. +5 −0 xbmc/interfaces/json-rpc/PlayerOperations.cpp
@@ -625,6 +625,11 @@ JSONRPC_STATUS CPlayerOperations::GoTo(const CStdString &method, ITransportLayer
CApplicationMessenger::Get().PlayListPlayerPlay(position);
break;
+ case LiveTV:
+ if (!g_PVRManager.ChannelSwitch(position))
+ return FailedToExecute;
+ break;
+
case Picture:
case None:
default:

0 comments on commit a6c6396

Please sign in to comment.