[Videos] - SelectSubtitleLanguage & SelectAudioLanguage: unable to build CultureInfo

Discussion in 'MediaPortal 1.1.0 BETA 1' started by Waly, November 5, 2009.

  1. Waly
    • Premium Supporter

    Waly MP Donator

    Joined:
    July 21, 2009
    Messages:
    18
    Likes Received:
    3
    Ratings:
    +3 / 0
    Home Country:
    Czech Republic Czech Republic
    MediaPortal Version: MediaPortal 1.1.0 BETA 1 SVN-Revision:23978
    MediaPortal Skin: Blue3wide
    Windows Version: Windows 7 Ultimate 64bit RTM
    CPU Type: AMD Athlon 64
    Memory: 2GB DDR2
    Video Card: ATI HD 3200


    Reproduce:
    1. In video settings choose default Subtitle Language or Audio Language to Czech
    2. During play of movie (or just start some movie) choose context menu and this exception appeares:
    Code (Text):
    1.  
    2. SelectAudioLanguage - unable to build CultureInfo, make sure MediaPortal.xml is not corrupted! - System.ArgumentException: Culture name 'czech' is not supported.
    3. Parameter name: name
    4.    in System.Globalization.CultureTableRecord..ctor(String cultureName, Boolean useUserOverride)
    5.    in System.Globalization.CultureTableRecord.GetCultureTableRecord(String name, Boolean useUserOverride)
    6.    in System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride)
    7.    in MediaPortal.Player.VideoPlayerVMR7.SelectAudioLanguage()
    8.  
    Additional Information:
    Constructor CultureInfo does not accept string as "czech" or "english" (stored in Mediaportal.xml by Mediaportal). It accepts strings as "cs", "cs-CZ", "en", ...
    When I manually change elements Audiolanguage in Mediaportal.xml to "cs", it starts working and also chooses right audio track. But its not solution... One time it also crashed whole Mediaportal - AccessViolationException. Log attached.


     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!