mickle026 606 Posted February 9, 2022 Posted February 9, 2022 (edited) How do I get my plugin to appear here and be called as required (what interfaces do I need)? I cannot find any documentation on this. I am trying to add them all (Person,Movie,Series,Artist,MusicAlbum etc) but trying with Music Album first, it appears that interfacing incorrectly kills the server process and emby just exits , but I'm close now because I can get Song Metadata Provider to show, but I dont need that one as Emby shows nothing from it anyway - LOL! The Person Remote Interface appears to be Empty ?? So I tried this and it compiles and runs ok public partial class CustomProvider : IRemoteMetadataProvider<MusicAlbum, AlbumInfo> { public Task<IEnumerable<RemoteSearchResult>> GetSearchResults(AlbumInfo searchInfo, CancellationToken cancellationToken) { throw new NotImplementedException(); } Task<MetadataResult<MusicAlbum>> IRemoteMetadataProvider<MusicAlbum, AlbumInfo>.GetMetadata(AlbumInfo info, CancellationToken cancellationToken) { return GetMetadata(info, cancellationToken); } private Task<MetadataResult<MusicAlbum>> GetMetadata(AlbumInfo info, CancellationToken cancellationToken) { throw new NotImplementedException(); } } It does not appear in the Library settings, however if I do the same thing for song it does! IRemoteMetadataProvider<Audio, SongInfo> By Using MusicAlbum or MusicArtist they are not showing IRemoteMetadataProvider<MusicArtist, ArtistInfo> IRemoteMetadataProvider<MusicAlbum, AlbumInfo> Please advise on what I need to do to get them to show here, thanks. Edited February 9, 2022 by mickle026
Luke 40116 Posted February 10, 2022 Posted February 10, 2022 People will never show up there, so that's expected, just fyi.
mickle026 606 Posted February 10, 2022 Author Posted February 10, 2022 (edited) 2 hours ago, Luke said: People will never show up there, so that's expected, just fyi. I cannot get any to show in metadata other than song.. What do i need to get Music Album and Artist, Movie etc to show? Edited February 10, 2022 by mickle026
mickle026 606 Posted March 2, 2022 Author Posted March 2, 2022 (edited) 4 hours ago, Luke said: It could be because you did a partial class. Figured it out, the partial class isn't the problem, its ok to split the class over several files. It was a typo, yes ! as silly as that! - that the debugger wasn't underlining! I was on the right track with the code. Thank you Edited March 2, 2022 by mickle026
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