Jump to content

IChannel - searchable?


Go to solution Solved by Anthony Musgrove,

Recommended Posts

Anthony Musgrove
Posted (edited)

Hi all,

just a general question regarding implementing a channel.  I've implemented the channel using IChannel, and it works great.

 

I'd like to know if it were possible to include the Channel in the Emby Search engine.  I found the ISearchableChannel interface, however I've noticed it doesn't implement any functions.  I figured maybe it was ISupportsMediaProbe, that also doesn't implement anything.


If anyone has experience with Channel development and could shed some light that'd be great.  I basically want it searchable, so the user types something into the search box, and Emby queries my Channel (ie, a Search function within IChannel)

 

Maybe @chef has had some experience with this one.

Thankyou so much

Edited by Anthony.Musgrove
  • Solution
Anthony Musgrove
Posted

Nevermind, I figured this one out myself.  For anyone else wondering, IChannel automatically supports search functionality.  In my example, I found that it searched for the Media Items, not Folders.

 

Posted

The search function does not get routed to your plugin, but rather, once content is imported, then it will be handled by the core search.

Anthony Musgrove
Posted
9 hours ago, Luke said:

The search function does not get routed to your plugin, but rather, once content is imported, then it will be handled by the core search.

Thank you mate, makes a lot more sense now :)

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