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
    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
    36
    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

    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
    1K
    I haven't tested it. I use MP1, but sometimes I try to help with MP2 :).
    I haven't tested it. I use MP1, but sometimes I try to help with MP2 :).
    This happened immediately after my Windows 11 x64 monthly update for November. The update included also cumulative update to .NET...
    Replies
    9
    Views
    1K
    Well, the log doesn't show any problems. I can see correctly tuned channels in the log. It seems to me that the tuner works fine. Can you copy the created ts file(located in your timeshift folder) somewhere else while in channel preview and try to play it in VLC or MPC-HC? PS: You can also try to make short record
    Well, the log doesn't show any problems. I can see correctly tuned channels in the log. It seems to me that the tuner works fine...
    I've been successfully using MediaPortal1 and TV Server 1.17 on Win7 for years, using first a HDHomerun tuner, when that died, a...
    Replies
    4
    Views
    2K
    Thank you for pointing out that my analysis may be less than accurate. :eek: :p Although the change to TV channel 71 may not also have been applied to the independent radio channels (different MUXes), the logs that I prepared for one of the development team does show a difference between channel 704 ("BBC Radio 4") and channel 731...
    Thank you for pointing out that my analysis may be less than accurate. :eek: :p Although the change to TV channel 71 may not also...
    I have just discovered that I can no longer receive any of the independent radio channels broadcast on DVB-T in the UK. In...
    Replies
    10
    Views
    2K
    Hello, Name need to be the same as computer name. Also, logs could be useful.
    Hello, Name need to be the same as computer name. Also, logs could be useful.
    It is a bit of a long story! I successfully installed MP2 on my old PC as client/server with client on my laptop to confirm my...
    Replies
    2
    Views
    856
    Top Bottom