chef 3746 Posted February 26, 2022 Share Posted February 26, 2022 Using this: var result = LibraryManager.GetItemsResult(new InternalItemsQuery() { User = users[i], Recursive = true, IncludeItemTypes = new[] {nameof(Movie)} }); Then: foreach (var item in result.Items) { //streamWriter is upthere^^^ doesn't matter sw.WriteLine($"{user.Id},{ item.ProviderIds.FirstOrDefault(p => p.Key == ("Tmdb")).Value},{ (item.IsFavorite ? 1 : 0) }"); } Causes this: But, the provider data is there as shown in the swagger: Link to comment Share on other sites More sharing options...
Luke 37091 Posted February 26, 2022 Share Posted February 26, 2022 HI, it's just a type change. You'll need to recompile the plugin against a newer nuget package. This change might have been in 4.6 if i recall correctly, so if that's the case you can use a 4.6 nuget package and still target the stable server. if not then you'll have to target a 4.7 beta package. Link to comment Share on other sites More sharing options...
chef 3746 Posted February 26, 2022 Author Share Posted February 26, 2022 4 minutes ago, Luke said: HI, it's just a type change. You'll need to recompile the plugin against a newer nuget package. This change might have been in 4.6 if i recall correctly, so if that's the case you can use a 4.6 nuget package and still target the stable server. if not then you'll have to target a 4.7 beta package. Perfect! Many thanks! 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