mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-23 06:00:47 +02:00
fix encoding escape quotes
This commit is contained in:
parent
fa62f163c6
commit
a31cc81487
|
@ -690,7 +690,7 @@ namespace MediaBrowser.Api.Playback
|
||||||
|
|
||||||
// TODO: Perhaps also use original_size=1920x800 ??
|
// TODO: Perhaps also use original_size=1920x800 ??
|
||||||
return string.Format("subtitles=filename='{0}'{1},setpts=PTS -{2}/TB",
|
return string.Format("subtitles=filename='{0}'{1},setpts=PTS -{2}/TB",
|
||||||
subtitlePath.Replace("'", "\\'").Replace('\\', '/').Replace(":/", "\\:/"),
|
subtitlePath.Replace('\\', '/').Replace("'", "\\'").Replace(":/", "\\:/"),
|
||||||
charsetParam,
|
charsetParam,
|
||||||
seconds.ToString(UsCulture));
|
seconds.ToString(UsCulture));
|
||||||
}
|
}
|
||||||
|
@ -698,7 +698,7 @@ namespace MediaBrowser.Api.Playback
|
||||||
var mediaPath = state.MediaPath ?? string.Empty;
|
var mediaPath = state.MediaPath ?? string.Empty;
|
||||||
|
|
||||||
return string.Format("subtitles='{0}:si={1}',setpts=PTS -{2}/TB",
|
return string.Format("subtitles='{0}:si={1}',setpts=PTS -{2}/TB",
|
||||||
mediaPath.Replace("'", "\\'").Replace('\\', '/').Replace(":/", "\\:/"),
|
mediaPath.Replace('\\', '/').Replace("'", "\\'").Replace(":/", "\\:/"),
|
||||||
state.InternalSubtitleStreamOffset.ToString(UsCulture),
|
state.InternalSubtitleStreamOffset.ToString(UsCulture),
|
||||||
seconds.ToString(UsCulture));
|
seconds.ToString(UsCulture));
|
||||||
}
|
}
|
||||||
|
|
|
@ -1453,5 +1453,6 @@
|
||||||
"ButtonReset": "Reset",
|
"ButtonReset": "Reset",
|
||||||
"OptionEnableExternalVideoPlayers": "Enable external video players",
|
"OptionEnableExternalVideoPlayers": "Enable external video players",
|
||||||
"ButtonUnlockGuide": "Unlock Guide",
|
"ButtonUnlockGuide": "Unlock Guide",
|
||||||
"LabelEnableFullScreen": "Enable fullscreen mode"
|
"LabelEnableFullScreen": "Enable fullscreen mode",
|
||||||
|
"LabelEnableChromecastAc3Passthrough": "Enable Chromecast AC3 Passthrough"
|
||||||
}
|
}
|
||||||
|
|
|
@ -597,11 +597,7 @@ namespace MediaBrowser.WebDashboard.Api
|
||||||
"syncactivity.js",
|
"syncactivity.js",
|
||||||
"thememediaplayer.js",
|
"thememediaplayer.js",
|
||||||
"useredit.js",
|
"useredit.js",
|
||||||
"userpassword.js",
|
"userprofilespage.js"
|
||||||
"userprofilespage.js",
|
|
||||||
"userparentalcontrol.js",
|
|
||||||
"userlibraryaccess.js",
|
|
||||||
"wizardstartpage.js"
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -120,6 +120,9 @@
|
||||||
<Content Include="dashboard-ui\css\materialize.css">
|
<Content Include="dashboard-ui\css\materialize.css">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
<Content Include="dashboard-ui\scripts\htmlmediarenderer.js">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
<Content Include="dashboard-ui\thirdparty\apiclient\localassetmanager.js">
|
<Content Include="dashboard-ui\thirdparty\apiclient\localassetmanager.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
|
Loading…
Reference in a new issue