Crashes on every video (1 Viewer)

tomakas123

Portal Member
March 6, 2012
19
6
51
Home Country
Lithuania Lithuania
MP2 crash on every video I'm try to play. Live TV works on SD and HD channels
 

morpheus_xx

Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,070
    7,459
    Home Country
    Germany Germany
    Wow! This is something I've really not seen yet :)
    Code:
    [2015-09-18 19:27:22,702] [11968  ] [29       ] [ERROR] - ApplicationLauncher: Unhandled exception in application
    System.Globalization.CultureNotFoundException: Culture is not supported.
    Parameter name: culture
    4096 (0x1000) is an invalid culture identifier.
       at System.Globalization.CultureInfo.InitializeFromCultureId(Int32 culture, Boolean useUserOverride)
       at System.Globalization.CultureInfo..ctor(Int32 culture, Boolean useUserOverride)
       at MediaPortal.UI.Players.Video.VideoPlayer.SetPreferedAudio_intern(StreamInfoHandler& audioStreams, Boolean useFirstAsDefault)
       at MediaPortal.UI.Players.Video.VideoPlayer.EnumerateStreams(Boolean forceRefresh)
       at MediaPortal.UI.Players.Video.VideoPlayer.EnumerateStreams()
       at MediaPortal.UI.Players.Video.VideoPlayer.get_Subtitles()
       at MediaPortal.UiComponents.Media.Models.BaseVideoPlayerUIContributor.Update()
       at MediaPortal.UI.Presentation.Models.BaseTimerControlledModel.OnTimerElapsed(Object sender)
       at System.Threading.TimerQueueTimer.CallCallbackInContext(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.TimerQueueTimer.CallCallback()
       at System.Threading.TimerQueueTimer.Fire()
       at System.Threading.TimerQueue.FireNextTimers()
       at System.Threading.TimerQueue.AppDomainTimerCallback()
    This means in your video file (or previous selection) is a "language" set, which is not supported by .NET culture infos.

    Can you please post the settings file from: C:\ProgramData\Team MediaPortal\MP2-Client\Config\*YourUserName*\MediaPortal.UI.Players.Video.Settings.VideoSettings.xml?

    Of particular insterest are following keys, which contain the preferred culture code (German in my example)
    XML:
      <Property Name="PreferredSubtitleLanguage">
      <int>1033</int>
      </Property>
      <Property Name="PreferredAudioLanguage">
      <int>1033</int>
      </Property>
      <Property Name="PreferredMenuLanguage">
      <int>1033</int>
      </Property>
     

    tomakas123

    Portal Member
    March 6, 2012
    19
    6
    51
    Home Country
    Lithuania Lithuania
    This is it[DOUBLEPOST=1442597611][/DOUBLEPOST]I changed
    "PreferredAudioLanguage" to 1033 manualy, and now everything works.
    Thanx. :)
     

    Attachments

    • MediaPortal.UI.Players.Video.Settings.VideoSettings.xml.zip
      771 bytes

    tomakas123

    Portal Member
    March 6, 2012
    19
    6
    51
    Home Country
    Lithuania Lithuania
    One question more. This means what the default audio language will be set by culture info ?
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,070
    7,459
    Home Country
    Germany Germany
    Yes, the order of selection is:
    • selected main language (settings -> regional -> language)
    • once you select another language of sub streams/audio streams during playback, the last choice will be remembered and reused next time
     

    Users who are viewing this thread

    Similar threads

    Sorry, I didn't get email notifications on these latest replies. I just came here to report I solved the problem after adjusting power settings for "Intel Graphics". I set it to Maximum Performance. I tried many other things so it could be a combination of them, but this was the last thing I did and I haven't had the problem return...
    Sorry, I didn't get email notifications on these latest replies. I just came here to report I solved the problem after adjusting...
    I'm running MP1 as a client only on this: https://www.amazon.com/dp/B0DZX5DWS5?ref_=pe_123509780_1038749300_t_fed_asin_title&th=1...
    Replies
    5
    Views
    2K
    OK, I now understand your post (I have reproduced that behaviour on my test system). If you create a channel group for HD channels (and no others), then when that group is the active group and you select a future programme in the EPG, you were expecting the "Upcoming Episodes" panel to show only episodes broadcast on channels in that...
    OK, I now understand your post (I have reproduced that behaviour on my test system). If you create a channel group for HD channels...
    My channel list shows both HD and SD programs for some channels. However, there are no SD channels listed. For example, ZDF HD and...
    Replies
    6
    Views
    1K
    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
    Nevermind, I think. I found them in the forum. I had only checked the main webiste for MP2 plugins. https://www.team-mediaportal.com/extensions/mp2-plugins I hope these work: Featured Plugins
    Nevermind, I think. I found them in the forum. I had only checked the main webiste for MP2 plugins...
    I've been an MP1 user for a long time. I'm interested in switching to MP2. However, I rely heavily on the features provided by...
    Replies
    1
    Views
    3K
    I currently have two Quatros running, one connect, one duo using OTA antennae, mostly UHF fringe area, mostly cat5 local network. Hauppauge card retired long ago. I have also retired very early SD units, the Quatros seem to work much better than the older units. Go to SD's support website and download and install the windows...
    I currently have two Quatros running, one connect, one duo using OTA antennae, mostly UHF fringe area, mostly cat5 local network...
    I am currently using a Hauppauge WinTV QuadHD PCIe card on MP1 (1.37) for DVB-T, but 2 of the tuners have died. Thinking about...
    Replies
    3
    Views
    1K
    Top Bottom