chef 3744 Posted May 19, 2016 Share Posted May 19, 2016 I have looked though the interfaces for item meta change events, but can't seem to find any that raise events for when an item becomes favorited or liked. Any ideas where I can look? Link to comment Share on other sites More sharing options...
ebr 14863 Posted May 19, 2016 Share Posted May 19, 2016 That would be a UserData change. Link to comment Share on other sites More sharing options...
chef 3744 Posted May 20, 2016 Author Share Posted May 20, 2016 @@ebr Do you mean "UserDataChange" event under IServerEvents interface? Thanks in advance Link to comment Share on other sites More sharing options...
chef 3744 Posted May 21, 2016 Author Share Posted May 21, 2016 Doesn't seem to raise any event when user likes or dislikes a media item. Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted May 21, 2016 Share Posted May 21, 2016 https://github.com/MediaBrowser/Emby/wiki/Web-Socket It's "UserDataChanged" Link to comment Share on other sites More sharing options...
chef 3744 Posted May 22, 2016 Author Share Posted May 22, 2016 https://github.com/MediaBrowser/Emby/wiki/Web-Socket It's "UserDataChanged" You know, my plugin isn't loading the IServerEntryPoint class properly. That is where I call a derived class which holds my event handlers. I bet that is why I have been having so many issues... Thanks guys! I appreciate the extra help. Link to comment Share on other sites More sharing options...
chef 3744 Posted May 22, 2016 Author Share Posted May 22, 2016 Got it! Yes! Check each item in the userdatalist for like or favorite. Now I will attach this to only trailers, keep the trailer name I like and automatically aquire the movie when it is ready. (From a ligit source obviously) So wonderful! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now