Please help me select "ESL" Audio (1 Viewer)

dale_para_bajo

MP Donator
  • Premium Supporter
  • May 8, 2011
    10
    2
    Home Country
    Puerto Rico Puerto Rico
    This is my 1rst message in this forum. I am happy to be part of this group and hope to learn a lot from all of you.

    My main language is Spanish and hope you forgive my English.

    I will like you to help me find a way to set Spanish Audio as a default in my Sat Channels in Media Portal.

    In Media Portal the audio language for Spanish seems to be identify by "SPA" as shown in General Settings/TV Client/Audio Settings. But in sat 110W/119W the Spanish Audio is set to "ESL" and not "SPA".

    MP allows me to switch to the "ESL" Audio manually in each channel that I am viewing but if I change channels, It returns back to English. So for example If I set to record a channel it will not record in Spanish?

    It will be a good suggestion to add "ESL" in to the Available Audio Languages.
    It will be a good suggestion also to allow manually change language to remain selected even if the channel is changed.

    How can I select "ESL" Audio?
    Do you know what register can I modify in the database to force "ESL" audio?

    Thanks to all ahead.
     

    rekenaar

    Retired Team Member
  • Premium Supporter
  • December 17, 2006
    4,421
    805
    Home Country
    South Africa South Africa
    Hi there and welcome :)

    I hope one of our devs or testers can help with this part:
    It will be a good suggestion to add "ESL" in to the Available Audio Languages.

    In the mean time, let's try a few things as a temporary workaround.

    1. Are you not allowed to change the language in a recording? I was thinking that digital recording record all audio langs as well. Not sure though as I am still using analogue.

    2. There is a setting in MP Configuration, TV, TVClient, Audio Settings for "Prefer audio type over language". Are yours UNTICKED as it seems you want to prefer language and not type?

    3. Try manually editing the mediaportal.xml file, located in C:\ProgramData\Team MediaPortal\MediaPortal for Windows 7. The search for preferredaudiolanguages and manually enter ESL there. Not sure if it will work and I cannot test myself.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,228
    Home Country
    New Zealand New Zealand
    Hola dale_para_bajo :)

    Hopefully my Spanish is right - your English is much better than my Spanish!

    According to ISO MPEG transport stream specifications, the language codes that should be used to identify the languages for audio streams are the codes that are listed in ISO 639 part 2 (639-2):

    ISO_639_language_code – Identifies the language or languages used by the associated program element. The
    ISO_639_language_code contains a 3-character code as specified by ISO 639, Part 2. Each character is coded into 8 bits
    according to ISO/IEC 8859-1 and inserted in order into this 24-bit field. In the case of multilingual audio streams
    the sequence of ISO_639_language_code fields shall reflect the content of the audio stream.

    I have looked through the list of ISO 639-2 codes and I can't find "esp" anywhere. According to Wikipedia, "esp" comes from the obsolete 1967 ISO 639 standard. That means that your broadcaster must not be following the guidelines in the international standard. :(

    We usually try to adhere to standards as much as possible so that MediaPortal works properly all around the world. In this case, it looks like the list in MediaPortal configuration contains many of the more common codes from ISO 639-2, along with some two letter codes from ISO 639 part 1. That means that technically we are not following the standard either. :confused:

    I can speak to the team about whether we could add "esp" as a Spanish code, however it would be better if you are able to ask the TV provider who is using that code to correct it - the proper code for them to use is "spa".

    Alternatively, it should be possible to trick MediaPortal into using the correct code like Rekenaar said (thanks Rekenaar! :)). To do that, first untick the "prefer audiotype over language" option in MediaPortal configuration. After you've closed MediaPortal configuration, you need to manually modify your MediaPortal configuration file:

    1. Open the MediaPortal.xml configuration file with a text editor like Notepad. MediaPortal.xml can be found in C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal on Windows XP, or C:\ProgramData\Team MediaPortal\MediaPortal on Windows Vista and Windows 7. There should be link to the correct folder ("user files") in the MediaPortal folder in your start menu.
    2. Search for the "preferredaudiolanguages" setting.
    3. Change it from:
    <entry name="preferredaudiolanguages">
    </entry>
    ... to ...
    <entry name="preferredaudiolanguages">esp;</entry>
    4. Save the change.

    Note that if you ever revisit the configuration page then the list of languages will be blank and the setting will be lost.
     

    dale_para_bajo

    MP Donator
  • Premium Supporter
  • May 8, 2011
    10
    2
    Home Country
    Puerto Rico Puerto Rico
    rekenaar & mm1352000 first of all thank you for your quick response.

    I have not tried your suggestion jet, but will try it as soon as possible. Today is Mothers Day in America.

    mm1352000 please note that the language type used is "ESL" not "ESP" as you said. I doubt the provider will correct this situation. This is one of many NONE STANDARD uses of SPECs that this provider do. It is intentional, the provider do not want the user to use none official equipment. But in my case I have an old OEM Receiver and paid subscription that for the moment do not want to change. The provider will love me to upgrade my equipment and pay more!

    So for the moment I am testing my sub with MP as an option. For example, I was force to MOD or correct networkid's & transportid's in order have the EPG Working.

    If for any reason you believe "ESL" is not a valid Standard, well ok. I am happy if you allowed me to modify the xml config.

    Keep the good work
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,228
    Home Country
    New Zealand New Zealand
    mm1352000 please note that the language type used is "ESL" not "ESP" as you said.
    My apologies! :sorry:
    Unfortunately "esl" is not a listed code either...

    I doubt the provider will correct this situation. This is one of many NONE STANDARD uses of SPECs that this provider do. It is intentional, the provider do not want the user to use none official equipment. But in my case I have an old OEM Receiver and paid subscription that for the moment do not want to change. The provider will love me to upgrade my equipment and pay more!
    Those providers are really frustrating! Hopefully MediaPortal can be better than the provider's equipment. :D
     

    dale_para_bajo

    MP Donator
  • Premium Supporter
  • May 8, 2011
    10
    2
    Home Country
    Puerto Rico Puerto Rico
    yep!

    Went into Win7=> "C:\ProgramData\Team MediaPortal\MediaPortal\MediaPortal.xml"

    and changed entry to=> "<entry name="preferredaudiolanguages">esl;</entry>"

    And it did the Job. Thanks again.
     

    Users who are viewing this thread

    Top Bottom