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
Mediasite Plugin For MediaPortal
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="morpheus_xx" data-source="post: 974946" data-attributes="member: 48495"><p>Small next thing: Your current model registration uses wrong class name. There is one "Mediasite" too much in code:</p><p> </p><p>It should be this way:</p><p>namespace <strong>MediasitePlugin</strong> { public class <span style="color: #ff0000"><strong>MediasitePlugin</strong> </span>{ } }</p><p> </p><p>to match:</p><p><Register Location="/Models"></p><p> <Model Id="E8585B55-22B4-4E79-9D3B-AA41FAF88355" ClassName="<strong>MediasitePlugin</strong>.<strong><span style="color: #ff0000">MediasitePlugin</span></strong>"/></p><p></Register></p><p>Once the mentioned steps are taken, you can get to data retrieval part already: the model will load and now needs to be coded further:</p><p></p><p> </p><p>edit:</p><p>inside plugins.xml you should also add required assemblies, so your plugin's types will find all dependencies:</p><p> <Runtime></p><p> <Assembly FileName="MediasitePlugin.dll"/></p><p> <Assembly FileName="MediasiteAPIConnector.dll"/></p><p> <Assembly FileName="EDAS60.Client.dll"/></p><p> </Runtime></p></blockquote><p></p>
[QUOTE="morpheus_xx, post: 974946, member: 48495"] Small next thing: Your current model registration uses wrong class name. There is one "Mediasite" too much in code: It should be this way: namespace [B]MediasitePlugin[/B] { public class [COLOR=#ff0000][B]MediasitePlugin[/B] [/COLOR]{ } } to match: <Register Location="/Models"> <Model Id="E8585B55-22B4-4E79-9D3B-AA41FAF88355" ClassName="[B]MediasitePlugin[/B].[B][COLOR=#ff0000]MediasitePlugin[/COLOR][/B]"/> </Register> Once the mentioned steps are taken, you can get to data retrieval part already: the model will load and now needs to be coded further: edit: inside plugins.xml you should also add required assemblies, so your plugin's types will find all dependencies: <Runtime> <Assembly FileName="MediasitePlugin.dll"/> <Assembly FileName="MediasiteAPIConnector.dll"/> <Assembly FileName="EDAS60.Client.dll"/> </Runtime> [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
Mediasite Plugin For MediaPortal
Contact us
RSS
Top
Bottom