Where do I set the ISO 639-1 language code in Channels DVR?

When Channels displays the show information for this SeriesID 12398218, sometimes it's

English: (en) SH023291350000 Primal Survivor
Spanish: (es) SH023226420000 Solo Contra el Mundo
German: (de) SH026426970000 Extreme Survival mit Hazen Audel

Guess it just depends on how it feels that day?

Have a Series Pass for SeriesID 12398218
Click Series Name 'Primal Survivor' from Schedule
Click Series Name from Schedule
http://192.168.1.4:8089/admin/search/12398218?seriesName=Primal%20Survivor
Displays 'Extreme Survival mit Hazen Audel'

In the past it also displayed 'Solo Contra el Mundo'

What locale do you have the the system set to that's running your DVR? Is it set at all?

Synology NAS's, These are the only settings available


and the help docs state

SSH'd in

~# locale
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=en_US.utf8

If you're running the server on bare metal, then your locale is en_US. If you're running in a container, chances are the locale is unset, and it may be defaulting to C. You may want to consider setting the LANG environment variable to ensure it's set correctly.

Running is the new DSM 7 Synology package
~# env
LC_ALL=en_US.utf8
LANG=en_US.utf8

If you have NatGeo on a source, try the query to see what you get
http://x:8089/admin/search/12398218?seriesName=Primal%20Survivor

What's strange is I have three servers with access to NatGeo.
On the one with the Series Pass running in the Synology package with an HDHR Prime as the only source I get the German (de) language version. On the other two running in a Synology package and a Docker Container both with TVE source I get the English (en) language version.

I get the English version. In fact, I've never had the wrong language show up when searching, whether running on bare metal, or in a container.

Works here. Possible there was some issue with upstream gracenote API and the results were cached into your DVR

Doing the Search on two different servers return different results.
Maybe the devs can figure out what's happening.

Search query and response with TVE source
Request: GET http://192.168.1.4:8189/dvr/guide/airings/12398218
"group": {
    "ID": "12398218",
    "Image": "https://tmsimg.fancybits.co/assets/p18932402_b_h9_aa.jpg?w=360\u0026h=270",
    "Name": "Primal Survivor",
    "Summary": "Wilderness and survival expert Hazen Audel takes treacherous paths in this documentary series. Using his knowledge and skills, Audel sets off on a journey via lesser traveled roads, where the terrain is unstable and the elements are often harsh and unpredictable. Stopping in local communities, Audel speaks to native residents to gather as much information about the area as possible. Following in the footsteps of the Embera tribe, the survival guide goes on a jungle trek through the Darien Gap. In other episodes, he navigates the Arctic Circle with 200 reindeer in tow and crosses crocodile-infested lakes."
}

