Re: WifiRemote - a tcp remote control server 0.4 [2011-08-04]
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
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