diff --git a/src/js/helpers/streams.js.coffee b/src/js/helpers/streams.js.coffee index 0995156c..d0a67b90 100644 --- a/src/js/helpers/streams.js.coffee +++ b/src/js/helpers/streams.js.coffee @@ -69,190 +69,189 @@ helpers.stream.audioChannelMap = [ ## Map for language codes (using https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes Set 2/B) helpers.stream.langMap = - 'und': 'Unknown' - 'Afar': 'aar' - 'Abkhazian': 'abk' - 'Afrikaans': 'afr' - 'Akan': 'aka' - 'Albanian': 'alb' - 'Amharic': 'amh' - 'Arabic': 'ara' - 'Aragonese': 'arg' - 'Armenian': 'arm' - 'Assamese': 'asm' - 'Avaric': 'ava' - 'Avestan': 'ave' - 'Aymara': 'aym' - 'Azerbaijani': 'aze' - 'Bashkir': 'bak' - 'Bambara': 'bam' - 'Basque': 'baq' - 'Belarusian': 'bel' - 'Bengali': 'ben' - 'Bislama': 'bis' - 'Bosnian': 'bos' - 'Breton': 'bre' - 'Bulgarian': 'bul' - 'Burmese': 'bur' - 'Catalan': 'cat' - 'Chamorro': 'cha' - 'Chechen': 'che' - 'Chinese': 'chi' - 'Chuvash': 'chv' - 'Cornish': 'cor' - 'Corsican': 'cos' - 'Cree': 'cre' - 'Czech': 'cze' - 'Danish': 'dan' - 'Maldivian': 'div' - 'Dutch': 'dut' - 'Dzongkha': 'dzo' - 'English': 'eng' - 'Esperanto': 'epo' - 'Estonian': 'est' - 'Ewe': 'ewe' - 'Faroese': 'fao' - 'Fijian': 'fij' - 'Finnish': 'fin' - 'French': 'fre' - 'Western Frisian': 'fry' - 'Fulah': 'ful' - 'Georgian': 'geo' - 'German': 'ger' - 'Gaelic': 'gla' - 'Irish': 'gle' - 'Galician': 'glg' - 'Manx': 'glv' - 'Greek': 'gre' - 'Guarani': 'grn' - 'Gujarati': 'guj' - 'Haitian': 'hat' - 'Hausa': 'hau' - 'Hebrew': 'heb' - 'Herero': 'her' - 'Hindi': 'hin' - 'Hiri Motu': 'hmo' - 'Croatian': 'hrv' - 'Hungarian': 'hun' - 'Igbo': 'ibo' - 'Icelandic': 'ice' - 'Ido': 'ido' - 'Sichuan Yi': 'iii' - 'Inuktitut': 'iku' - 'Interlingue': 'ile' - 'Interlingua': 'ina' - 'Indonesian': 'ind' - 'Inupiaq': 'ipk' - 'Italian': 'ita' - 'Javanese': 'jav' - 'Japanese': 'jpn' - 'Kalaallisut': 'kal' - 'Kannada': 'kan' - 'Kashmiri': 'kas' - 'Kanuri': 'kau' - 'Kazakh': 'kaz' - 'Central Khmer': 'khm' - 'Kikuyu': 'kik' - 'Kinyarwanda': 'kin' - 'Kirghiz': 'kir' - 'Komi': 'kom' - 'Kongo': 'kon' - 'Korean': 'kor' - 'Kuanyama': 'kua' - 'Kurdish': 'kur' - 'Lao': 'lao' - 'Latin': 'lat' - 'Latvian': 'lav' - 'Limburgish': 'lim' - 'Lingala': 'lin' - 'Lithuanian': 'lit' - 'Luxembourgish': 'ltz' - 'Luba-Katanga': 'lub' - 'Ganda': 'lug' - 'Macedonian': 'mac' - 'Marshallese': 'mah' - 'Malayalam': 'mal' - 'Maori': 'mao' - 'Marathi': 'mar' - 'Malay': 'may' - 'Malagasy': 'mlg' - 'Maltese': 'mlt' - 'Mongolian': 'mon' - 'Nauru': 'nau' - 'Navajo': 'nav' - 'South Ndebele': 'nbl' - 'North Ndebele': 'nde' - 'Ndonga': 'ndo' - 'Nepali': 'nep' - 'Norwegian Nynorsk': 'nno' - 'Norwegian Bokmål': 'nob' - 'Norwegian': 'nor' - 'Chichewa': 'nya' - 'Occitan': 'oci' - 'Ojibwa': 'oji' - 'Oriya': 'ori' - 'Oromo': 'orm' - 'Ossetian': 'oss' - 'Punjabi': 'pan' - 'Persian': 'per' - 'Pali': 'pli' - 'Polish': 'pol' - 'Portuguese': 'por' - 'Pashto': 'pus' - 'Quechua': 'que' - 'Romansh': 'roh' - 'Romanian': 'rum' - 'Rundi': 'run' - 'Russian': 'rus' - 'Sango': 'sag' - 'Sanskrit': 'san' - 'Sinhalese': 'sin' - 'Slovak': 'slo' - 'Slovenian': 'slv' - 'Northern Sami': 'sme' - 'Samoan': 'smo' - 'Shona': 'sna' - 'Sindhi': 'snd' - 'Somali': 'som' - 'Southern Sotho': 'sot' - 'Spanish': 'spa' - 'Sardinian': 'srd' - 'Serbian': 'srp' - 'Swati': 'ssw' - 'Sundanese': 'sun' - 'Swahili': 'swa' - 'Swedish': 'swe' - 'Tahitian': 'tah' - 'Tamil': 'tam' - 'Tatar': 'tat' - 'Telugu': 'tel' - 'Tajik': 'tgk' - 'Tagalog': 'tgl' - 'Thai': 'tha' - 'Tibetan': 'tib' - 'Tigrinya': 'tir' - 'Tonga': 'ton' - 'Tswana': 'tsn' - 'Tsonga': 'tso' - 'Turkmen': 'tuk' - 'Turkish': 'tur' - 'Twi': 'twi' - 'Uighur': 'uig' - 'Ukrainian': 'ukr' - 'Urdu': 'urd' - 'Uzbek': 'uzb' - 'Venda': 'ven' - 'Vietnamese': 'vie' - 'Volapük': 'vol' - 'Welsh': 'wel' - 'Walloon': 'wln' - 'Wolof': 'wol' - 'Xhosa': 'xho' - 'Yiddish': 'yid' - 'Yoruba': 'yor' - 'Zhuang': 'zha' - 'Zulu': 'zul' - + 'und': 'Unknown' + 'aar': 'Afar' + 'abk': 'Abkhazian' + 'afr': 'Afrikaans' + 'aka': 'Akan' + 'alb': 'Albanian' + 'amh': 'Amharic' + 'ara': 'Arabic' + 'arg': 'Aragonese' + 'arm': 'Armenian' + 'asm': 'Assamese' + 'ava': 'Avaric' + 'ave': 'Avestan' + 'aym': 'Aymara' + 'aze': 'Azerbaijani' + 'bak': 'Bashkir' + 'bam': 'Bambara' + 'baq': 'Basque' + 'bel': 'Belarusian' + 'ben': 'Bengali' + 'bis': 'Bislama' + 'bos': 'Bosnian' + 'bre': 'Breton' + 'bul': 'Bulgarian' + 'bur': 'Burmese' + 'cat': 'Catalan' + 'cha': 'Chamorro' + 'che': 'Chechen' + 'chi': 'Chinese' + 'chv': 'Chuvash' + 'cor': 'Cornish' + 'cos': 'Corsican' + 'cre': 'Cree' + 'cze': 'Czech' + 'dan': 'Danish' + 'div': 'Maldivian' + 'dut': 'Dutch' + 'dzo': 'Dzongkha' + 'eng': 'English' + 'epo': 'Esperanto' + 'est': 'Estonian' + 'ewe': 'Ewe' + 'fao': 'Faroese' + 'fij': 'Fijian' + 'fin': 'Finnish' + 'fre': 'French' + 'fry': 'Western Frisian' + 'ful': 'Fulah' + 'geo': 'Georgian' + 'ger': 'German' + 'gla': 'Gaelic' + 'gle': 'Irish' + 'glg': 'Galician' + 'glv': 'Manx' + 'gre': 'Greek' + 'grn': 'Guarani' + 'guj': 'Gujarati' + 'hat': 'Haitian' + 'hau': 'Hausa' + 'heb': 'Hebrew' + 'her': 'Herero' + 'hin': 'Hindi' + 'hmo': 'Hiri Motu' + 'hrv': 'Croatian' + 'hun': 'Hungarian' + 'ibo': 'Igbo' + 'ice': 'Icelandic' + 'ido': 'Ido' + 'iii': 'Sichuan Yi' + 'iku': 'Inuktitut' + 'ile': 'Interlingue' + 'ina': 'Interlingua' + 'ind': 'Indonesian' + 'ipk': 'Inupiaq' + 'ita': 'Italian' + 'jav': 'Javanese' + 'jpn': 'Japanese' + 'kal': 'Kalaallisut' + 'kan': 'Kannada' + 'kas': 'Kashmiri' + 'kau': 'Kanuri' + 'kaz': 'Kazakh' + 'khm': 'Central Khmer' + 'kik': 'Kikuyu' + 'kin': 'Kinyarwanda' + 'kir': 'Kirghiz' + 'kom': 'Komi' + 'kon': 'Kongo' + 'kor': 'Korean' + 'kua': 'Kuanyama' + 'kur': 'Kurdish' + 'lao': 'Lao' + 'lat': 'Latin' + 'lav': 'Latvian' + 'lim': 'Limburgish' + 'lin': 'Lingala' + 'lit': 'Lithuanian' + 'ltz': 'Luxembourgish' + 'lub': 'Luba-Katanga' + 'lug': 'Ganda' + 'mac': 'Macedonian' + 'mah': 'Marshallese' + 'mal': 'Malayalam' + 'mao': 'Maori' + 'mar': 'Marathi' + 'may': 'Malay' + 'mlg': 'Malagasy' + 'mlt': 'Maltese' + 'mon': 'Mongolian' + 'nau': 'Nauru' + 'nav': 'Navajo' + 'nbl': 'South Ndebele' + 'nde': 'North Ndebele' + 'ndo': 'Ndonga' + 'nep': 'Nepali' + 'nno': 'Norwegian Nynorsk' + 'nob': 'Norwegian BokmÃ¥l' + 'nor': 'Norwegian' + 'nya': 'Chichewa' + 'oci': 'Occitan' + 'oji': 'Ojibwa' + 'ori': 'Oriya' + 'orm': 'Oromo' + 'oss': 'Ossetian' + 'pan': 'Punjabi' + 'per': 'Persian' + 'pli': 'Pali' + 'pol': 'Polish' + 'por': 'Portuguese' + 'pus': 'Pashto' + 'que': 'Quechua' + 'roh': 'Romansh' + 'rum': 'Romanian' + 'run': 'Rundi' + 'rus': 'Russian' + 'sag': 'Sango' + 'san': 'Sanskrit' + 'sin': 'Sinhalese' + 'slo': 'Slovak' + 'slv': 'Slovenian' + 'sme': 'Northern Sami' + 'smo': 'Samoan' + 'sna': 'Shona' + 'snd': 'Sindhi' + 'som': 'Somali' + 'sot': 'Southern Sotho' + 'spa': 'Spanish' + 'srd': 'Sardinian' + 'srp': 'Serbian' + 'ssw': 'Swati' + 'sun': 'Sundanese' + 'swa': 'Swahili' + 'swe': 'Swedish' + 'tah': 'Tahitian' + 'tam': 'Tamil' + 'tat': 'Tatar' + 'tel': 'Telugu' + 'tgk': 'Tajik' + 'tgl': 'Tagalog' + 'tha': 'Thai' + 'tib': 'Tibetan' + 'tir': 'Tigrinya' + 'ton': 'Tonga' + 'tsn': 'Tswana' + 'tso': 'Tsonga' + 'tuk': 'Turkmen' + 'tur': 'Turkish' + 'twi': 'Twi' + 'uig': 'Uighur' + 'ukr': 'Ukrainian' + 'urd': 'Urdu' + 'uzb': 'Uzbek' + 'ven': 'Venda' + 'vie': 'Vietnamese' + 'vol': 'Volapük' + 'wel': 'Welsh' + 'wln': 'Walloon' + 'wol': 'Wolof' + 'xho': 'Xhosa' + 'yid': 'Yiddish' + 'yor': 'Yoruba' + 'zha': 'Zhuang' + 'zul': 'Zulu' ### Formatters.