From: <se...@us...> - 2007-09-14 04:47:25
|
Revision: 919 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=919&view=rev Author: sergem1 Date: 2007-09-13 21:47:21 -0700 (Thu, 13 Sep 2007) Log Message: ----------- Fixed new top URL that lead to empty page on start-up Added up and down paging control on info page (while Play button is selected) Modified Paths: -------------- trunk/plugins/ETVNet/ETVNet/ETVBrowser.cs trunk/plugins/ETVNet/ETVNet/ETVNetStreamInfo.cs trunk/plugins/ETVNet/ETVNet/TODO.txt Modified: trunk/plugins/ETVNet/ETVNet/ETVBrowser.cs =================================================================== --- trunk/plugins/ETVNet/ETVNet/ETVBrowser.cs 2007-09-13 13:36:29 UTC (rev 918) +++ trunk/plugins/ETVNet/ETVNet/ETVBrowser.cs 2007-09-14 04:47:21 UTC (rev 919) @@ -172,7 +172,7 @@ public Hashtable getTopDirectoryPage() { - Uri baseUrl = new Uri("http://www.etvnet.ca/main.html"); + Uri baseUrl = new Uri("http://www.etvnet.ca/cgi-bin/video/eitv_browse.fcgi?action=channels"); String todayPage = getHTMLAsString(baseUrl.AbsoluteUri, null, null); MatchCollection matches = regexTopLinks.Matches(todayPage, 0); // Modified: trunk/plugins/ETVNet/ETVNet/ETVNetStreamInfo.cs =================================================================== --- trunk/plugins/ETVNet/ETVNet/ETVNetStreamInfo.cs 2007-09-13 13:36:29 UTC (rev 918) +++ trunk/plugins/ETVNet/ETVNet/ETVNetStreamInfo.cs 2007-09-14 04:47:21 UTC (rev 919) @@ -76,10 +76,28 @@ public override void OnAction(Action action) { - if (action.wID == Action.ActionType.ACTION_PREVIOUS_MENU || action.wID == Action.ActionType.ACTION_CONTEXT_MENU) + switch (action.wID) { - Close(); - return; + case Action.ActionType.ACTION_PREVIOUS_MENU: + case Action.ActionType.ACTION_CONTEXT_MENU: + Close(); + return; + case Action.ActionType.ACTION_MOVE_UP: + { + Action newAction = new Action(Action.ActionType.ACTION_PAGE_UP, 0, 0); + streamInfo.OnAction(newAction); + return; + } + case Action.ActionType.ACTION_MOVE_DOWN: + { + Action newAction = new Action(Action.ActionType.ACTION_PAGE_DOWN, 0, 0); + streamInfo.OnAction(newAction); + return; + } + case Action.ActionType.ACTION_PAGE_DOWN: + case Action.ActionType.ACTION_PAGE_UP: + streamInfo.OnAction(action); + return; } base.OnAction(action); } Modified: trunk/plugins/ETVNet/ETVNet/TODO.txt =================================================================== --- trunk/plugins/ETVNet/ETVNet/TODO.txt 2007-09-13 13:36:29 UTC (rev 918) +++ trunk/plugins/ETVNet/ETVNet/TODO.txt 2007-09-14 04:47:21 UTC (rev 919) @@ -7,6 +7,7 @@ aspect ratio support hardware keyboard input demo link playback +page up/down on description page while focus is on the button localization This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |