TV Server and Windows 8 (2 Viewers)

KGB

MP Donator
  • Premium Supporter
  • July 17, 2011
    4
    0
    Home Country
    hi guys
    after upgrading to 1.2.3 i am getting this problem again. I tried to use updated tvcontrol.dll but it doesn't work for me.
    any idea? checked the hosts file as welll just in case, and copied tv server in both mediaportal and tvserver folders just in case.
     

    heuristik

    New Member
    April 14, 2012
    2
    0
    51
    Gilbert, Arizona
    Home Country
    United States of America United States of America
    it goes in the main install location, you'll know you're right when it overwrites the existing file.

    what did you do for the db compnonent? i had a helluva time with this part, ended up porting to another box that was running a lower OS. SQL 2008 / 2008 R2 Express will not run cleanly on Windows 8, have to up to 2012, and at that point I think i had issues with mediaportal's sa user requirement.

    you can still run mysql5.5x, but you have to install it first, then do an advanced install, select "my db is already installed...." and enter the appropriate info once you see the SQL / MySQL popup. don't let MediaCenter install it for you, otherwise, it will not get the sa rights configured correctly.
     

    xGDI

    Portal Member
    March 13, 2012
    8
    9
    Home Country
    Germany Germany
    I am running it with SQL 2012 Express. There is no problem with the sa user. You have to select mixed authentication mode when installing SQL Server.
     

    xGDI

    Portal Member
    March 13, 2012
    8
    9
    Home Country
    Germany Germany
    Thanks, I know, in fact i would like to see your source code :)
    Sorry, misunderstood your question :)

    I added in OSInfo.cs to the OSList enum Windows8Server and Windows8:
    Code:
        public enum OSList
        {
            ///<summary>
            /// Windows 95/98, NT4.0, 2000
            ///</summary>
            Windows2000andPrevious,
            ///<summary>
            /// Windows XP x86
            ///</summary>
            WindowsXp,
            ///<summary>
            /// Windows XP x64
            ///</summary>
            WindowsXp64,
            ///<summary>
            /// Windows Vista
            ///</summary>
            WindowsVista,
            ///<summary>
            /// Windows 7
            ///</summary>
            Windows7,
            ///<summary>
            /// Windows 2003 Server
            ///</summary>
            Windows2003,
            ///<summary>
            /// Windows 2003 R2 Server
            ///</summary>
            Windows2003R2,
            ///<summary>
            /// Windows 2008 Server
            ///</summary>
            Windows2008,
            ///<summary>
            /// Windows 2008 R2 Server
            ///</summary>
            Windows2008R2,
            Windows8Server,
            Windows8
        }

    Changed the GetOSNameI function:
    Code:
        public static OSList GetOSName()
        {
          switch (OsVersionInt())
          {
            case 51:
              return OSList.WindowsXp;
            case 52:
              if (OSProductType == NT_WORKSTATION)
              {
                return OSList.WindowsXp64;
              }
              return GetSystemMetrics(SM_SERVERR2) ? OSList.Windows2003R2 : OSList.Windows2003;
            case 60:
              return OSProductType == NT_WORKSTATION ? OSList.WindowsVista : OSList.Windows2008;
            case 61:
              return OSProductType == NT_WORKSTATION ? OSList.Windows7 : OSList.Windows2008R2;
              case 62:
              return OSProductType == NT_WORKSTATION ? OSList.Windows8 : OSList.Windows8Server;
          }
          return OSList.Windows2000andPrevious;
        }
    and also changed the GetOSSupported function:
    Code:
        public static OsSupport GetOSSupported()
        {
          int minSp;
          int minBuild;
          switch (GetOSName())
          {
            case OSList.WindowsXp:
              minSp = 3;
              minBuild = 2600;
              break;
            case OSList.WindowsVista:
              minSp = 2;
              minBuild = 6000;
              break;
            case OSList.Windows7:
              minSp = 0;
              minBuild = 7600;
              break;
            case OSList.Windows8:
            case OSList.Windows8Server:
              return OsSupport.FullySupported;
            case OSList.Windows2003:
            case OSList.Windows2003R2:
            case OSList.Windows2008:
            case OSList.Windows2008R2:
              return OsSupport.NotSupported;
            default:
              // Windows2000andPrevious and WindowsXp64
              return OsSupport.Blocked;
          }
          if (OSServicePackMajor < minSp || OSBuildVersion < minBuild)
          {
            return OsSupport.Blocked;
          }
          //
          // Final service packs have OSServicePackMinor == 0
          // Unfortunately Windows7 SP1 RC report 0 even if it's not final: added check on the string description
          //
          return (OSServicePackMinor != 0 || OSServicePackDesc.Contains(", v."))
                  ? OsSupport.NotSupported
                  : OsSupport.FullySupported;
        }
     

    Attachments

    • OSInfo.zip
      4.5 KB
    Last edited:

    l_blue_l

    New Member
    May 29, 2012
    3
    0
    35
    Home Country
    Australia Australia
    Tried to use the .dll for Version 1.3.0 but it didn't work :(. Hopefully it wont be too long until windows 8 is included as a supported OS, (hope someone posts a new TvControl.dll file for 1.3.0 so i don't have to wait)
     
    Last edited:

    Users who are viewing this thread

    Similar threads

    To be fair the normal uninstall is usually more than sufficient. I regularly uninstall and reinstall MP 1 as part of the testing process and only very rarely have I needed to use the manual procedure posted by @CyberSimian to overcome the error you ran into. I also believe there is a procedure to repair the MySQL install in the event...
    To be fair the normal uninstall is usually more than sufficient. I regularly uninstall and reinstall MP 1 as part of the testing...
    I am trying to install Mediaportal with TV Server. I tried many versions, including current x64 and new prerelease x86, and...
    Replies
    3
    Views
    535
    Nice you could resolve the issue!
    Nice you could resolve the issue!
    I have MediaPortal 2.5 Server installed on one computer and Mediaportal 2.5 client on another. The client is connected to the...
    Replies
    6
    Views
    605
    So far I have installed an MP1 server and MP1 clients. Now I want to connect a Raspi to the MP server. Is there a HowTO for this? I installed the MPserverKodi plugin, shared the corresponding directories, and activated smb under Windows. Nevertheless, Kodi remains with the message 'PVR Manager is being tested: 0%
    So far I have installed an MP1 server and MP1 clients. Now I want to connect a Raspi to the MP server. Is there a HowTO for this? I...
    So far I have installed an MP1 server and MP1 clients. Now I want to connect a Raspi to the MP server. Is there a HowTO for this? I...
    Replies
    0
    Views
    405
    I uninstalled MP, made sure no sub folders were left n any programmes folders, changed the computer name, rebooted, installed MP and set logs and rebooted and ran TVServer. Didn't do anything in regard to S Loopback adapter. I've been using NextPvr since the problem became insurmountable. Only reason it's not a good long term...
    I uninstalled MP, made sure no sub folders were left n any programmes folders, changed the computer name, rebooted, installed MP...
    I've been using MediaPortal for 20 or so years. Last night it recorded perfectly. This arvo it doesn't - will run videos but not...
    Replies
    24
    Views
    2K
    Didn't know computers are available in Canada's jails... :p
    Didn't know computers are available in Canada's jails... :p
    Hi folks, basically I have this m3u list with links I am trying to scan with the TV configuration tool but all the channels even...
    Replies
    5
    Views
    705
    Top Bottom