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
My Emulators
(Old) My Emulators
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="G.B. Wolf" data-source="post: 148788" data-attributes="member: 48355"><p>I just gave it a try, but it didn't work. I found this in the log:</p><p></p><p>[CODE]2007-05-08 17:18:17.281250 [Info.][MPMain]: window:MediaPortal.GUI.Home.GUIPlugIns init</p><p>2007-05-08 17:18:17.281250 [Info.][MPMain]: Exception :System.NullReferenceException: Object reference not set to an instance of an object.</p><p> at myEmulators.Class1.OnAction(Action action)</p><p> at MediaPortal.GUI.Library.GUIWindowManager.OnAction(Action action)</p><p> at MediaPortalApp.OnAction(Action action)</p><p>2007-05-08 17:18:17.281250 [Info.][MPMain]: Exception :Object reference not set to an instance of an object.</p><p>2007-05-08 17:18:17.296875 [Info.][MPMain]: site :Void OnAction(MediaPortal.GUI.Library.Action)</p><p>2007-05-08 17:18:17.296875 [Info.][MPMain]: source :myEmulators</p><p>2007-05-08 17:18:17.296875 [Info.][MPMain]: stacktrace: at myEmulators.Class1.OnAction(Action action)</p><p> at MediaPortal.GUI.Library.GUIWindowManager.OnAction(Action action)</p><p> at MediaPortalApp.OnAction(Action action)</p><p>2007-05-08 17:18:17.296875 [Info.][MPMain]: exception: Object reference not set to an instance of an object. myEmulators at myEmulators.Class1.OnAction(Action action)</p><p> at MediaPortal.GUI.Library.GUIWindowManager.OnAction(Action action)</p><p> at MediaPortalApp.OnAction(Action action)</p><p>2007-05-08 17:18:17.296875 [Info.][MPMain]: Exception :System.Exception: exception occured ---> System.NullReferenceException: Object reference not set to an instance of an object.</p><p> at myEmulators.Class1.OnAction(Action action)</p><p> at MediaPortal.GUI.Library.GUIWindowManager.OnAction(Action action)</p><p> at MediaPortalApp.OnAction(Action action)</p><p> --- End of inner exception stack trace ---</p><p> at MediaPortalApp.OnAction(Action action)</p><p> at MediaPortal.GUI.Library.OnActionHandler.Invoke(Action action)</p><p> at MediaPortal.GUI.Library.GUIWindowManager.DispatchThreadMessages()</p><p> at MediaPortalApp.FrameMove()</p><p>2007-05-08 17:18:17.296875 [Info.][MPMain]: Exception :exception occured</p><p>2007-05-08 17:18:17.296875 [Info.][MPMain]: site :Void OnAction(MediaPortal.GUI.Library.Action)</p><p>2007-05-08 17:18:17.296875 [Info.][MPMain]: source :MediaPortal</p><p>2007-05-08 17:18:17.296875 [Info.][MPMain]: stacktrace: at MediaPortalApp.OnAction(Action action)</p><p> at MediaPortal.GUI.Library.OnActionHandler.Invoke(Action action)</p><p> at MediaPortal.GUI.Library.GUIWindowManager.DispatchThreadMessages()</p><p> at MediaPortalApp.FrameMove()[/CODE]</p><p></p><p>Do you need a new xml-file, too, or does it work with the last one? And have you thought about handling the translations with some fancy xml-stuff like other plugins do? I don't know if MP has some built-in features for it.</p><p></p><p>Until you released the new code I did the simply the following:</p><p>a) Edit myEmulators.xml and replaced the english strings with refernce-IDs.</p><p>b) Edit (in my case) strings_de.xml and added the referenced and now translated strings.</p><p></p><p>Another possibility is like Inker does in the MP TV-Series plugin with an extra xml-file for each language in a subdir in ./language. Perhaps you can ask him for some help/code. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>Nevertheless: you solution should also does the job... but somehow not for me. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p><p></p><p>Best regards</p><p>G.B.</p><p></p><p>PS: Could you add the myEmulators.xml to the SVN?</p></blockquote><p></p>
[QUOTE="G.B. Wolf, post: 148788, member: 48355"] I just gave it a try, but it didn't work. I found this in the log: [CODE]2007-05-08 17:18:17.281250 [Info.][MPMain]: window:MediaPortal.GUI.Home.GUIPlugIns init 2007-05-08 17:18:17.281250 [Info.][MPMain]: Exception :System.NullReferenceException: Object reference not set to an instance of an object. at myEmulators.Class1.OnAction(Action action) at MediaPortal.GUI.Library.GUIWindowManager.OnAction(Action action) at MediaPortalApp.OnAction(Action action) 2007-05-08 17:18:17.281250 [Info.][MPMain]: Exception :Object reference not set to an instance of an object. 2007-05-08 17:18:17.296875 [Info.][MPMain]: site :Void OnAction(MediaPortal.GUI.Library.Action) 2007-05-08 17:18:17.296875 [Info.][MPMain]: source :myEmulators 2007-05-08 17:18:17.296875 [Info.][MPMain]: stacktrace: at myEmulators.Class1.OnAction(Action action) at MediaPortal.GUI.Library.GUIWindowManager.OnAction(Action action) at MediaPortalApp.OnAction(Action action) 2007-05-08 17:18:17.296875 [Info.][MPMain]: exception: Object reference not set to an instance of an object. myEmulators at myEmulators.Class1.OnAction(Action action) at MediaPortal.GUI.Library.GUIWindowManager.OnAction(Action action) at MediaPortalApp.OnAction(Action action) 2007-05-08 17:18:17.296875 [Info.][MPMain]: Exception :System.Exception: exception occured ---> System.NullReferenceException: Object reference not set to an instance of an object. at myEmulators.Class1.OnAction(Action action) at MediaPortal.GUI.Library.GUIWindowManager.OnAction(Action action) at MediaPortalApp.OnAction(Action action) --- End of inner exception stack trace --- at MediaPortalApp.OnAction(Action action) at MediaPortal.GUI.Library.OnActionHandler.Invoke(Action action) at MediaPortal.GUI.Library.GUIWindowManager.DispatchThreadMessages() at MediaPortalApp.FrameMove() 2007-05-08 17:18:17.296875 [Info.][MPMain]: Exception :exception occured 2007-05-08 17:18:17.296875 [Info.][MPMain]: site :Void OnAction(MediaPortal.GUI.Library.Action) 2007-05-08 17:18:17.296875 [Info.][MPMain]: source :MediaPortal 2007-05-08 17:18:17.296875 [Info.][MPMain]: stacktrace: at MediaPortalApp.OnAction(Action action) at MediaPortal.GUI.Library.OnActionHandler.Invoke(Action action) at MediaPortal.GUI.Library.GUIWindowManager.DispatchThreadMessages() at MediaPortalApp.FrameMove()[/CODE] Do you need a new xml-file, too, or does it work with the last one? And have you thought about handling the translations with some fancy xml-stuff like other plugins do? I don't know if MP has some built-in features for it. Until you released the new code I did the simply the following: a) Edit myEmulators.xml and replaced the english strings with refernce-IDs. b) Edit (in my case) strings_de.xml and added the referenced and now translated strings. Another possibility is like Inker does in the MP TV-Series plugin with an extra xml-file for each language in a subdir in ./language. Perhaps you can ask him for some help/code. :) Nevertheless: you solution should also does the job... but somehow not for me. :( Best regards G.B. PS: Could you add the myEmulators.xml to the SVN? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My Emulators
(Old) My Emulators
Contact us
RSS
Top
Bottom