mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 06:17:14 -04:00
fix trailer metadata
This commit is contained in:
parent
e74cf20705
commit
e78565491a
@ -30,8 +30,8 @@ namespace MediaBrowser.Dlna.Profiles
|
|||||||
MaxIconWidth = 48;
|
MaxIconWidth = 48;
|
||||||
MaxIconHeight = 48;
|
MaxIconHeight = 48;
|
||||||
|
|
||||||
MaxStreamingBitrate = 15000000;
|
MaxStreamingBitrate = 20000000;
|
||||||
MaxStaticBitrate = 15000000;
|
MaxStaticBitrate = 20000000;
|
||||||
MusicStreamingTranscodingBitrate = 192000;
|
MusicStreamingTranscodingBitrate = 192000;
|
||||||
MusicSyncBitrate = 192000;
|
MusicSyncBitrate = 192000;
|
||||||
|
|
||||||
|
@ -30,6 +30,7 @@ namespace MediaBrowser.Providers.MediaInfo
|
|||||||
ICustomMetadataProvider<Movie>,
|
ICustomMetadataProvider<Movie>,
|
||||||
ICustomMetadataProvider<LiveTvVideoRecording>,
|
ICustomMetadataProvider<LiveTvVideoRecording>,
|
||||||
ICustomMetadataProvider<LiveTvAudioRecording>,
|
ICustomMetadataProvider<LiveTvAudioRecording>,
|
||||||
|
ICustomMetadataProvider<Trailer>,
|
||||||
ICustomMetadataProvider<Video>,
|
ICustomMetadataProvider<Video>,
|
||||||
ICustomMetadataProvider<Audio>,
|
ICustomMetadataProvider<Audio>,
|
||||||
IHasItemChangeMonitor,
|
IHasItemChangeMonitor,
|
||||||
@ -77,6 +78,11 @@ namespace MediaBrowser.Providers.MediaInfo
|
|||||||
return FetchVideoInfo(item, options, cancellationToken);
|
return FetchVideoInfo(item, options, cancellationToken);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Task<ItemUpdateType> FetchAsync(Trailer item, MetadataRefreshOptions options, CancellationToken cancellationToken)
|
||||||
|
{
|
||||||
|
return FetchVideoInfo(item, options, cancellationToken);
|
||||||
|
}
|
||||||
|
|
||||||
public Task<ItemUpdateType> FetchAsync(Video item, MetadataRefreshOptions options, CancellationToken cancellationToken)
|
public Task<ItemUpdateType> FetchAsync(Video item, MetadataRefreshOptions options, CancellationToken cancellationToken)
|
||||||
{
|
{
|
||||||
return FetchVideoInfo(item, options, cancellationToken);
|
return FetchVideoInfo(item, options, cancellationToken);
|
||||||
|
Loading…
Reference in New Issue
Block a user