Jump to content

Support Non-Youtube Remote trailer urls


Recommended Posts

xjasonlyu
Posted

Hi,

I have a custom movie metadata provider plugin, everything works like a charm except the trailer. The plugin adds either mp4 or m3u8 type URL to the RemoteTrailer variable array of the MetadataResult.

However, when I try to play a trailer, I constantly get an error of No compatible streams are currently available. Please try again later or contact your system administrator for details.

It's kind of confusing and I thought it might be the trailer video source's issue, so I open the emby library.db file and find the trailer link, then I open it in my browser and it turns out the link is valid. Also, I noticed that all the trailers used by Emby provider are Youtube links, they are neither mp4 nor m3u8 links. 

So I wonder why this trailer feature doesn't work even if the provided trailer url works. And what's the correct type of trailer url/link is supported by Emby.

  • Agree 2
Posted

Hi, I'll have to review but I think right now those are pretty much hardcoded to work with YouTube urls only.

  • Like 1
xjasonlyu
Posted

I see, and is there any chance to add plain mp4/m3u8 link for trailer in the future?

Posted

Yes that sounds reasonable.

  • Like 1
xjasonlyu
Posted

Great!

Do I need to start a new feature request topic for this? Can’t wait!

  • 2 weeks later...
Posted
On 5/18/2022 at 11:06 PM, xjasonlyu said:

Great!

Do I need to start a new feature request topic for this? Can’t wait!

I'll move this to feature requests. Thanks.

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...