Jump to content

Emby Trailers Bug


Recommended Posts

matt_ttam123
Posted (edited)

Hi,

 

Not sure if anyone has had the same issue, I was using the trailers plugin previously but wanted to move the trailers to my Emby folders so they are played locally rather than from Youtube, so I disabled the plugin and started adding trailers, though no movies would play any trailers, I was getting the error listed below.

2018-12-02 13:47:36.656 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 3.5.3.0
	Command line: /system/EmbyServer.dll -programdata /config -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
	Operating system: Unix 4.14.35.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 4
	Program data path: /config
	Application directory: /system
	MediaBrowser.Common.Extensions.ResourceNotFoundException: No channel provider found for channel id 28b5d5b8-bef4-bd1f-1914-503b5c11ac91
	   at Emby.Server.Implementations.Channels.ChannelManager.GetChannelProvider(Guid internalChannelId)
	   at Emby.Server.Implementations.Channels.ChannelManager.SupportsExternalTransfer(Guid channelId)
	   at Emby.Server.Implementations.Dto.DtoService.AttachUserSpecificInfo(BaseItemDto dto, BaseItem item, User user, DtoOptions options)
	   at Emby.Server.Implementations.Dto.DtoService.GetBaseItemDtoInternal(BaseItem item, DtoOptions options, List`1 allCollectionFolders, User user, BaseItem owner)
	   at Emby.Server.Implementations.Dto.DtoService.GetBaseItemDto(BaseItem item, DtoOptions options, User user, BaseItem owner)
	   at System.Linq.Enumerable.SelectIPartitionIterator`2.LazyToArray()
	   at System.Linq.Enumerable.SelectIPartitionIterator`2.ToArray()
	   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
	   at MediaBrowser.Api.UserLibrary.UserLibraryService.Get(GetLocalTrailers request)
	   at Emby.Server.Implementations.Services.ServiceExecGeneral.Execute(Type serviceType, IRequest request, Object instance, Object requestDto, String requestName)
	   at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IHttpRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken)
	MediaBrowser.Common.Extensions.ResourceNotFoundException
	   at Emby.Server.Implementations.Channels.ChannelManager.GetChannelProvider(Guid internalChannelId)
	   at Emby.Server.Implementations.Channels.ChannelManager.SupportsExternalTransfer(Guid channelId)
	   at Emby.Server.Implementations.Dto.DtoService.AttachUserSpecificInfo(BaseItemDto dto, BaseItem item, User user, DtoOptions options)
	   at Emby.Server.Implementations.Dto.DtoService.GetBaseItemDtoInternal(BaseItem item, DtoOptions options, List`1 allCollectionFolders, User user, BaseItem owner)
	   at Emby.Server.Implementations.Dto.DtoService.GetBaseItemDto(BaseItem item, DtoOptions options, User user, BaseItem owner)
	   at System.Linq.Enumerable.SelectIPartitionIterator`2.LazyToArray()
	   at System.Linq.Enumerable.SelectIPartitionIterator`2.ToArray()
	   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
	   at MediaBrowser.Api.UserLibrary.UserLibraryService.Get(GetLocalTrailers request)
	   at Emby.Server.Implementations.Services.ServiceExecGeneral.Execute(Type serviceType, IRequest request, Object instance, Object requestDto, String requestName)
	   at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IHttpRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken)

Turns out the NFO file had references to the trailers

<movie>
  <plot>Debbie Ocean, a criminal mastermind, gathers a crew of seven other female thieves to pull off the heist of the century at New York's annual Met Gala.</plot>
  <outline>Every con has its pros</outline>
  <lockdata>false</lockdata>
  <dateadded>2018-08-21 12:49:25</dateadded>
  <title>Ocean's Eight</title>
  <originaltitle>Ocean's Eight</originaltitle>
  <director>Gary Ross</director>
  <trailer>plugin://plugin.video.youtube/?action=play_video&videoid=MFWF9dU5Zc0</trailer>
  <trailer>plugin://plugin.video.youtube/?action=play_video&videoid=n5LoVcVsiSQ</trailer>
  <trailer>plugin://plugin.video.youtube/?action=play_video&videoid=QerVvvNem1w</trailer>
  <rating>6.4</rating>
  <year>2018</year>
ETC

It seems that its still trying to play it through the plugin but it is no longer installed so it fails and does nothing instead of looking for the local folders, what would be the best way to fix this so I can use local trailers now?

Edited by matt_ttam123
Posted

Hi, have you tried running a library scan?

matt_ttam123
Posted

Yeah I have multiple times, I ended up fixing it by removing my library.db file backing up my settings generating a new file and then restoring everything except plugins.

Posted

Thanks for the feedback.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...