song cleanup (#511)
* refactor song background logic * move song video generation * move subtitle generation * build ASS subtitles * randomize song detail layout * update changelog
This commit is contained in:
@@ -46,6 +46,12 @@ namespace ErsatzTV.Core.Interfaces.FFmpeg
|
||||
Channel channel,
|
||||
Option<ChannelWatermark> globalWatermark,
|
||||
MediaVersion videoVersion,
|
||||
string videoPath);
|
||||
string videoPath,
|
||||
bool boxBlur,
|
||||
Option<int> randomColor,
|
||||
ChannelWatermarkLocation watermarkLocation,
|
||||
int horizontalMarginPercent,
|
||||
int verticalMarginPercent,
|
||||
int watermarkWidthPercent);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using ErsatzTV.Core.Domain;
|
||||
using LanguageExt;
|
||||
|
||||
namespace ErsatzTV.Core.Interfaces.FFmpeg
|
||||
{
|
||||
public interface ISongVideoGenerator
|
||||
{
|
||||
Task<Tuple<string, MediaVersion>> GenerateSongVideo(
|
||||
Song song,
|
||||
Channel channel,
|
||||
Option<ChannelWatermark> maybeGlobalWatermark,
|
||||
string ffmpegPath);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user