diff --git a/i18n/en/Editor.resx b/i18n/en/Editor.resx index 4e0abcf9..ddf0e3d0 100644 --- a/i18n/en/Editor.resx +++ b/i18n/en/Editor.resx @@ -45,11 +45,16 @@ target curve Waveform luma of frame {0} + Project restored + Nothing to restore + Undo Pick a sequence in the Library This sequence is no longer in the archive.long Jobs cannot run until the archive index is open.long The settings of this sequence cannot be read.long + Your account cannot change the sequences of this server.long The settings of this sequence were changed elsewhere at the same time.long + The saved settings {0} cannot be read.long about {0} Add to queue Batch… @@ -79,12 +84,15 @@ Recommended Render now Resolution + Restore · {0} + Restore copy Result show file Save to Sequence exports/ Estimated size software + Sync Estimated time No encoder here Width @@ -174,6 +182,7 @@ Render · {0} Render finished Render queued + Render queued on {0} Show in folder Render Reset @@ -181,6 +190,7 @@ Changes not saved Retry Sections + {0} left f/{0}invariant {0} mminvariant ISO {0}invariant diff --git a/i18n/en/Tooltips.resx b/i18n/en/Tooltips.resx index 2601110d..c08e14dc 100644 --- a/i18n/en/Tooltips.resx +++ b/i18n/en/Tooltips.resx @@ -114,6 +114,7 @@ Click or drag to show that frame Luma waveform of the frame on screen: exposure and clipping at a glance Luma of the corrected frame across the picture: white at the top, black at the bottom + Bring back the project as it was before the restore · Ctrl+Z Add this render to the queue and keep editing Apply this sequence preset to every section · {0} Queue every ticked preset as one job; the sequence is prepared once @@ -124,6 +125,7 @@ MP4, AVI, GIF, APNG or a folder of images; the codec list follows Encoder on this PC; Auto prefers hardware Where renders go: {0} + Renders of a server sequence go to its exports folder on the server Frames per second of the video file Auto: the preset’s {0} fps Return to the preset’s frame rate @@ -134,7 +136,14 @@ Render with {0}; editing a value makes it Custom Image quality; 95 looks lossless, lower makes smaller files Advisor pick: {0} + Make this PC’s settings kept on {0} the project; Ctrl+Z undoes it + Choose another copy of this PC’s settings, kept when a sync conflict was settled Enter a size between 16 and 16384 pixels + After each render on this PC, also send the file to the server; large files take time + Your account cannot send files to the server + The server does not have this sequence: upload it from the Server screen first + Renders of a server sequence are made on the server and stay there + Connect to the server first to send renders to it Output width in pixels; empty uses the preset or the source · Enter applies, Esc reverts Removes frame-to-frame brightness flicker; off keeps the camera’s own exposure Turns ISO, shutter and aperture steps into smooth ramps; off keeps the jumps @@ -148,7 +157,7 @@ Click or drag to show a frame; markers show exposure steps, warnings and keyframes Leave this frame out of every render; the photo is not deleted Show the first frame concerned - Make this the hero frame; the editor opens on it + Use the frame as the sequence thumbnail Use this frame in renders again Sort by this column; click again to reverse Click a row to show the frame @@ -183,6 +192,7 @@ Show or hide the shot data Overlay the motion to the next frame measured by the engine Drag the line to compare · drag to pan · wheel zooms · double-click 1:1 + Edited with proxies on this PC; changes are saved on {0} and analyses and renders run there Render with the selected preset; progress in the job bar · Ctrl+R Fix the file name first: {0} Every frame is excluded: include some in the Frames tab @@ -192,6 +202,7 @@ Choose another preset Return every control of this section to Auto · Ctrl+Z undoes Try to save now; saving is also retried automatically + {0} running on {1} Frames combined into each output frame; trails and smoothing grow with it Median and mean remove noise and moving things; star trails keep the brightest pixels Crop, aspect, virtual camera moves diff --git a/i18n/it/Editor.it.resx b/i18n/it/Editor.it.resx index 2d7f8f68..27e657ee 100644 --- a/i18n/it/Editor.it.resx +++ b/i18n/it/Editor.it.resx @@ -44,11 +44,16 @@ curva obiettivo Forma d’onda luma del fotogramma {0} + Progetto ripristinato + Niente da ripristinare + Annulla Scegli una sequenza in Libreria Questa sequenza non è più nell’archivio. I lavori non possono partire finché l’indice dell’archivio non è aperto. Le impostazioni di questa sequenza non sono leggibili. + Il tuo account non può modificare le sequenze di questo server. Le impostazioni di questa sequenza sono state modificate altrove nello stesso momento. + Le impostazioni salvate {0} non si possono leggere. circa {0} Metti in coda In serie… @@ -74,12 +79,15 @@ Consigliato Renderizza ora Risoluzione + Ripristina · {0} + Ripristina copia Risultato mostra file Salva in exports/ della sequenza Dimensione stimata software + Sincronizza Tempo stimato Nessun encoder qui Larghezza @@ -164,6 +172,7 @@ Renderizza · {0} Render completato Render in coda + Render in coda su {0} Mostra nella cartella Renderizza Ripristina @@ -171,6 +180,7 @@ Modifiche non salvate Riprova Sezioni + mancano {0} Lunghezza Media Mediana diff --git a/i18n/it/Tooltips.it.resx b/i18n/it/Tooltips.it.resx index 2d899232..c197722d 100644 --- a/i18n/it/Tooltips.it.resx +++ b/i18n/it/Tooltips.it.resx @@ -114,6 +114,7 @@ Clic o trascina per mostrare quel fotogramma Forma d’onda della luma del fotogramma a schermo: esposizione e clipping a colpo d’occhio Luma del fotogramma corretto lungo l’immagine: bianco in alto, nero in basso + Riporta il progetto com’era prima del ripristino · Ctrl+Z Mette in coda questo render; puoi continuare a modificare Applica questo preset di sequenza a tutte le sezioni · {0} Mette in coda i preset spuntati come un unico lavoro; la sequenza si prepara una volta @@ -124,6 +125,7 @@ MP4, AVI, GIF, APNG o una cartella di immagini; l’elenco dei codec si adegua Encoder di questo PC; Auto preferisce l’hardware Dove vanno i render: {0} + I render di una sequenza del server vanno nella sua cartella exports sul server Fotogrammi al secondo del file video Auto: i {0} fps del preset Torna ai fotogrammi al secondo del preset @@ -134,7 +136,14 @@ Renderizza con {0}; modificare un valore lo rende Personalizzato Qualità dell’immagine; 95 sembra senza perdite, meno fa file più piccoli Scelta del consulente: {0} + Rende progetto le impostazioni di questo PC conservate il {0}; Ctrl+Z annulla + Scegli un’altra copia delle impostazioni di questo PC, conservata quando un conflitto di sincronizzazione è stato risolto Inserisci una dimensione tra 16 e 16384 pixel + Dopo ogni render su questo PC invia il file anche al server; i file grandi richiedono tempo + Il tuo account non può inviare file al server + Il server non ha questa sequenza: caricala prima dalla schermata Server + I render di una sequenza del server si fanno sul server e restano lì + Connettiti prima al server per inviargli i render Larghezza in pixel; vuoto usa il preset o la sorgente · Invio applica, Esc annulla Elimina lo sfarfallio di luminosità tra fotogrammi; spento lascia l’esposizione della fotocamera Trasforma i salti di ISO, tempo e diaframma in rampe morbide; spento li lascia @@ -148,7 +157,7 @@ Clic o trascina per mostrare un fotogramma; i segni indicano salti di esposizione, avvisi e fotogrammi chiave Lascia fuori questo fotogramma da ogni render; la foto non viene eliminata Mostra il primo fotogramma interessato - Rende questo fotogramma la copertina; l’editor si apre qui + Usa il fotogramma come copertina della sequenza Usa di nuovo questo fotogramma nei render Ordina per questa colonna; un altro clic inverte Fai clic su una riga per mostrare il fotogramma @@ -183,6 +192,7 @@ Mostra o nasconde i dati di scatto Sovrappone il movimento verso il fotogramma successivo misurato dal motore Trascina la linea per confrontare · trascina per spostare · la rotellina ingrandisce · doppio clic 1:1 + Modificata con i proxy su questo PC; le modifiche si salvano su {0} e analisi e render vengono eseguiti lì Renderizza con il preset scelto; avanzamento nella barra dei lavori · Ctrl+R Correggi prima il nome del file: {0} Tutti i fotogrammi sono esclusi: includine alcuni nella scheda Fotogrammi @@ -192,6 +202,7 @@ Scegli un altro preset Riporta in Auto ogni controllo di questa sezione · Ctrl+Z annulla Prova a salvare ora; il salvataggio viene anche ritentato da solo + {0} in corso su {1} Fotogrammi combinati in ogni fotogramma d’uscita; scie e levigatura crescono con esso Mediana e media tolgono rumore e ciò che si muove; le scie stellari tengono i pixel più luminosi Ritaglio, formato, movimenti della camera virtuale diff --git a/src/Titano.App/DesignTime/SampleData.cs b/src/Titano.App/DesignTime/SampleData.cs index 49ff67d8..9adecab5 100644 --- a/src/Titano.App/DesignTime/SampleData.cs +++ b/src/Titano.App/DesignTime/SampleData.cs @@ -48,6 +48,9 @@ public sealed class SampleData private SampleData(AppServices services) => _services = services; + /// The server-only sequence whose proxies keeps on this PC (Sunrise over Superga). + public Guid ProxiedSequenceId => _sunrise; + /// Points the services at fakes (server, encoders, update check) for an empty first-run state. public static SampleData Configure(AppServices services) { @@ -61,6 +64,7 @@ public sealed class SampleData services.Devices = new SampleDeviceMonitor(); var sample = new SampleData(services); services.Sync.RemoteFactory = (_, _, _) => sample._remote; + services.Sync.EditorFactory = (_, _, _) => sample._remote; return sample; } @@ -617,13 +621,15 @@ public sealed class SampleData } /// - /// The sample server's sequences for the sync table: listings, manifests (frames hashed from their index, so - /// unhashed sample frames match them by count; renders as many as the listing says), settings edits and proxies - /// (generated JPEGs); uploads and originals are not part of the screenshots. + /// The sample server's sequences for the sync table and the editor of a server sequence: listings, manifests + /// (frames hashed from their index, so unhashed sample frames match them by count; renders as many as the listing + /// says), settings edits, proxies (generated JPEGs) and jobs the editor posts (kept queued); uploads, originals and + /// analysis reports are not part of the screenshots. /// - private sealed class SampleSyncRemote : ISyncRemote + private sealed class SampleSyncRemote : ISyncRemote, IRemoteSequenceApi { private readonly Dictionary _sequences = []; + private readonly Dictionary _jobs = []; public string Server => ServerAddress; @@ -707,6 +713,26 @@ public sealed class SampleData yield break; } + public Task GetAnalysisReportAsync(Guid id, CancellationToken cancellationToken) => Task.FromResult(null); + + public Task CreateJobAsync(CreateJobRequest request, CancellationToken cancellationToken) + { + var job = new JobDto(Guid.CreateVersion7(), request.Kind, request.Target, null, "queued", "user", 0, 0, null, null, null, null, 0, null, + DateTimeOffset.UtcNow, null, null); + lock (_jobs) _jobs[job.Id] = job; + return Task.FromResult(job); + } + + public Task GetJobAsync(Guid id, CancellationToken cancellationToken) + { + lock (_jobs) return Task.FromResult(_jobs[id]); + } + + public Task> ListActiveJobsAsync(CancellationToken cancellationToken) + { + lock (_jobs) return Task.FromResult>([.. _jobs.Values]); + } + public void Dispose() { } diff --git a/src/Titano.App/Editor/EditorPanels.xaml b/src/Titano.App/Editor/EditorPanels.xaml index 0ce71b18..1f0825f5 100644 --- a/src/Titano.App/Editor/EditorPanels.xaml +++ b/src/Titano.App/Editor/EditorPanels.xaml @@ -1,6 +1,7 @@ @@ -288,10 +289,15 @@