
hugetv
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2015
07:14 PM
two AudioLanguageSelected
This code is corecto
mediaItem.AudioLanguageSelected = "eng esp"
mediaItem.AudioLanguageSelected = "eng esp"
Our system http://www.rokumanager.com
6 REPLIES 6

hugetv
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2015
07:15 PM
Re: two AudioLanguageSelected
help pliss
Our system http://www.rokumanager.com

RokuJoel
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2015
01:45 PM
Re: two AudioLanguageSelected
"An ISO-639 3-letter language code. If multiple language tracks are available in the content, this specifies the one that should be used."
https://www.loc.gov/standards/iso639-2/ ... e_list.php
so I would presume to select English you would have mediaItem.AudioLanguageSelected ="eng" for English and mediaItem.AudioLanguageSelected = "spa" for Spanish.
- Joel
https://www.loc.gov/standards/iso639-2/ ... e_list.php
so I would presume to select English you would have mediaItem.AudioLanguageSelected ="eng" for English and mediaItem.AudioLanguageSelected = "spa" for Spanish.
- Joel


Roku Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2015
06:46 PM
Re: two AudioLanguageSelected
"hugetv" wrote:
This code is corecto
mediaItem.AudioLanguageSelected = "eng esp"
Only one value can be specified, although it seems like an interesting feature request to be able to specify multiple as fallbacks.

hugetv
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2015
04:29 PM
Re: two AudioLanguageSelected
this corect
vid_to_play = {
Stream: { url: stream_url }
StreamFormat: episode.StreamFormat
Title: episode.title
SubtitleConfig: episode.SubtitleConfig
SwitchingStrategy: "full-adaptation"
Watched: "True"
Live: episode.Live
AudioLanguageSelected: "eng"
AudioLanguageSelected: "spa"
}
to use an example like the picture
vid_to_play = {
Stream: { url: stream_url }
StreamFormat: episode.StreamFormat
Title: episode.title
SubtitleConfig: episode.SubtitleConfig
SwitchingStrategy: "full-adaptation"
Watched: "True"
Live: episode.Live
AudioLanguageSelected: "eng"
AudioLanguageSelected: "spa"
}
to use an example like the picture

Our system http://www.rokumanager.com


Roku Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2015
11:18 AM
Re: two AudioLanguageSelected
"hugetv" wrote:
vid_to_play = {
Stream: { url: stream_url }
StreamFormat: episode.StreamFormat
Title: episode.title
SubtitleConfig: episode.SubtitleConfig
SwitchingStrategy: "full-adaptation"
Watched: "True"
Live: episode.Live
AudioLanguageSelected: "eng"
AudioLanguageSelected: "spa"
}
In this example, vid_to_play.AudioLanguageSelected is equal to "spa" after the object assignment.
That is, assigning a value to a key twice (or more) just results in the last assigned value being kept.
It doesn't make it a list of values, if that was the intent.

hugetv
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2015
03:48 PM
Re: two AudioLanguageSelected
this luck

Our system http://www.rokumanager.com