* use js instead of lua * update dependencies * add audio stream selector script for episodes * add audio stream selector script for movies * update changelog
19 lines
444 B
JavaScript
19 lines
444 B
JavaScript
// copy this file to movie.js (no underscore) and modify
|
|
|
|
function selectMovieAudioStreamIndex(
|
|
channelNumber,
|
|
channelName,
|
|
title,
|
|
guids,
|
|
preferredLanguageCodes,
|
|
audioStreams
|
|
) {
|
|
// check for a particular movie using something like
|
|
// if (guids.includes("tvdb_12345")) { ... }
|
|
|
|
// write debug messages to etv's log using
|
|
// log("message");
|
|
|
|
// return null to use built-in logic
|
|
return null;
|
|
} |