4 namespace Search
.Tiles
{
6 public class VideoActivator
: TileActivator
{
8 public VideoActivator () : base ()
10 AddSupportedFlavor (new HitFlavor (null, "File", "video/*"));
13 public override Tile
BuildTile (Beagle
.Hit hit
, Beagle
.Query query
)
15 return new Video (hit
, query
);
19 public class Video
: TileFile
{
21 public Video (Beagle
.Hit hit
, Beagle
.Query query
) : base (hit
, query
)
23 Group
= TileGroup
.Video
;
25 // FIXME: We need filters for video in Beagle.
26 // They should land soon when entagged-sharp gets video support.
27 Description
= Catalog
.GetString ("Unknown duration"); // FIXME: Duration from filters