feat: carregamento automático da análise do Scanner ao abrir a aba
- carregamento automático da análise do Scanner ao abrir a aba Refinar - simplificada a aba Editar vídeo para exibir análises disponíveis sem carregamento manual - movida a visualização do tipo de vídeo para a guia Projeto com leitura do banco Resumo: - 10 arquivos alterados - 2 novos - 8 modificados - 0 removidos 8 files changed, 114 insertions(+), 11 deletions(-) Arquivos: - .jhonny/analises.db - code/cep-plugin/abas/projeto/projeto.js - code/cep-plugin/index.html - code/cep-plugin/main.js - code/engine/integracoes/audio/__init__.py - code/engine/integracoes/audio/modelos_de_analise_musical.py - code/engine/integracoes/audio/provider_de_analise_musical_essentia.py - code/engine/testes/test_analisador_de_musica_essentia.py - code/engine/consultar_edicao_concluida.py - code/engine/integracoes/audio/classificador_de_musica_essentia.py
This commit is contained in:
@@ -950,6 +950,7 @@ var ANALISE_PREVIEW_SCRIPT = "/Volumes/Merongo/SISTEMAS/GENIAL SISTEMAS/Jhonny/c
|
||||
var REGISTRAR_EDICAO_SCRIPT = "/Volumes/Merongo/SISTEMAS/GENIAL SISTEMAS/Jhonny/code/engine/registrar_edicao.py";
|
||||
var CARREGAR_PLANO_SCRIPT = "/Volumes/Merongo/SISTEMAS/GENIAL SISTEMAS/Jhonny/code/engine/carregar_plano_de_edicao.py";
|
||||
var REGISTRAR_PROJETO_SCRIPT = "/Volumes/Merongo/SISTEMAS/GENIAL SISTEMAS/Jhonny/code/engine/registrar_projeto_de_edicao.py";
|
||||
var CONSULTAR_EDICAO_SCRIPT = "/Volumes/Merongo/SISTEMAS/GENIAL SISTEMAS/Jhonny/code/engine/consultar_edicao_concluida.py";
|
||||
var planoEditorialIdCarregado = null;
|
||||
var retakesCasoAtual = null;
|
||||
var retakesGrupos = [];
|
||||
@@ -2415,10 +2416,16 @@ function silenceLoadScannerAnalysis() {
|
||||
|
||||
function refinarAoAbrir() {
|
||||
var info = document.getElementById("refinarInfo");
|
||||
if (!info || !silenceState.sequenceId) return;
|
||||
if (!info) return;
|
||||
if (!silenceState.sequenceId || !silenceState.transcriptPath) {
|
||||
silenceLoadScannerAnalysis();
|
||||
return;
|
||||
}
|
||||
info.textContent = silenceState.sequenceName + " · " + (silenceState.speakers.length
|
||||
? silenceState.speakers.length + " falante(s) carregado(s)."
|
||||
: "Nenhum falante carregado.");
|
||||
var botao = document.getElementById("btnRefinarLoad");
|
||||
if (botao) botao.textContent = "Recarregar análise do Scanner";
|
||||
}
|
||||
|
||||
function refinarCarregarAnalise() {
|
||||
|
||||
Reference in New Issue
Block a user