E4: dimostrazione e passi delle schermate che reggono a ogni ora

Quale video sia fermo dipende dall'ora: i passi lo cercano in tutta la libreria e dicono se manca. La dimostrazione
chiude la ricerca prima dell'archivio.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-12-01 18:57:59 +01:00
1 parent 2c0cfcccf2
commit 18d8b70638
6 files changed
+69 -33

No files matched your search

+6
View File
@@ -3,6 +3,7 @@ using Febe.Core.Engine;
using Febe.Core.Export;
using Febe.Core.Import;
using Febe.Core.Library;
using Febe.Core.Library.StillVideos;
using Febe.Core.Storage;
using Febe.Data;
using Febe.Web.Connection;
@@ -137,6 +138,11 @@ public sealed class DemoHost : IAsyncDisposable
try
{
await App.StopAsync().ConfigureAwait(false);
// «Cerca i video fermi» at work gives its video up and ends before the database closes, as in Febe itself.
var stills = App.Services.GetRequiredService<StillVideoService>();
stills.Dispose();
await stills.Job.ConfigureAwait(false);
}
finally
{
+10 -8
View File
@@ -10,17 +10,19 @@ using Febe.Data;
namespace Febe.Web.Demo;
/// <summary>
/// The still videos of the demo (spec §4.10 «Video fermi», tappa E4): two videos (the newest of @marta.demo and the
/// newest story video of another account, on another picture) become their cover picture alone for two seconds, each in
/// its own file recorded with its own SHA-256 (so «Salva il fotogramma» works both with «Scarica» and «Nella cartella delle copie»),
/// with a «Fermo» analysis that the real analyser gave on that file. Another video of @marta.demo has an «In movimento»
/// analysis (of the demo's moving file), a third «Non analizzabile» because it took too long («Analizza di nuovo»); the
/// rest is never analysed, so «È un video fermo?» and «Cerca i video fermi» work live. Analyses are only on request in
/// Febe: these rows stand for requests made in the days before. Every scene of the demo sees them.
/// The still videos of the demo (spec §4.10 «Video fermi», tappa E4): two videos (the newest of @marta.demo on a picture
/// no copy uses, and the newest such story video of another account, on another picture: which ones depends on the day and
/// the hour, they can be stories or months old) become their cover picture alone for two seconds, each in its own file
/// recorded with its own SHA-256 (so «Salva il fotogramma» works both with «Scarica» and «Nella cartella delle copie»),
/// with a «Fermo» analysis that the real analyser gave on that file. The next two videos of @marta.demo chosen the same way
/// have an «In movimento» analysis (of the demo's moving file) and a «Non analizzabile» because it took too long («Analizza
/// di nuovo»); other videos on the same pictures have the same outcome. The rest is never analysed, so «È un video fermo?»
/// and «Cerca i video fermi» work live. Analyses are only on request in Febe: these rows stand for requests made in the days
/// before. Every scene of the demo sees them.
/// </summary>
public static class DemoStillVideos
{
/// <summary>The account whose newest video is still (and whose next two are «In movimento» and «Non analizzabile»).</summary>
/// <summary>The account whose newest video on a picture without copies is still (the next two are «In movimento» and «Non analizzabile»).</summary>
public const string StillAccount = DemoExport.CopiedAccount;
/// <summary>The file name of the still video of position <paramref name="n"/> (1 or 2).</summary>