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
Questions on writing my first plugin
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="huha" data-source="post: 875169" data-attributes="member: 63847"><p>I believe I found an issue in the Slim TV plugin <strong>(I am still using the Easter built!</strong>)</p><p> </p><p>Whenever i declare a dependency on the SlimTv plugin in plugin.xml with</p><p><!-- SlimTvClient --></p><p> <!-- <PluginReference PluginId="{63040BB4-4638-49b7-A82F-F4530D4D43B9}"/> --></p><p> </p><p>and remove the comment in the dependency section I am getting an error message if I am not using the default skin:</p><p> </p><p>[2012-06-09 18:28:47,498] [28912 ] [AMQ 'ScreenManager'] [INFO ] - SkinResources: Loading style resource 'styles\othercontrols.xaml' from file 'C:\Program Files (x86)\Team MediaPortal\MP2-Client\Plugins\SkinBase\Skin\default\themes\default\styles\OtherControls.xaml'</p><p>[2012-06-09 18:28:47,558] [28972 ] [AMQ 'ScreenManager'] [ERROR] - ThemeResourceMarkupExtension: Resource 'OSDCurrentPlayerControlStoryboard' not found</p><p>[2012-06-09 18:28:47,558] [28972 ] [AMQ 'ScreenManager'] [ERROR] - ThemeResourceMarkupExtension: Resource 'OSDContainer' not found</p><p>[2012-06-09 18:28:47,578] [28992 ] [AMQ 'ScreenManager'] [ERROR] - ScreenManager: Error applying skin 'RisingSkin', theme 'Silver'</p><p>MediaPortal.Utilities.Exceptions.EnvironmentException: Error loading style resource 'C:\Program Files (x86)\Team MediaPortal\MP2-Client\Plugins\SlimTvClient\Skin\RisingSkin\themes\Silver\styles\SlimTvStyles.xaml' ---> MediaPortal.UI.SkinEngine.Xaml.Exceptions.XamlLoadException: XAML loader: Error parsing file 'C:\Program Files (x86)\Team MediaPortal\MP2-Client\Plugins\SlimTvClient\Skin\RisingSkin\themes\Silver\styles\SlimTvStyles.xaml' ---> MediaPortal.UI.SkinEngine.Xaml.Exceptions.XamlBindingException: Could not evaluate markup extension 'ThemeResource ResourceKey=OSDCurrentPlayerControlStoryboard'</p><p> bei MediaPortal.UI.SkinEngine.Xaml.EvaluatableMarkupExtensionActivator.Activate()</p><p> bei MediaPortal.UI.SkinEngine.Xaml.Parser.Parse()</p><p> bei MediaPortal.UI.SkinEngine.SkinManagement.XamlLoader.Load(TextReader reader, ISkinResourceBundle actualResourceBundle, IModelLoader loader)</p><p> --- Ende der internen Ausnahmestapelüberwachung ---</p><p> bei MediaPortal.UI.SkinEngine.SkinManagement.XamlLoader.Load(String skinFilePath, ISkinResourceBundle actualResourceBundle, IModelLoader loader)</p><p> bei MediaPortal.UI.SkinEngine.SkinManagement.SkinResources.LoadStyleResource(String resourceKey, Boolean searchInheritedResources)</p><p> --- Ende der internen Ausnahmestapelüberwachung ---</p><p> bei MediaPortal.UI.SkinEngine.SkinManagement.SkinResources.LoadStyleResource(String resourceKey, Boolean searchInheritedResources)</p><p> bei MediaPortal.UI.SkinEngine.SkinManagement.SkinResources.LoadAllStyleResources()</p><p> bei MediaPortal.UI.SkinEngine.SkinManagement.SkinManager.InstallSkinResources(SkinResources skinResources)</p><p> bei MediaPortal.UI.SkinEngine.ScreenManagement.ScreenManager.PrepareSkinAndTheme(String skinName, String themeName)</p><p>It may be fixed in the newer version, but I thaught I better post it. </p><p>Greetings, huha</p></blockquote><p></p>
[QUOTE="huha, post: 875169, member: 63847"] I believe I found an issue in the Slim TV plugin [B](I am still using the Easter built![/B]) Whenever i declare a dependency on the SlimTv plugin in plugin.xml with <!-- SlimTvClient --> <!-- <PluginReference PluginId="{63040BB4-4638-49b7-A82F-F4530D4D43B9}"/> --> and remove the comment in the dependency section I am getting an error message if I am not using the default skin: [2012-06-09 18:28:47,498] [28912 ] [AMQ 'ScreenManager'] [INFO ] - SkinResources: Loading style resource 'styles\othercontrols.xaml' from file 'C:\Program Files (x86)\Team MediaPortal\MP2-Client\Plugins\SkinBase\Skin\default\themes\default\styles\OtherControls.xaml' [2012-06-09 18:28:47,558] [28972 ] [AMQ 'ScreenManager'] [ERROR] - ThemeResourceMarkupExtension: Resource 'OSDCurrentPlayerControlStoryboard' not found [2012-06-09 18:28:47,558] [28972 ] [AMQ 'ScreenManager'] [ERROR] - ThemeResourceMarkupExtension: Resource 'OSDContainer' not found [2012-06-09 18:28:47,578] [28992 ] [AMQ 'ScreenManager'] [ERROR] - ScreenManager: Error applying skin 'RisingSkin', theme 'Silver' MediaPortal.Utilities.Exceptions.EnvironmentException: Error loading style resource 'C:\Program Files (x86)\Team MediaPortal\MP2-Client\Plugins\SlimTvClient\Skin\RisingSkin\themes\Silver\styles\SlimTvStyles.xaml' ---> MediaPortal.UI.SkinEngine.Xaml.Exceptions.XamlLoadException: XAML loader: Error parsing file 'C:\Program Files (x86)\Team MediaPortal\MP2-Client\Plugins\SlimTvClient\Skin\RisingSkin\themes\Silver\styles\SlimTvStyles.xaml' ---> MediaPortal.UI.SkinEngine.Xaml.Exceptions.XamlBindingException: Could not evaluate markup extension 'ThemeResource ResourceKey=OSDCurrentPlayerControlStoryboard' bei MediaPortal.UI.SkinEngine.Xaml.EvaluatableMarkupExtensionActivator.Activate() bei MediaPortal.UI.SkinEngine.Xaml.Parser.Parse() bei MediaPortal.UI.SkinEngine.SkinManagement.XamlLoader.Load(TextReader reader, ISkinResourceBundle actualResourceBundle, IModelLoader loader) --- Ende der internen Ausnahmestapelüberwachung --- bei MediaPortal.UI.SkinEngine.SkinManagement.XamlLoader.Load(String skinFilePath, ISkinResourceBundle actualResourceBundle, IModelLoader loader) bei MediaPortal.UI.SkinEngine.SkinManagement.SkinResources.LoadStyleResource(String resourceKey, Boolean searchInheritedResources) --- Ende der internen Ausnahmestapelüberwachung --- bei MediaPortal.UI.SkinEngine.SkinManagement.SkinResources.LoadStyleResource(String resourceKey, Boolean searchInheritedResources) bei MediaPortal.UI.SkinEngine.SkinManagement.SkinResources.LoadAllStyleResources() bei MediaPortal.UI.SkinEngine.SkinManagement.SkinManager.InstallSkinResources(SkinResources skinResources) bei MediaPortal.UI.SkinEngine.ScreenManagement.ScreenManager.PrepareSkinAndTheme(String skinName, String themeName) It may be fixed in the newer version, but I thaught I better post it. Greetings, huha [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
Questions on writing my first plugin
Contact us
RSS
Top
Bottom