mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 06:23:03 +03:00
Remove redundant ToString call for value types
This commit is contained in:
@@ -4382,7 +4382,7 @@ namespace Emby.Server.Implementations.Data
|
||||
|
||||
foreach (var videoType in query.VideoTypes)
|
||||
{
|
||||
videoTypes.Add("data like '%\"VideoType\":\"" + videoType.ToString() + "\"%'");
|
||||
videoTypes.Add("data like '%\"VideoType\":\"" + videoType + "\"%'");
|
||||
}
|
||||
|
||||
whereClauses.Add("(" + string.Join(" OR ", videoTypes) + ")");
|
||||
|
||||
@@ -424,7 +424,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
|
||||
if (request.MediaSource.AnalyzeDurationMs > 0)
|
||||
{
|
||||
analyzeDuration = "-analyzeduration " + (request.MediaSource.AnalyzeDurationMs * 1000).ToString();
|
||||
analyzeDuration = "-analyzeduration " + (request.MediaSource.AnalyzeDurationMs * 1000);
|
||||
}
|
||||
else if (!string.IsNullOrEmpty(ffmpegAnalyzeDuration))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user