home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
OnlineVideos
Amazon Prime Germany?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Jason Pyke" data-source="post: 1120284" data-attributes="member: 139416"><p>OK, that sounds promising and the space double press is entirely feasible. I know [USER=61145]@Ministerk[/USER] uses a similar technique for the Netflix connector (which is where I copied the code from), but I'm not sure how he's got round this double press issue.</p><p></p><p>I guess the code which I added to set the browser form to have to focus after pausing/playing isn't having an effect and I guess you've reduced the frequency of the timerCtl as well (which is there to make sure the form has focus). </p><p></p><p>Maybe try handling the got focus event of the browser and maybe set the focus back to the form at that point? (after playback has started). It'd be ideal if we could actually get the state of playback (using javascript or something) and work it from there, but I'm not sure how feasible that is.[DOUBLEPOST=1421338329][/DOUBLEPOST]Those difference in events are possibly not relevant because looking through the code I think it'll only call play/pause in the connector once in both cases. Maybe you could add a logging line to the play and pause events in the connector (MessageHandler.Debug) and see what that reports as coming through.</p></blockquote><p></p>
[QUOTE="Jason Pyke, post: 1120284, member: 139416"] OK, that sounds promising and the space double press is entirely feasible. I know [USER=61145]@Ministerk[/USER] uses a similar technique for the Netflix connector (which is where I copied the code from), but I'm not sure how he's got round this double press issue. I guess the code which I added to set the browser form to have to focus after pausing/playing isn't having an effect and I guess you've reduced the frequency of the timerCtl as well (which is there to make sure the form has focus). Maybe try handling the got focus event of the browser and maybe set the focus back to the form at that point? (after playback has started). It'd be ideal if we could actually get the state of playback (using javascript or something) and work it from there, but I'm not sure how feasible that is.[DOUBLEPOST=1421338329][/DOUBLEPOST]Those difference in events are possibly not relevant because looking through the code I think it'll only call play/pause in the connector once in both cases. Maybe you could add a logging line to the play and pause events in the connector (MessageHandler.Debug) and see what that reports as coming through. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
OnlineVideos
Amazon Prime Germany?
Contact us
RSS
Top
Bottom