[Pending] Addtional DVB languages (1 Viewer)

AlexPlas

Portal Pro
August 24, 2006
231
41
Kyiv, Ukraine
Ukraine Ukraine
Country flag
Hello

Here is a patch which adds few language codes to languages list which is used in TV configuration.

I've found these pseudo-languages on few channels. On the channel "MyZenTV" which specializes on landscapes, there are 4 audio "languages", first one which marked as NAT is sounds of the nature, second (MUS) is instrumental music, next are English and French comments. I'd like to make MP always select sounds of nature but it is impossible since in the list of DVB languages are no NAT nor MUS language codes. Even if I add one of these codes manually in the appropriate sting in MediaPortal.xml file, after next start of MediaPortal Configuration my change is discarded. One more code is UNK - unknown language which I've found on few, mostly musical, channels.
 

Attachments

Vasilich

Test Group
  • Team MediaPortal
  • August 30, 2009
    3,393
    1,170
    Germany, Mayence
    Russian Federation Russian Federation
    Country flag
    afaik this part acc. to DVB specs uses ISO-639-2 language set. and there are none of those "nat" or "mus" as language codes specified in standard (http://www.loc.gov/standards/iso639-2/ISO-639-2_utf-8.txt). for unknown there is "und", for "undetermined";
    so maybe it is reasonable to ask provider to hold on DVB/ISO specs ?

    actually most fitting language code for this may be "zxx":
    The identifier [zxx] (no linguistic content) may be applied in a situation in which a language identifier is required by system definition, but the item being described does not actually contain linguistic content.
     

    AlexPlas

    Portal Pro
    August 24, 2006
    231
    41
    Kyiv, Ukraine
    Ukraine Ukraine
    Country flag
    Asking provider to hold specification it's the best solution in a perfect world, but our world is unfortunately not perfect.

    I pretty sure, my provider just re-translate the channel from a satellite, so all these language codes are broadcasted by channel's creators. The language code UNK is not so important because usually it is only one language for musical channel. I've rechecked and UNK is used by MTV and VH-1 channels.

    In current sources are used two language codes (scc and scr) which is not listed in ISO-639-2.
     

    Vasilich

    Test Group
  • Team MediaPortal
  • August 30, 2009
    3,393
    1,170
    Germany, Mayence
    Russian Federation Russian Federation
    Country flag
    In current sources are used two language codes (scc and scr) which is not listed in ISO-639-2.
    yes, these are marked as deprecated and can be removed.
    and IIRC 2 other exceptions (B-Codes) are not in our list.
    So actually i have nothing against including those non-standard codes. The only thing is - maybe we should extract those non-standards in extra function, so the code will be more understandable for later checks...
     

    AlexPlas

    Portal Pro
    August 24, 2006
    231
    41
    Kyiv, Ukraine
    Ukraine Ukraine
    Country flag
    I understand that offered solution is quick and dirty and may affect some other parts of engine. Another solution is to preserve somehow values manually added to list of languages in the configuration file.

    BTW if the UNK lang code is added by TsReader and is non standard, may be it is better to change it to UND code which is standard?
     

    AlexPlas

    Portal Pro
    August 24, 2006
    231
    41
    Kyiv, Ukraine
    Ukraine Ukraine
    Country flag
    Some channels have only one audio stream without language code, I have recorded TS files and checked with VLC player. In this case MP reports this stream as UNK.
     

    AlexPlas

    Portal Pro
    August 24, 2006
    231
    41
    Kyiv, Ukraine
    Ukraine Ukraine
    Country flag
    BTW, I have found one channel on which TsReader reports invalid AC-3 audio streams in addition to valid MP1 streams. In other words the channel has 2 MP1 streams (Engish and Russian) when TsReader shows 2 MP1 and 2 AC-3 streams. There is no sound on AC-3 streams. I have TS file. Where is better to report this bug?
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    M 1.25.0 Tv Server Configuration Italian Dvb-t2 test channel preview error Television (MyTV frontend and TV-Server) 7
    R Suggestions for reliable PCIe DVB-S2 tuner MediaPortal 1 Talk 8
    Golf4 DVB-IP über Fritzbox - m3u-Senderliste Allgemeines Support- und Diskussionsforum 43
    M TV Server can't tune to some DVB-S multiplexes while other software can General 0
    C Telenet analog-to-digital switch -- manually finding and inputting DVB-C channels in Mediaportal2 General 0
    framug No color in TVGuide when XMLTV without DVB EPG MediaPortal 1 Talk 59
    T [solved] Any idea where Channel 107 (DVB-T2) BBC News HD (and others!) have gone??? Installation, configuration support 12
    framug [EPG] Some problems with DVB EPG Improvement Suggestions 49
    bta489 [solved] DVB-T2 Recordings: Sometimes no Audio after muxing with mkvmerge Tools and other software 2
    badboyxx TV card is listed as unknown in TV-server config General 4
    bribbon [Pending] Switzerland: DVB-T switch-off on 03 June 2019 Submit: EPG-Grabbers and tuningdetails 0
    bribbon [Pending] DVB-C Tuning Parameters: Switzerland.UPC Cablecom [NID 43020] v.7.xml Submit: EPG-Grabbers and tuningdetails 0
    J DVB-S2 card fails to tune? Subchannel count increasing Television (MyTV frontend and TV-Server) 3
    D Cannot get a fully populated UK Freesat EPG (DVB-S) General 14
    hanfmaster Dvb-s2 zu android ipad Einsteigerforum 0
    C DVB-C Empfänger Hauppauge Win TV dual wird in Media Portal nicht aktiviert TV / Streaming 1
    Terra [solved] MP TV Server cannot find any channels anymore, DVB viewer works Installation, configuration support 8
    Booner [Verkauf] Verkaufe Max S8 8 Tuner DVB-S2 Karte von Digital Devices neuwertig Marktplatz 2
    N [solved] How to record a series (UK Freeview dvb-t) General 10
    N What dvb-t/t2 dual or quad tuners work with media portal (in the UK)? Newcomers Forum 8
    E [solved] Vodafone Kabel dvb-c Braunschweig Tuning Liste (Stand 31.01.2019) TV / Streaming 0
    items [Verkauf] Hauppauge Dual TV Tuner USB DVB-C, DVB-C Marktplatz 0
    A Help! MP2 - DVB-T Not recognised (DRIVERS?) General 12
    porky996t DVB Sat card possibly failed General Support 1
    splatterpop My optimized dvb epg configuration for tv server MediaPortal 1 Talk 0
    Similar threads

























    Top Bottom