"series": {
    "tmsId": "SH023291350000",
    "rootId": "12398218",
    "seriesId": "12398218",
    "subType": "Series",
    "title": "Primal Survivor",
    "titleLang": "en-GB",
    "releaseYear": 2016,
    "releaseDate": "2016-01-04",
    "origAirDate": "2016-01-21",
    "entityType": "Show",
    "descriptionLang": "en",
    "shortDescription": "Hazen pits his unique survival skills against the most extreme environments in the world.",
    "longDescription": "Wilderness and survival expert Hazen Audel takes treacherous paths in this documentary series. Using his knowledge and skills, Audel sets off on a journey via lesser traveled roads, where the terrain is unstable and the elements are often harsh and unpredictable. Stopping in local communities, Audel speaks to native residents to gather as much information about the area as possible. Following in the footsteps of the Embera tribe, the survival guide goes on a jungle trek through the Darien Gap. In other episodes, he navigates the Arctic Circle with 200 reindeer in tow and crosses crocodile-infested lakes.",
    "genres": ["Documentary", "Nature", "Travel"],
    "totalEpisodes": 44,
    "totalSeasons": "5",
    "keywords": null,
    "ratings": [{
            "body": "USA Parental Rating",
            "code": "TV14"
        }, {
            "body": "Canadian Parental Rating",
            "code": "14+"
        }, {
            "body": "Departamento de Justiça, Classificação, Títulos e Qualificação",
            "code": "14"
        }, {
            "body": "Dirección General de Radio, Televisión y Cinematografía",
            "code": "B"
        }, {
            "body": "Australian Classification Board",
            "code": "PG"
        }
    ],
    "recommendations": null,
    "preferredImage": {
        "uri": "https://tmsimg.fancybits.co/assets/p18932402_b_h9_aa.jpg?w=360\u0026h=270",
        "height": "270",
        "width": "360",
        "primary": "true",
        "category": "Banner-L1",
        "text": "yes",
        "tier": "Season"
    },
    "cast": [{
            "billingOrder": "01",
            "role": "Host",
            "nameId": "834436",
            "personId": "795840",
            "name": "Hazen Audel"
        }
    ]
}
Search query and response with HDHR source
Request: GET http: //192.168.1.4:8089/dvr/guide/airings/12398218
"group": {
    "ID": "12398218",
    "Image": "https://tmsimg.fancybits.co/assets/p12398218_b_h9_bm.jpg?w=360\u0026h=270",
    "Name": "Extreme Survival mit Hazen Audel",
    "Summary": "Wilderness and survival expert Hazen Audel takes treacherous paths in this documentary series. Using his knowledge and skills, Audel sets off on a journey via lesser traveled roads, where the terrain is unstable and the elements are often harsh and unpredictable. Stopping in local communities, Audel speaks to native residents to gather as much information about the area as possible. Following in the footsteps of the Embera tribe, the survival guide goes on a jungle trek through the Darien Gap. In other episodes, he navigates the Arctic Circle with 200 reindeer in tow and crosses crocodile-infested lakes."
}

"series": {
    "tmsId": "SH026426970000",
    "rootId": "12398218",
    "seriesId": "12398218",
    "subType": "Series",
    "title": "Extreme Survival mit Hazen Audel",
    "titleLang": "de",
    "releaseYear": 2016,
    "releaseDate": "2016-01-04",
    "origAirDate": "2016-01-21",
    "entityType": "Show",
    "descriptionLang": "en",
    "shortDescription": "Hazen pits his unique survival skills against the most extreme environments in the world.",
    "longDescription": "Wilderness and survival expert Hazen Audel takes treacherous paths in this documentary series. Using his knowledge and skills, Audel sets off on a journey via lesser traveled roads, where the terrain is unstable and the elements are often harsh and unpredictable. Stopping in local communities, Audel speaks to native residents to gather as much information about the area as possible. Following in the footsteps of the Embera tribe, the survival guide goes on a jungle trek through the Darien Gap. In other episodes, he navigates the Arctic Circle with 200 reindeer in tow and crosses crocodile-infested lakes.",
    "genres": ["Documentary", "Nature", "Travel"],
    "totalEpisodes": 30,
    "totalSeasons": "5",
    "keywords": null,
    "ratings": [{
            "body": "USA Parental Rating",
            "code": "TV14"
        }, {
            "body": "Canadian Parental Rating",
            "code": "14+"
        }, {
            "body": "Departamento de Justiça, Classificação, Títulos e Qualificação",
            "code": "14"
        }, {
            "body": "Dirección General de Radio, Televisión y Cinematografía",
            "code": "B"
        }, {
            "body": "Australian Classification Board",
            "code": "PG"
        }
    ],
    "recommendations": null,
    "preferredImage": {
        "uri": "https://tmsimg.fancybits.co/assets/p12398218_b_h9_bm.jpg?w=360\u0026h=270",
        "height": "270",
        "width": "360",
        "primary": "true",
        "category": "Banner-L2",
        "text": "yes",
        "tier": "Series"
    },
    "cast": [{
            "billingOrder": "01",
            "role": "Host",
            "nameId": "834436",
            "personId": "795840",
            "name": "Hazen Audel"
        }
    ]
}

What's the best way to clear that, remove and re-add my HDHR Prime source?

Delete the cache/tmsv2 folder in the DVR data directory

1 Like

:+1: