commit
0bea5725d3
|
@ -989,8 +989,6 @@ namespace MediaBrowser.Api.Playback
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
arg += string.Format(" -ss {0}", MediaEncoder.GetTimeParameter(TimeSpan.FromSeconds(1).Ticks));
|
|
||||||
|
|
||||||
return arg.Trim();
|
return arg.Trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -77,6 +77,15 @@ namespace MediaBrowser.Dlna.Profiles
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
SubtitleProfiles = new[]
|
||||||
|
{
|
||||||
|
new SubtitleProfile
|
||||||
|
{
|
||||||
|
Format = "srt",
|
||||||
|
Method = SubtitleDeliveryMethod.Embed
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
ResponseProfiles = new[]
|
ResponseProfiles = new[]
|
||||||
{
|
{
|
||||||
new ResponseProfile
|
new ResponseProfile
|
||||||
|
|
|
@ -192,6 +192,11 @@ namespace MediaBrowser.Dlna.Profiles
|
||||||
|
|
||||||
SubtitleProfiles = new[]
|
SubtitleProfiles = new[]
|
||||||
{
|
{
|
||||||
|
new SubtitleProfile
|
||||||
|
{
|
||||||
|
Format = "srt",
|
||||||
|
Method = SubtitleDeliveryMethod.Embed
|
||||||
|
},
|
||||||
new SubtitleProfile
|
new SubtitleProfile
|
||||||
{
|
{
|
||||||
Format = "srt",
|
Format = "srt",
|
||||||
|
|
|
@ -188,6 +188,11 @@ namespace MediaBrowser.Dlna.Profiles
|
||||||
|
|
||||||
SubtitleProfiles = new[]
|
SubtitleProfiles = new[]
|
||||||
{
|
{
|
||||||
|
new SubtitleProfile
|
||||||
|
{
|
||||||
|
Format = "srt",
|
||||||
|
Method = SubtitleDeliveryMethod.Embed
|
||||||
|
},
|
||||||
new SubtitleProfile
|
new SubtitleProfile
|
||||||
{
|
{
|
||||||
Format = "srt",
|
Format = "srt",
|
||||||
|
|
|
@ -340,6 +340,11 @@ namespace MediaBrowser.Dlna.Profiles
|
||||||
|
|
||||||
SubtitleProfiles = new[]
|
SubtitleProfiles = new[]
|
||||||
{
|
{
|
||||||
|
new SubtitleProfile
|
||||||
|
{
|
||||||
|
Format = "srt",
|
||||||
|
Method = SubtitleDeliveryMethod.Embed
|
||||||
|
},
|
||||||
new SubtitleProfile
|
new SubtitleProfile
|
||||||
{
|
{
|
||||||
Format = "srt",
|
Format = "srt",
|
||||||
|
|
|
@ -44,5 +44,7 @@
|
||||||
<Conditions />
|
<Conditions />
|
||||||
</ResponseProfile>
|
</ResponseProfile>
|
||||||
</ResponseProfiles>
|
</ResponseProfiles>
|
||||||
<SubtitleProfiles />
|
<SubtitleProfiles>
|
||||||
|
<SubtitleProfile format="srt" method="Embed" />
|
||||||
|
</SubtitleProfiles>
|
||||||
</Profile>
|
</Profile>
|
|
@ -44,5 +44,7 @@
|
||||||
<ContainerProfiles />
|
<ContainerProfiles />
|
||||||
<CodecProfiles />
|
<CodecProfiles />
|
||||||
<ResponseProfiles />
|
<ResponseProfiles />
|
||||||
<SubtitleProfiles />
|
<SubtitleProfiles>
|
||||||
|
<SubtitleProfile format="srt" method="Embed" />
|
||||||
|
</SubtitleProfiles>
|
||||||
</Profile>
|
</Profile>
|
|
@ -61,5 +61,7 @@
|
||||||
</CodecProfile>
|
</CodecProfile>
|
||||||
</CodecProfiles>
|
</CodecProfiles>
|
||||||
<ResponseProfiles />
|
<ResponseProfiles />
|
||||||
<SubtitleProfiles />
|
<SubtitleProfiles>
|
||||||
|
<SubtitleProfile format="srt" method="Embed" />
|
||||||
|
</SubtitleProfiles>
|
||||||
</Profile>
|
</Profile>
|
|
@ -86,5 +86,7 @@
|
||||||
<Conditions />
|
<Conditions />
|
||||||
</ResponseProfile>
|
</ResponseProfile>
|
||||||
</ResponseProfiles>
|
</ResponseProfiles>
|
||||||
<SubtitleProfiles />
|
<SubtitleProfiles>
|
||||||
|
<SubtitleProfile format="srt" method="Embed" />
|
||||||
|
</SubtitleProfiles>
|
||||||
</Profile>
|
</Profile>
|
|
@ -81,6 +81,7 @@
|
||||||
</CodecProfiles>
|
</CodecProfiles>
|
||||||
<ResponseProfiles />
|
<ResponseProfiles />
|
||||||
<SubtitleProfiles>
|
<SubtitleProfiles>
|
||||||
|
<SubtitleProfile format="srt" method="Embed" />
|
||||||
<SubtitleProfile format="srt" method="External" />
|
<SubtitleProfile format="srt" method="External" />
|
||||||
</SubtitleProfiles>
|
</SubtitleProfiles>
|
||||||
</Profile>
|
</Profile>
|
|
@ -44,5 +44,7 @@
|
||||||
<ContainerProfiles />
|
<ContainerProfiles />
|
||||||
<CodecProfiles />
|
<CodecProfiles />
|
||||||
<ResponseProfiles />
|
<ResponseProfiles />
|
||||||
<SubtitleProfiles />
|
<SubtitleProfiles>
|
||||||
|
<SubtitleProfile format="srt" method="Embed" />
|
||||||
|
</SubtitleProfiles>
|
||||||
</Profile>
|
</Profile>
|
|
@ -50,5 +50,7 @@
|
||||||
<ContainerProfiles />
|
<ContainerProfiles />
|
||||||
<CodecProfiles />
|
<CodecProfiles />
|
||||||
<ResponseProfiles />
|
<ResponseProfiles />
|
||||||
<SubtitleProfiles />
|
<SubtitleProfiles>
|
||||||
|
<SubtitleProfile format="srt" method="Embed" />
|
||||||
|
</SubtitleProfiles>
|
||||||
</Profile>
|
</Profile>
|
|
@ -78,6 +78,7 @@
|
||||||
</ResponseProfile>
|
</ResponseProfile>
|
||||||
</ResponseProfiles>
|
</ResponseProfiles>
|
||||||
<SubtitleProfiles>
|
<SubtitleProfiles>
|
||||||
|
<SubtitleProfile format="srt" method="Embed" />
|
||||||
<SubtitleProfile format="srt" method="External" />
|
<SubtitleProfile format="srt" method="External" />
|
||||||
</SubtitleProfiles>
|
</SubtitleProfiles>
|
||||||
</Profile>
|
</Profile>
|
|
@ -82,5 +82,7 @@
|
||||||
</CodecProfile>
|
</CodecProfile>
|
||||||
</CodecProfiles>
|
</CodecProfiles>
|
||||||
<ResponseProfiles />
|
<ResponseProfiles />
|
||||||
<SubtitleProfiles />
|
<SubtitleProfiles>
|
||||||
|
<SubtitleProfile format="srt" method="Embed" />
|
||||||
|
</SubtitleProfiles>
|
||||||
</Profile>
|
</Profile>
|
|
@ -119,6 +119,7 @@
|
||||||
</ResponseProfile>
|
</ResponseProfile>
|
||||||
</ResponseProfiles>
|
</ResponseProfiles>
|
||||||
<SubtitleProfiles>
|
<SubtitleProfiles>
|
||||||
|
<SubtitleProfile format="srt" method="Embed" />
|
||||||
<SubtitleProfile format="srt" method="External" didlMode="CaptionInfoEx" />
|
<SubtitleProfile format="srt" method="External" didlMode="CaptionInfoEx" />
|
||||||
</SubtitleProfiles>
|
</SubtitleProfiles>
|
||||||
</Profile>
|
</Profile>
|
|
@ -106,5 +106,7 @@
|
||||||
<Conditions />
|
<Conditions />
|
||||||
</ResponseProfile>
|
</ResponseProfile>
|
||||||
</ResponseProfiles>
|
</ResponseProfiles>
|
||||||
<SubtitleProfiles />
|
<SubtitleProfiles>
|
||||||
|
<SubtitleProfile format="srt" method="Embed" />
|
||||||
|
</SubtitleProfiles>
|
||||||
</Profile>
|
</Profile>
|
|
@ -127,5 +127,7 @@
|
||||||
<Conditions />
|
<Conditions />
|
||||||
</ResponseProfile>
|
</ResponseProfile>
|
||||||
</ResponseProfiles>
|
</ResponseProfiles>
|
||||||
<SubtitleProfiles />
|
<SubtitleProfiles>
|
||||||
|
<SubtitleProfile format="srt" method="Embed" />
|
||||||
|
</SubtitleProfiles>
|
||||||
</Profile>
|
</Profile>
|
|
@ -130,5 +130,7 @@
|
||||||
<Conditions />
|
<Conditions />
|
||||||
</ResponseProfile>
|
</ResponseProfile>
|
||||||
</ResponseProfiles>
|
</ResponseProfiles>
|
||||||
<SubtitleProfiles />
|
<SubtitleProfiles>
|
||||||
|
<SubtitleProfile format="srt" method="Embed" />
|
||||||
|
</SubtitleProfiles>
|
||||||
</Profile>
|
</Profile>
|
|
@ -106,5 +106,7 @@
|
||||||
<Conditions />
|
<Conditions />
|
||||||
</ResponseProfile>
|
</ResponseProfile>
|
||||||
</ResponseProfiles>
|
</ResponseProfiles>
|
||||||
<SubtitleProfiles />
|
<SubtitleProfiles>
|
||||||
|
<SubtitleProfile format="srt" method="Embed" />
|
||||||
|
</SubtitleProfiles>
|
||||||
</Profile>
|
</Profile>
|
|
@ -105,5 +105,7 @@
|
||||||
<Conditions />
|
<Conditions />
|
||||||
</ResponseProfile>
|
</ResponseProfile>
|
||||||
</ResponseProfiles>
|
</ResponseProfiles>
|
||||||
<SubtitleProfiles />
|
<SubtitleProfiles>
|
||||||
|
<SubtitleProfile format="srt" method="Embed" />
|
||||||
|
</SubtitleProfiles>
|
||||||
</Profile>
|
</Profile>
|
|
@ -105,5 +105,7 @@
|
||||||
<Conditions />
|
<Conditions />
|
||||||
</ResponseProfile>
|
</ResponseProfile>
|
||||||
</ResponseProfiles>
|
</ResponseProfiles>
|
||||||
<SubtitleProfiles />
|
<SubtitleProfiles>
|
||||||
|
<SubtitleProfile format="srt" method="Embed" />
|
||||||
|
</SubtitleProfiles>
|
||||||
</Profile>
|
</Profile>
|
|
@ -99,5 +99,7 @@
|
||||||
<Conditions />
|
<Conditions />
|
||||||
</ResponseProfile>
|
</ResponseProfile>
|
||||||
</ResponseProfiles>
|
</ResponseProfiles>
|
||||||
<SubtitleProfiles />
|
<SubtitleProfiles>
|
||||||
|
<SubtitleProfile format="srt" method="Embed" />
|
||||||
|
</SubtitleProfiles>
|
||||||
</Profile>
|
</Profile>
|
|
@ -99,5 +99,7 @@
|
||||||
<Conditions />
|
<Conditions />
|
||||||
</ResponseProfile>
|
</ResponseProfile>
|
||||||
</ResponseProfiles>
|
</ResponseProfiles>
|
||||||
<SubtitleProfiles />
|
<SubtitleProfiles>
|
||||||
|
<SubtitleProfile format="srt" method="Embed" />
|
||||||
|
</SubtitleProfiles>
|
||||||
</Profile>
|
</Profile>
|
|
@ -110,5 +110,7 @@
|
||||||
<Conditions />
|
<Conditions />
|
||||||
</ResponseProfile>
|
</ResponseProfile>
|
||||||
</ResponseProfiles>
|
</ResponseProfiles>
|
||||||
<SubtitleProfiles />
|
<SubtitleProfiles>
|
||||||
|
<SubtitleProfile format="srt" method="Embed" />
|
||||||
|
</SubtitleProfiles>
|
||||||
</Profile>
|
</Profile>
|
|
@ -117,5 +117,7 @@
|
||||||
<Conditions />
|
<Conditions />
|
||||||
</ResponseProfile>
|
</ResponseProfile>
|
||||||
</ResponseProfiles>
|
</ResponseProfiles>
|
||||||
<SubtitleProfiles />
|
<SubtitleProfiles>
|
||||||
|
<SubtitleProfile format="srt" method="Embed" />
|
||||||
|
</SubtitleProfiles>
|
||||||
</Profile>
|
</Profile>
|
|
@ -50,5 +50,7 @@
|
||||||
<ContainerProfiles />
|
<ContainerProfiles />
|
||||||
<CodecProfiles />
|
<CodecProfiles />
|
||||||
<ResponseProfiles />
|
<ResponseProfiles />
|
||||||
<SubtitleProfiles />
|
<SubtitleProfiles>
|
||||||
|
<SubtitleProfile format="srt" method="Embed" />
|
||||||
|
</SubtitleProfiles>
|
||||||
</Profile>
|
</Profile>
|
Loading…
Reference in New Issue
Block a user