Merge branch 'master' into static-analyzer-issues

This commit is contained in:
Neil Burrows 2021-02-21 17:15:41 +00:00 committed by GitHub
commit 9143f09c6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 1732 additions and 126 deletions

13
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,13 @@
name: build
on: [push, pull_request]
jobs:
ci:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: "14.12.0"
- run: npm ci
- run: npm run validate

10
bsconfig.json Normal file
View File

@ -0,0 +1,10 @@
{
"files": [
"manifest",
"source/**/*.*",
"components/**/*.*",
"images/**/*.*",
"resources/**/*.*",
"locale/**/*.*"
]
}

View File

@ -10,7 +10,6 @@
<field id="overview" type="string" />
<field id="type" type="string" value="Episode" />
<field id="json" type="assocarray" onChange="setFields" />
<function name="loadSeasons" />
</interface>
<script type="text/brightscript" uri="TVEpisodeData.brs" />
</component>

View File

@ -7,7 +7,6 @@
<field id="posterURL" type="string" />
<field id="overview" type="string" />
<field id="json" type="assocarray" onChange="setFields" />
<function name="getPoster" />
</interface>
<script type="text/brightscript" uri="TVSeasonData.brs" />
</component>

View File

@ -385,5 +385,202 @@
<source>Change Server</source>
<translation>Mudar Servidor</translation>
</message>
<message>
<source>TV Guide</source>
<translation>Guia de TV</translation>
<extracomment>Menu option for showing Live TV Guide / Schedule</extracomment>
</message>
<message>
<source>Channels</source>
<translation>Canais</translation>
<extracomment>Menu option for showing Live TV Channel List</extracomment>
</message>
<message>
<source>Repeat</source>
<translation>Repetir</translation>
<extracomment>If TV Shows has previously been broadcasted</extracomment>
</message>
<message>
<source>Live</source>
<translation>Ao Vivo</translation>
<extracomment>If TV Show is being broadcast live (not pre-recorded)</extracomment>
</message>
<message>
<source>Ends at</source>
<translation>Termina</translation>
<extracomment>(Past Tense) For defining a day and time when a program ended (e.g. Ended Wednesday, 08:00) </extracomment>
</message>
<message>
<source>Ended at</source>
<translation>Termina às</translation>
<extracomment>(Past Tense) For defining time when a program will ended (e.g. Ended at 08:00) </extracomment>
</message>
<message>
<source>Starts</source>
<translation>Começa</translation>
<extracomment>(Future Tense) For defining a day and time when a program will start (e.g. Starts Wednesday, 08:00) </extracomment>
</message>
<message>
<source>Starts at</source>
<translation>Começa às</translation>
<extracomment>(Future Tense) For defining time when a program will start today (e.g. Starts at 08:00) </extracomment>
</message>
<message>
<source>Started</source>
<translation>Começou</translation>
<extracomment>(Past Tense) For defining a day and time when a program started (e.g. Started Wednesday, 08:00) </extracomment>
</message>
<message>
<source>Started at</source>
<translation>Começou às</translation>
<extracomment>(Past Tense) For defining time when a program started today (e.g. Started at 08:00) </extracomment>
</message>
<message>
<source>Saturday</source>
<translation>Sábado</translation>
<extracomment>Day of Week</extracomment>
</message>
<message>
<source>Friday</source>
<translation>Sexta feira</translation>
<extracomment>Day of Week</extracomment>
</message>
<message>
<source>Thursday</source>
<translation>Quinta feira</translation>
<extracomment>Day of Week</extracomment>
</message>
<message>
<source>Wednesday</source>
<translation>Quarta feira</translation>
<extracomment>Day of Week</extracomment>
</message>
<message>
<source>Tuesday</source>
<translation>Terça feira</translation>
<extracomment>Day of Week</extracomment>
</message>
<message>
<source>Monday</source>
<translation>Segunda feira</translation>
<extracomment>Day of Week</extracomment>
</message>
<message>
<source>Sunday</source>
<translation>Domingo</translation>
<extracomment>Day of Week</extracomment>
</message>
<message>
<source>tomorrow</source>
<translation>amanhã</translation>
<extracomment>Next day</extracomment>
</message>
<message>
<source>yesterday</source>
<translation>ontem</translation>
<extracomment>Previous day</extracomment>
</message>
<message>
<source>today</source>
<translation>hoje</translation>
<extracomment>Current day</extracomment>
</message>
<message>
<comment>Title of Tab for options to filter library content</comment>
<source>TAB_FILTER</source>
<translation>Filtro</translation>
</message>
<message>
<comment>Title of Tab for options to sort library content</comment>
<source>TAB_SORT</source>
<translation>Ordenar</translation>
</message>
<message>
<comment>Title of Tab for switching &quot;views&quot; when looking at a library</comment>
<source>TAB_VIEW</source>
<translation>Visualização</translation>
</message>
<message>
<source>RUNTIME</source>
<translation>Tempo de Execução</translation>
</message>
<message>
<source>RELEASE_DATE</source>
<translation>Data de Lançamento</translation>
</message>
<message>
<source>PLAY_COUNT</source>
<translation>Número de Execução</translation>
</message>
<message>
<source>OFFICIAL_RATING</source>
<translation>Avaliação Parental</translation>
</message>
<message>
<source>DATE_PLAYED</source>
<translation>Data da Execução</translation>
</message>
<message>
<source>DATE_ADDED</source>
<translation>Data da Adição</translation>
</message>
<message>
<source>CRITIC_RATING</source>
<translation>Avaliação da crítica</translation>
</message>
<message>
<source>IMDB_RATING</source>
<translation>Classificação IMDb</translation>
</message>
<message>
<comment>Name or Title field of media item</comment>
<source>TITLE</source>
<translation>Nome</translation>
</message>
<message>
<comment>Message displayed in Item Grid when no item to display. %1 is container type (e.g. Boxset, Collection, Folder, etc)</comment>
<source>NO_ITEMS</source>
<translation>Este %1 não contém itens</translation>
</message>
<message>
<source>Unable to load Channel Data from the server</source>
<translation>Incapaz de carregar os dados do canal do servidor</translation>
</message>
<message>
<source>Error loading Channel Data</source>
<translation>Erro ao carregar dados do canal</translation>
</message>
<message>
<source>Loading Channel Data</source>
<translation>Carregando dados do canal</translation>
</message>
<message>
<source>An error was encountered while playing this item.</source>
<translation>Foi encontrado um erro ao reproduzir este item.</translation>
<extracomment>Dialog detail when error occurs during playback</extracomment>
</message>
<message>
<source>There was an error retrieving the data for this item from the server.</source>
<translation>Ocorreu um erro ao recuperar os dados para este item do servidor.</translation>
<extracomment>Dialog detail when unable to load Content from Server</extracomment>
</message>
<message>
<source>Error During Playback</source>
<translation>Erro durante a reprodução</translation>
<extracomment>Dialog title when error occurs during playback</extracomment>
</message>
<message>
<source>Error Retrieving Content</source>
<translation>Erro ao recuperar conteúdo</translation>
<extracomment>Dialog title when unable to load Content from Server</extracomment>
</message>
<message>
<source>Sign Out</source>
<translation>Sair</translation>
</message>
<message>
<source>Change Server</source>
<translation>Mudar Servidor</translation>
</message>
</context>
</TS>

1626
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -6,11 +6,12 @@
"directories": {
"test": "tests"
},
"dependencies": {
"devDependencies": {
"brighterscript": "^0.30.1",
"rooibos-cli": "^1.0.1"
},
"devDependencies": {},
"scripts": {
"validate": "npx bsc --copy-to-staging=false --create-package=false",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
@ -27,4 +28,4 @@
"url": "https://github.com/jellyfin/jellyfin-roku/issues"
},
"homepage": "https://github.com/jellyfin/jellyfin-roku#readme"
}
}

View File

@ -1,6 +1,7 @@
sub Main()
' If the Rooibos files are included in deployment, run tests
'bs:disable-next-line
if (type(Rooibos__Init) = "Function") then Rooibos__Init()
' The main function that runs when the application is launched.
@ -617,4 +618,4 @@ sub SendPerformanceBeacon(signalName as string)
if m.global.app_loaded = false then
m.scene.signalBeacon(signalName)
end if
end sub
end sub