Jump to content

IChannel - searchable?


Anthony Musgrove
Go to solution Solved by Anthony Musgrove,

Recommended Posts

Anthony Musgrove

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
Link to comment
Share on other sites

  • Solution
Anthony Musgrove

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.

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Anthony Musgrove
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 :)

Link to comment
Share on other sites

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