MediaPortal freezes after a view seconds (1 Viewer)

heppi

Portal Member
November 3, 2011
6
1
37
Home Country
Germany Germany
MediaPortal Version: 1.2.1.0
MediaPortal Skin: Default
Windows Version: Windows 7 Pro x64
CPU Type: Core i5
Memory: 8GB

I installed MediaPortal Server on my Windows Server 2003 R2 and I installed MediaPortal Client on a Windows 7 x64.
The Server is working great, but if I start MediaPortal Client the software freezes after a view seconds.
After waiting a long time the GUI is working for a view seconds and then the GUI freezing again. It's not usable.
I don't know what to do?

Any ideas?
 

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    I suspect the gentle.config file on the client is messed up.

    heppi: Please edit the gentle config file on the client in C:\ProgramData\Team MediaPortal\MediaPortal\ (that is a hidden folder so paste the path into the Windows Explorer address bar) and enter the following:

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <Gentle.Framework>
      <Options>
        <CommandTimeout>30</CommandTimeout>
        <ConcurrencyControl>false</ConcurrencyControl>
        <MasterDefinition>Attributes</MasterDefinition>
        <Analyzer>
          <Level>OnDemand</Level>
          <Silent>false</Silent>
        </Analyzer>
        <Cache>
          <DefaultStrategy>Temporary</DefaultStrategy>
          <CacheStatements>true</CacheStatements>
          <CacheObjects>true</CacheObjects>
          <SkipQueryExecution>true</SkipQueryExecution>
          <UniqingScope>Application</UniqingScope>
        </Cache>
        <Logging>
          <Verbosity>Warning</Verbosity>
          <Frailty>Warning</Frailty>
          <Category name="All" enabled="false" />
          <Category name="StatementExecution" enabled="false" />
          <Category name="Cache" enabled="false" />
          <Category name="Metadata" enabled="false" />
        </Logging>
      </Options>
      <DefaultProvider name="SQLServer" [B]connectionString="Server=192.168.178.11;Database=MpTvDb;User ID=root;Password=MediaPortal;charset=utf8;Connection Timeout=300;"[/B] />
      <Providers>
        <Provider name="MySQL" assembly="Gentle.Provider.MySQL.dll" />
        <Provider name="SQLServer" assembly="Gentle.Provider.SQLServer" />
      </Providers>
    </Gentle.Framework>

    Make sure you set the correct connection string (highlighted) if you changed the schema name, user name or password.

    mm
     

    heppi

    Portal Member
    November 3, 2011
    6
    1
    37
    Home Country
    Germany Germany
    Can you even open MP config, there seems to be a lot of database connection errors, did you use a existing MSSQL server instance for TV database.
    Yes I can open MP config
    Yes I am using an existing database

    I suspect the gentle.config file on the client is messed up.

    @heppi: Please edit the gentle config file on the client in C:\ProgramData\Team MediaPortal\MediaPortal\ (that is a hidden folder so paste the path into the Windows Explorer address bar) and enter the following:

    Make sure you set the correct connection string (highlighted) if you changed the schema name, user name or password.
    Thank you. That was the trick. I corrected my dabase connection and now the GUI is not freezing.

    But there comes the next Problem:
    I can not watch TV. I have two Hauppauge Nova S2 cards installed. I scanned the TV-Cards using following settings:
    DISEqC: None
    Band: Ku-Linear (Universal)
    Satellite: 19.2°E Astra

    I got a lot of channels. But in MP client the monitor stays black. If I click "Preview" on server's MP config there is a black monitor too.

    I attached my server logs
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    Hi again heppi

    Thank you. That was the trick. I corrected my dabase connection and now the GUI is not freezing.
    Excellent. :)

    But there comes the next Problem:... I got a lot of channels. But in MP client the monitor stays black. If I click "Preview" on server's MP config there is a black monitor too.
    There is no problem with tuning on the server side and your earlier client logs show that you had not set your codec preferences so I suspect a codec problem. Go to the "TV" tab in the "codecs and renderer" section of MP configuration (here) and set the values for all those settings. Based on the codecs you already have installed I recommend:

    h.264 video: Microsoft DTV-DVD Video Decoder
    MPEG 2 video: Microsoft DTV-DVD Video Decoder
    MPEG/AC3 audio: MPC - MPA Decoder Filter
    AAC audio: MONOGRAM AAC Decoder

    Regarding preview on the server: the problem there is almost identical except there are no codec settings for the server since the client and server might be different PCs (like you have done). On the server codecs for preview are chosen automatically based on something called "merit", which is like a rating scale for codecs - the codecs with the highest merit that can decode the video/audio format are used. If it is important to you to get this working then you need to use filmerit (or similar) to organise the merits of your codecs on the server. If you don't understand codecs very well then it is perfectly okay to skip that and just not use "preview" for testing.

    mm
     

    Paranoid Delusion

    Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,052
    2,978
    Cheshire
    Home Country
    United Kingdom United Kingdom
    Or just in case it is a OS without codecs, you can download the LAV filters from here .

    Reboot after installing, you should now be able to preview tv in server, these filters can also be used to supplement any existing Microsoft ones on Winxp\vista\7.
     

    Users who are viewing this thread

    Top Bottom