TV Server and Windows 8 (1 Viewer)

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
    53
    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
    37
    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

    Thank you for this tip! I'm moving MP TV Server to a new machine. I installed the 64-bit version and most of the MP firewall rules were set to Public. I couldn't connect to the new TV Server from my old single-seat installation running 32-bit until I changed all MP-related firewall rules on the new machine to Private. Before I did...
    Thank you for this tip! I'm moving MP TV Server to a new machine. I installed the 64-bit version and most of the MP firewall...
    Server and client on modern uptodate Windows 11 desktop. Software is Server and Client version x86 1.38.003 Remote client on...
    Replies
    26
    Views
    3K
    I am following the official documentation for setting up the Kodi plugin in media portal. I have got no issues with media portal, nor media portal plugin on Kodi, but with the Kodi plugin that must be installed in the media portal, as it is not getting detected. I have made a copy of the dll file into the plugins folder as found in my...
    I am following the official documentation for setting up the Kodi plugin in media portal. I have got no issues with media portal...
    I am following the official documentation for setting up the Kodi plugin in media portal. I have got no issues with media portal...
    Replies
    0
    Views
    202
    Sorted, it is a Rating flag that I have never seen before, silly me !! Cheers Tony
    Sorted, it is a Rating flag that I have never seen before, silly me !! Cheers Tony
    I have just done a clean install of v1.36. Current setup Media Portal 1.36 Titan skin (only classic home) TV Series 4.5.1.737...
    Replies
    1
    Views
    279
    Reading through your code, I can see it's more than a couple steps above my paygrade. :cry:
    Reading through your code, I can see it's more than a couple steps above my paygrade. :cry:
    I used to run the TVService under the "NT Service\TVService" account to follow least privileges principal (not exposing my whole...
    Replies
    3
    Views
    2K
    I meant use MP client to try to spot how it's requesting streams for specific channels and then try to do the same with VLC. TV Server development looks dead so I'm afraid you're going to have to figure that out by yourself if it's even possible.
    I meant use MP client to try to spot how it's requesting streams for specific channels and then try to do the same with VLC. TV...
    Hi everyone, I've set up Mediaportal TV Server on a Windows 11 box, tuner deteced okay, scanned channels, can preview, all seems...
    Replies
    8
    Views
    2K
    Top Bottom