roadie/RoadieLibrary/Configuration/Converting.cs

26 lines
766 B
C#
Raw Normal View History

2018-11-02 16:04:49 -05:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2018-11-03 16:21:36 -05:00
namespace Roadie.Library.Setttings
2018-11-02 16:04:49 -05:00
{
[Serializable]
public class Converting
{
public bool DoDeleteAfter { get; set; }
public string M4AConvertCommand { get; set; }
public string OGGConvertCommand { get; set; }
public string APEConvertCommand { get; set; }
public Converting()
{
this.DoDeleteAfter = true;
this.M4AConvertCommand = "ffmpeg -i \"{0}\" -acodec libmp3lame -q:a 0 \"{1}\"";
this.OGGConvertCommand = "ffmpeg -i \"{0}\" -acodec libmp3lame -q:a 0 \"{1}\"";
this.APEConvertCommand = "ffmpeg -i \"{0}\" \"{1}\"";
}
}
}