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 2
Plugin Development
Featured Plugins
WifiRemote
WifiRemote for MP2
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="FreakyJ" data-source="post: 1154646" data-attributes="member: 106003"><p>Yes that's normal. Look at it like a process plugin in MP1 <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> I haven't done any configuration yet, I just wanted to see if it is working at all. This morning I implemented ZeroConfig.</p><p></p><p></p><p>Here is a list how I mapped the buttons. The back button is mapped to Key.back, but I don't know the inteded function in MP2 <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> I can map it to something eles if you like^^</p><p>Also Our Inputmanager don't have any numpad things. We have to see how to proceed with this...</p><p></p><p>[SPOILER="Buttonmapping"]</p><p>switch (command.ToLower())</p><p> {</p><p> case "stop":</p><p> button = Key.Stop;</p><p> break;</p><p></p><p> case "record":</p><p> button = Key.Record;</p><p> break;</p><p></p><p> case "pause":</p><p> button = Key.Pause;</p><p> break;</p><p></p><p> case "play":</p><p> button = Key.Play;</p><p> break;</p><p></p><p> case "rewind":</p><p> button = Key.Rew;</p><p> break;</p><p></p><p> case "forward":</p><p> button = Key.Fwd;</p><p> break;</p><p></p><p> case "replay":</p><p> //button = RemoteButton.Replay;</p><p> break;</p><p></p><p> case "skip":</p><p> //button = Key.Skip;</p><p> break;</p><p></p><p> case "back":</p><p> button = Key.Back;</p><p> break;</p><p></p><p> case "info":</p><p> button = Key.Info;</p><p> break;</p><p></p><p> case "menu":</p><p> button = Key.ContextMenu;</p><p> break;</p><p></p><p> case "up":</p><p> button = Key.Up;</p><p> break;</p><p></p><p> case "down":</p><p> button = Key.Down;</p><p> break;</p><p></p><p> case "left":</p><p> button = Key.Left;</p><p> break;</p><p></p><p> case "right":</p><p> button = Key.Right;</p><p> break;</p><p></p><p> case "ok":</p><p> button = Key.Ok;</p><p> break;</p><p></p><p> case "volup":</p><p> button = Key.VolumeUp;</p><p> break;</p><p></p><p> case "voldown":</p><p> button = Key.VolumeDown;</p><p> break;</p><p></p><p> case "volmute":</p><p> button = Key.Mute;</p><p> break;</p><p></p><p> case "chup":</p><p> button = Key.ChannelUp;</p><p> break;</p><p></p><p> case "chdown":</p><p> button = Key.ChannelDown;</p><p> break;</p><p></p><p> case "dvdmenu":</p><p> button = Key.DVDMenu;</p><p> break;</p><p></p><p> /*case "0":</p><p> button = RemoteButton.NumPad0;</p><p> break;</p><p></p><p> case "1":</p><p> button = RemoteButton.NumPad1;</p><p> break;</p><p></p><p> case "2":</p><p> button = RemoteButton.NumPad2;</p><p> break;</p><p></p><p> case "3":</p><p> button = RemoteButton.NumPad3;</p><p> break;</p><p></p><p> case "4":</p><p> button = RemoteButton.NumPad4;</p><p> break;</p><p></p><p> case "5":</p><p> button = RemoteButton.NumPad5;</p><p> break;</p><p></p><p> case "6":</p><p> button = RemoteButton.NumPad6;</p><p> break;</p><p></p><p> case "7":</p><p> button = RemoteButton.NumPad7;</p><p> break;</p><p></p><p> case "8":</p><p> button = RemoteButton.NumPad8;</p><p> break;</p><p></p><p> case "9":</p><p> button = RemoteButton.NumPad9;</p><p> break;*/</p><p></p><p> case "clear":</p><p> button = Key.Clear;</p><p> break;</p><p></p><p> case "enter":</p><p> button = Key.Enter;</p><p> break;</p><p></p><p> case "teletext":</p><p> button = Key.TeleText;</p><p> break;</p><p></p><p> case "red":</p><p> button = Key.Red;</p><p> break;</p><p></p><p> case "blue":</p><p> button = Key.Blue;</p><p> break;</p><p></p><p> case "yellow":</p><p> button = Key.Yellow;</p><p> break;</p><p></p><p> case "green":</p><p> button = Key.Green;</p><p> break;</p><p></p><p> case "home":</p><p> button = Key.Home;</p><p> break;</p><p></p><p> case "basichome":</p><p> button = Key.Home;</p><p> break;</p><p></p><p> case "nowplaying":</p><p> //button = Key.NowPlaying;</p><p> break;</p><p></p><p> case "tvguide":</p><p> button = Key.Guide;</p><p> break;</p><p></p><p> case "tvrecs":</p><p> button = Key.RecordedTV;</p><p> break;</p><p></p><p> case "dvd":</p><p> //button = Key.PlayDVD;</p><p> break;</p><p></p><p> case "playlists":</p><p> //button = RemoteButton.MyPlaylists;</p><p> break;</p><p></p><p> case "first":</p><p> //button = RemoteButton.First;</p><p> break;</p><p></p><p> case "last":</p><p> //button = RemoteButton.Last;</p><p> break;</p><p></p><p> case "fullscreen":</p><p> button = Key.Fullscreen;</p><p> break;</p><p></p><p> case "subtitles":</p><p> //button = Key.Subtitles;</p><p> break;</p><p></p><p> /*case "audiotrack":</p><p> button = Key.AudioTrack;</p><p> break;</p><p></p><p> case "screenshot":</p><p> button = Key.Screenshot;</p><p> break;</p><p></p><p> case "aspectratio":</p><p> button = RemoteButton.AspectRatio;</p><p> break;</p><p></p><p> case "ejectcd":</p><p> button = RemoteButton.EjectCD;</p><p> break;*/</p><p></p><p> default:</p><p> break;</p><p> }</p><p>[/SPOILER]</p><p></p><p></p><p></p><p>[USER=48495]@morpheus_xx[/USER] </p><p>What would be the best way to get direct access to the plugins? I mean switch to the series flow to a particular episode or season?</p><p>I don't think we have any hooks there yet? I read taht you're adding some more hoow for the TvPlugin, which is great <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite24" alt="(y)" title="Thumbs Up (y)" loading="lazy" data-shortname="(y)" /></p><p>If we don't have these hooks for the other parts would you mind in helping in this? I am really bad if it comes to the MP2 GUI handling/switching screens. Or if you could do at least one e.g. series and I will do the others once I saw how you did <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p>I already used your dictionary method suggested in the UPnP Plugin part for mapping parsers to the different message Types instead of a huge If else blog used in the original plugin <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite23" alt=":sneaky:" title="Sneaky :sneaky:" loading="lazy" data-shortname=":sneaky:" /></p><p></p><p></p><p>My dad bought your App for his IPad (our family doesn't like apple products, but it is from the company and they hadn't any Androids :/) and is quite happy. I haven't checked if your app is also available for Andorid, but I thought it was planned. Would you mind providing me an APK so that I can install it on my Andorid VM for testing?</p><p>Honestly I don't have any use for these Apps myself and no Creditcard mapped to my Googlaccount <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> Otherwise I will use AMPdroid.</p></blockquote><p></p>
[QUOTE="FreakyJ, post: 1154646, member: 106003"] Yes that's normal. Look at it like a process plugin in MP1 :) I haven't done any configuration yet, I just wanted to see if it is working at all. This morning I implemented ZeroConfig. Here is a list how I mapped the buttons. The back button is mapped to Key.back, but I don't know the inteded function in MP2 :) I can map it to something eles if you like^^ Also Our Inputmanager don't have any numpad things. We have to see how to proceed with this... [SPOILER="Buttonmapping"] switch (command.ToLower()) { case "stop": button = Key.Stop; break; case "record": button = Key.Record; break; case "pause": button = Key.Pause; break; case "play": button = Key.Play; break; case "rewind": button = Key.Rew; break; case "forward": button = Key.Fwd; break; case "replay": //button = RemoteButton.Replay; break; case "skip": //button = Key.Skip; break; case "back": button = Key.Back; break; case "info": button = Key.Info; break; case "menu": button = Key.ContextMenu; break; case "up": button = Key.Up; break; case "down": button = Key.Down; break; case "left": button = Key.Left; break; case "right": button = Key.Right; break; case "ok": button = Key.Ok; break; case "volup": button = Key.VolumeUp; break; case "voldown": button = Key.VolumeDown; break; case "volmute": button = Key.Mute; break; case "chup": button = Key.ChannelUp; break; case "chdown": button = Key.ChannelDown; break; case "dvdmenu": button = Key.DVDMenu; break; /*case "0": button = RemoteButton.NumPad0; break; case "1": button = RemoteButton.NumPad1; break; case "2": button = RemoteButton.NumPad2; break; case "3": button = RemoteButton.NumPad3; break; case "4": button = RemoteButton.NumPad4; break; case "5": button = RemoteButton.NumPad5; break; case "6": button = RemoteButton.NumPad6; break; case "7": button = RemoteButton.NumPad7; break; case "8": button = RemoteButton.NumPad8; break; case "9": button = RemoteButton.NumPad9; break;*/ case "clear": button = Key.Clear; break; case "enter": button = Key.Enter; break; case "teletext": button = Key.TeleText; break; case "red": button = Key.Red; break; case "blue": button = Key.Blue; break; case "yellow": button = Key.Yellow; break; case "green": button = Key.Green; break; case "home": button = Key.Home; break; case "basichome": button = Key.Home; break; case "nowplaying": //button = Key.NowPlaying; break; case "tvguide": button = Key.Guide; break; case "tvrecs": button = Key.RecordedTV; break; case "dvd": //button = Key.PlayDVD; break; case "playlists": //button = RemoteButton.MyPlaylists; break; case "first": //button = RemoteButton.First; break; case "last": //button = RemoteButton.Last; break; case "fullscreen": button = Key.Fullscreen; break; case "subtitles": //button = Key.Subtitles; break; /*case "audiotrack": button = Key.AudioTrack; break; case "screenshot": button = Key.Screenshot; break; case "aspectratio": button = RemoteButton.AspectRatio; break; case "ejectcd": button = RemoteButton.EjectCD; break;*/ default: break; } [/SPOILER] [USER=48495]@morpheus_xx[/USER] What would be the best way to get direct access to the plugins? I mean switch to the series flow to a particular episode or season? I don't think we have any hooks there yet? I read taht you're adding some more hoow for the TvPlugin, which is great (y) If we don't have these hooks for the other parts would you mind in helping in this? I am really bad if it comes to the MP2 GUI handling/switching screens. Or if you could do at least one e.g. series and I will do the others once I saw how you did :) I already used your dictionary method suggested in the UPnP Plugin part for mapping parsers to the different message Types instead of a huge If else blog used in the original plugin :sneaky: My dad bought your App for his IPad (our family doesn't like apple products, but it is from the company and they hadn't any Androids :/) and is quite happy. I haven't checked if your app is also available for Andorid, but I thought it was planned. Would you mind providing me an APK so that I can install it on my Andorid VM for testing? Honestly I don't have any use for these Apps myself and no Creditcard mapped to my Googlaccount :) Otherwise I will use AMPdroid. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
Featured Plugins
WifiRemote
WifiRemote for MP2
Contact us
RSS
Top
Bottom