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

    Got a reply from SD ... "Looks like your last successful download was on 5/23. On 5/24 for some reason we received 194 connections between 10:54 and 11:05 triggering a denial of service attack ban. The logs show it was lifted on 5/25, but I still see the entry in iptables. I reset fail2ban and hopefully you're working again." Weird...
    Got a reply from SD ... "Looks like your last successful download was on 5/23. On 5/24 for some reason we received 194...
    I'm using MediaPortal 1.38.1 x64 and have an SD-DD lineup account. In the last week, I have not been able to update my EPG, and...
    Replies
    3
    Views
    271
    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
    updated both --> works! Thanks!
    updated both --> works! Thanks!
    this window opens and closes after some seconds when I try to "Authorize Application": It does not create a Usercode. Also...
    Replies
    4
    Views
    391
    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
    Top Bottom