2020-06-11 13:13:19 +00:00
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
2022-06-17 07:37:17 +00:00
|
|
|
#nullable disable
|
|
|
|
|
2020-06-11 13:13:19 +00:00
|
|
|
using osu.Framework.IO.Stores;
|
|
|
|
using osu.Framework.Platform;
|
|
|
|
|
|
|
|
namespace osu.Game.Tournament.IO
|
|
|
|
{
|
2020-06-23 22:06:27 +00:00
|
|
|
public class TournamentVideoResourceStore : NamespacedResourceStore<byte[]>
|
2020-06-11 13:13:19 +00:00
|
|
|
{
|
|
|
|
public TournamentVideoResourceStore(Storage storage)
|
2021-11-28 15:14:12 +00:00
|
|
|
: base(new StorageBackedResourceStore(storage), "Videos")
|
2020-06-11 13:13:19 +00:00
|
|
|
{
|
|
|
|
AddExtension("m4v");
|
|
|
|
AddExtension("avi");
|
|
|
|
AddExtension("mp4");
|
|
|
|
}
|
|
|
|
}
|
2020-06-11 13:52:14 +00:00
|
|
|
}
|