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
WifiRemote - a tcp remote control server 0.8.3 [2014-07-20]
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="hdforme" data-source="post: 777735" data-attributes="member: 104942"><p><strong>Re: WifiRemote - a tcp remote control server 0.4 [2011-08-04]</strong></p><p></p><p>Hallo Shukuyen and cederron,</p><p></p><p>sorry my english is very bad :sorry: ...</p><p></p><p>I see your code (File: WifiRemote.cs)</p><p></p><p> public void Start()</p><p> {</p><p> // Check if TV plugin is installed</p><p> WifiRemote.IsAvailableTVPlugin = IsAssemblyAvailable("TVPlugin", new Version(1, 0, 0, 0));</p><p> ........</p><p> ........</p><p></p><p></p><p> }</p><p></p><p>The Name "TVPlugin" is case-insensitive... Correct is "TvPlugin" (in my Mediaportal Version) -> a little "v"... </p><p>The Compare "==" is case-insensitive </p><p></p><p>but you can change in "internal static bool IsAssemblyAvailable(string name, Version ver)" :</p><p></p><p>Old:</p><p>if (a.GetName().Name == name)</p><p></p><p>New:</p><p>if (System.String.Compare (a.GetName().Name, name, true) == 0)</p><p></p><p>but is slower <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p></p><p></p><p></p><p>nice day and sorry for my english ;(</p><p></p><p>hdforme</p></blockquote><p></p>
[QUOTE="hdforme, post: 777735, member: 104942"] [b]Re: WifiRemote - a tcp remote control server 0.4 [2011-08-04][/b] Hallo Shukuyen and cederron, sorry my english is very bad :sorry: ... I see your code (File: WifiRemote.cs) public void Start() { // Check if TV plugin is installed WifiRemote.IsAvailableTVPlugin = IsAssemblyAvailable("TVPlugin", new Version(1, 0, 0, 0)); ........ ........ } The Name "TVPlugin" is case-insensitive... Correct is "TvPlugin" (in my Mediaportal Version) -> a little "v"... The Compare "==" is case-insensitive but you can change in "internal static bool IsAssemblyAvailable(string name, Version ver)" : Old: if (a.GetName().Name == name) New: if (System.String.Compare (a.GetName().Name, name, true) == 0) but is slower ;) nice day and sorry for my english ;( hdforme [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
WifiRemote - a tcp remote control server 0.8.3 [2014-07-20]
Contact us
RSS
Top
Bottom