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
    2K
    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
    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
    2K
    I note that you are using MP2. The following applies to MP1, but I think that MP2 is identical in this situation. "TV Server Config" has a "TV Mapping" panel in the "TV Channels" section. On the "TV Mapping" tab: The left column lists the channels that have not yet been mapped to the TV tuner identified by the drop-down menu just...
    I note that you are using MP2. The following applies to MP1, but I think that MP2 is identical in this situation. "TV Server...
    I've scanned for channels, and got all channels mapped to tuner 0 of my 8 channel TV card (eg: 2 cards of 4 channels each) Is there...
    Replies
    1
    Views
    813
    Top Bottom