bakes82 167 Posted June 26, 2024 Posted June 26, 2024 Features: Automatic Collection Creation: Sync your Trakt lists directly into Emby collections effortlessly. Scheduled Syncing: Sync process is handled via a scheduled task with a unified schedule for all lists. User-friendly Interface: Easy setup and configuration within Emby. Activity Notifications: See run results on the dashboard activities How It Works: Enter Your Trakt API ClientId: Use your Trakt API clientId to allow the plugin to access the lists. (Go to https://trakt.tv/oauth/applications/new and create a new app. Use the default redirect uri of: urn:ietf:wg:oauth:2.0:oob) Configure Collections: Use the intuitive interface to set up your collections. Display Name: Specify the name of the collection. Trakt List URI: Enter the URI of the list from the Trakt website. Item Type: Select the type of items in the list (e.g., Movies). Library Selection: Choose which Emby library to add the collection to. Create multiple entries per library if you keep separate libraries EX 4k. After initial setup under scheduled tasks run the Creation Collections tasks, edit/modify schedule, set for 12hrs by default. Version 2024.6.26.1 Emby.TraktListCollections.dll 2 2
rbjtech 5284 Posted June 26, 2024 Posted June 26, 2024 (edited) I've only had time for a quick look and only created a collection based from the example URL given. I'll give it a proper test over the next few days. I'm looking forward to this .. well done for getting this out the door ! A quick bit of feedback for my OCD (lol), can you log entries with a filterable class ('TraktListCollections' etc) rather than 'App' so I can easily follow what it's doing in the logs ? Thanks ! Edited June 26, 2024 by rbjtech
bakes82 167 Posted June 26, 2024 Author Posted June 26, 2024 2 hours ago, rbjtech said: A quick bit of feedback for my OCD (lol), can you log entries with a filterable class ('TraktListCollections' etc) rather than 'App' so I can easily follow what it's doing in the logs ? I pass in a name to the logManager, now if their method needs a specific format it doesn't say or throw error, IE no space then Ids assume it should be able to handle that: 1
rbjtech 5284 Posted June 27, 2024 Posted June 27, 2024 10 hours ago, bakes82 said: I pass in a name to the logManager, now if their method needs a specific format it doesn't say or throw error, IE no space then Ids assume it should be able to handle that: I've always used Log = logManager.GetLogger(Plugin.Instance.Name); So the class would be the name of the Plugin - "Trakt List to Collections" in this case - so that is perfectly fine. Thanks for putting this together - I'll do some more testing today.
bakes82 167 Posted June 27, 2024 Author Posted June 27, 2024 5 hours ago, rbjtech said: I've always used Log = logManager.GetLogger(Plugin.Instance.Name); So the class would be the name of the Plugin - "Trakt List to Collections" in this case - so that is perfectly fine. Thanks for putting this together - I'll do some more testing today. So this is their new plugin sdk format, I passed in “test” and it still came out as “app” in the logs I’ll see if I create a new logger in the working class if sets the name instead of DI it.
rbjtech 5284 Posted June 27, 2024 Posted June 27, 2024 1 hour ago, bakes82 said: So this is their new plugin sdk format, I passed in “test” and it still came out as “app” in the logs I’ll see if I create a new logger in the working class if sets the name instead of DI it. Hmm ok - thanks - the TaskManager shows when this task is being run and your subsequent logging is good - so no worries if it's hassle
bakes82 167 Posted June 27, 2024 Author Posted June 27, 2024 1 hour ago, rbjtech said: Hmm ok - thanks - the TaskManager shows when this task is being run and your subsequent logging is good - so no worries if it's hassle It’s possible I didn’t pass the logger thru or something but then I would assume it wouldn’t work but I’ll take a check later. It should also be be logging errors to the activity section as well as what it found/didnt. I wanted to make it a bit more self sufficient from ui so people aren’t like it didn’t find xyz. 1
rbjtech 5284 Posted June 27, 2024 Posted June 27, 2024 39 minutes ago, bakes82 said: It’s possible I didn’t pass the logger thru or something but then I would assume it wouldn’t work but I’ll take a check later. It should also be be logging errors to the activity section as well as what it found/didnt. I wanted to make it a bit more self sufficient from ui so people aren’t like it didn’t find xyz. Nice idea - I've never actually seen the Activity list being used for anything beyond 'user' activity - So showing a Collection was sucessfully Refreshed 12 hours ago would be a nice thing to add.
bakes82 167 Posted June 27, 2024 Author Posted June 27, 2024 46 minutes ago, rbjtech said: Nice idea - I've never actually seen the Activity list being used for anything beyond 'user' activity - So showing a Collection was sucessfully Refreshed 12 hours ago would be a nice thing to add. It should already do that. It’s just listed as created. It’s deleting the collection and then recreating every time to save the overhead of parsing the records to remove old and add new. I’m sure there is more logic that could be added like to not delete so custom images could be set but those are things I’m more like meh about. There’s also suppose to be better ways to do the ui for adding the collection options like a wizard but I asked for those samples almost a year ago now and they haven’t provided how the other page types work because that would simply some of the drop downs and I could filter the list and remove the type. But the new framework is all c# based no js. 1
bakes82 167 Posted June 27, 2024 Author Posted June 27, 2024 Version 2024.06.27.2 Added logger name since plugin logger isn't passed into the sched task Emby.TraktListCollections.dll 2
rbjtech 5284 Posted June 28, 2024 Posted June 28, 2024 (edited) 11 hours ago, bakes82 said: Version 2024.06.27.2 Added logger name since plugin logger isn't passed into the sched task Emby.TraktListCollections.dll Working great - thanks Activity feed is great ! What emby c# function are you using to write this ? (ping me via pm if that's ok as I don't want to derail this thread) Edited June 28, 2024 by rbjtech
bakes82 167 Posted June 28, 2024 Author Posted June 28, 2024 10 hours ago, rbjtech said: Working great - thanks Activity feed is great ! What emby c# function are you using to write this ? (ping me via pm if that's ok as I don't want to derail this thread) You want the code for the activity feed entry? You just inject the IActivityManager and use the create method. I just wrap the stuff in pre/code but I guess you could style the html if you really wanted. I assume the rest of the code you can figure out, rest call to get list items, parse list items via library using tvdb/imdb ids, create collection, nothings super magical. I have another version that does the same thing but for MDBLists. _activityManager.Create(new ActivityLogEntry { Name = $"Collection {collection.CollectionName} Created for Library {collection.Libraries.Single(x => x.Value == collection.LibraryId).Name}", Overview = $"<pre><code>{log}</code></pre>", ShortOverview = $"Trakt List has {listData.Count} items. Emby found {foundItems.Count} items", Type = "TraktCollectionCreated", ItemId = createdCollection.InternalId.ToString(), Date = DateTimeOffset.Now, UserId = adminUser.InternalId.ToString(), Severity = LogSeverity.Info }); 1
sh0rty 714 Posted June 29, 2024 Posted June 29, 2024 (edited) Currently on Server version 4.8.8.0 and tried plugin version ..27.1 and ...27.2. For some reason, the plugin does not find movies on my server, even there are plenty of movies in the library that belong to the lists. I also have not activity entry. 2024-06-29 22:44:22.378 Info TaskManager: Executing Create Collections From Trakt Lists 2024-06-29 22:44:22.392 Info HttpClient: GET https://api.trakt.tv/users/justin/lists/imdb-top-rated-movies/items/movie 2024-06-29 22:44:22.815 Info TraktListCollectionsCreateCollectionsTask: Count of Trakt list items = 250 2024-06-29 22:44:22.816 Info TraktListCollectionsCreateCollectionsTask: No items found in library id 3358 for type of Movie 2024-06-29 22:44:22.816 Info HttpClient: GET https://api.trakt.tv/users/thefork/lists/academy-awards-best-picture-winners/items/movie 2024-06-29 22:44:22.974 Info TraktListCollectionsCreateCollectionsTask: Count of Trakt list items = 96 2024-06-29 22:44:22.975 Info TraktListCollectionsCreateCollectionsTask: No items found in library id 3358 for type of Movie 2024-06-29 22:44:22.975 Info TaskManager: Create Collections From Trakt Lists Completed after 0 minute(s) and 0 seconds Edited June 29, 2024 by shorty1483
sh0rty 714 Posted June 30, 2024 Posted June 30, 2024 (edited) For some reason, it works for series and other mixed content libraries. Just my movie library's not working. It's a clean movie library, no mixed content. Edited June 30, 2024 by shorty1483
zerodayz 8 Posted June 30, 2024 Posted June 30, 2024 Getting the same issue as @shorty1483no movies found in (new) Movies library: 2024-06-30 18:08:41.657 Info HttpClient: GET https://api.trakt.tv/users/donxy/lists/marvel-cinematic-universe/items/movie 2024-06-30 18:08:41.784 Info TraktListCollectionsCreateCollectionsTask: Count of Trakt list items = 49 2024-06-30 18:08:41.814 Info TraktListCollectionsCreateCollectionsTask: No items found in library id 2 for type of Movie 2024-06-30 18:08:41.814 Info TaskManager: Create Collections From Trakt Lists Completed after 0 minute(s) and 0 seconds 1
bakes82 167 Posted July 1, 2024 Author Posted July 1, 2024 @shorty1483@zerodayz I updated some logic not sure if it was your issue, but you might need to delete the collection in the plugin if you recreated the library with the same name, as the Ids would have changed, but I removed the logic that was filtering down the library by type to optimize some of the db calls especially if people want to run multiple lists on the same library. 2024.07.01.1 Updated lookup logic to remove type, cached results Emby.TraktListCollections.dll 1
sh0rty 714 Posted July 1, 2024 Posted July 1, 2024 (edited) 1 hour ago, bakes82 said: @shorty1483@zerodayz I updated some logic not sure if it was your issue, but you might need to delete the collection in the plugin if you recreated the library with the same name, as the Ids would have changed, but I removed the logic that was filtering down the library by type to optimize some of the db calls especially if people want to run multiple lists on the same library. 2024.07.01.1 Updated lookup logic to remove type, cached results Emby.TraktListCollections.dll 133 kB · 1 download Okay. One step further. I removed the plugin and the plugin json. Deleted generated TV show collections (since this is working) and installed + set up plugin from scratch. Now it scans for the titles in the trakt list. But it does not find any matches, although plenty of matching movies are in the library. Example: First log entry tt0111161 = Shawshank Redemption There are many more false negatives since I got a lot of the IMDB TOP100 movies. 2024-07-01 06:37:12.232 Info TaskManager: Executing Create Collections From Trakt Lists 2024-07-01 06:37:12.245 Info TraktListCollectionsCreateCollectionsTask: Library Filme ID: 3358 Type: movies 2024-07-01 06:37:12.246 Info HttpClient: GET https://api.trakt.tv/users/justin/lists/imdb-top-rated-movies/items/movie 2024-07-01 06:37:12.706 Info TraktListCollectionsCreateCollectionsTask: Count of Trakt list items = 250 2024-07-01 06:37:12.738 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0111161 2024-07-01 06:37:12.738 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0068646 2024-07-01 06:37:12.738 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0468569 2024-07-01 06:37:12.738 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0071562 2024-07-01 06:37:12.738 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0050083 2024-07-01 06:37:12.739 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0108052 2024-07-01 06:37:12.739 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0167260 2024-07-01 06:37:12.739 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0110912 2024-07-01 06:37:12.739 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0120737 2024-07-01 06:37:12.739 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0060196 2024-07-01 06:37:12.739 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0109830 2024-07-01 06:37:12.739 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0167261 2024-07-01 06:37:12.739 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0137523 2024-07-01 06:37:12.739 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt1375666 2024-07-01 06:37:12.739 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0080684 2024-07-01 06:37:12.740 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0133093 2024-07-01 06:37:12.740 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0099685 2024-07-01 06:37:12.740 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0073486 2024-07-01 06:37:12.740 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0114369 2024-07-01 06:37:12.740 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0816692 2024-07-01 06:37:12.740 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0038650 2024-07-01 06:37:12.740 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0047478 2024-07-01 06:37:12.740 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0102926 2024-07-01 06:37:12.740 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0120815 2024-07-01 06:37:12.740 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0317248 2024-07-01 06:37:12.740 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0118799 2024-07-01 06:37:12.740 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0120689 2024-07-01 06:37:12.741 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0103064 2024-07-01 06:37:12.741 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0076759 2024-07-01 06:37:12.741 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0088763 2024-07-01 06:37:12.741 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0245429 2024-07-01 06:37:12.741 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0253474 2024-07-01 06:37:12.741 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt15239678 2024-07-01 06:37:12.741 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt6751668 2024-07-01 06:37:12.741 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0054215 2024-07-01 06:37:12.741 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0172495 2024-07-01 06:37:12.741 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt9362722 2024-07-01 06:37:12.741 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0110357 2024-07-01 06:37:12.742 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0407887 2024-07-01 06:37:12.742 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0110413 2024-07-01 06:37:12.742 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0120586 2024-07-01 06:37:12.742 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt2582802 2024-07-01 06:37:12.742 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0482571 2024-07-01 06:37:12.742 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0095327 2024-07-01 06:37:12.742 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0056058 2024-07-01 06:37:12.742 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0114814 2024-07-01 06:37:12.742 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0034583 2024-07-01 06:37:12.742 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt1675434 2024-07-01 06:37:12.742 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0095765 2024-07-01 06:37:12.743 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0027977 2024-07-01 06:37:12.743 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0047396 2024-07-01 06:37:12.743 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0064116 2024-07-01 06:37:12.743 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0078748 2024-07-01 06:37:12.743 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0021749 2024-07-01 06:37:12.743 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt1853728 2024-07-01 06:37:12.743 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0078788 2024-07-01 06:37:12.743 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0209144 2024-07-01 06:37:12.743 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0910970 2024-07-01 06:37:12.743 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt23849204 2024-07-01 06:37:12.743 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0082971 2024-07-01 06:37:12.743 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0405094 2024-07-01 06:37:12.744 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0043014 2024-07-01 06:37:12.744 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt4154756 2024-07-01 06:37:12.744 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0050825 2024-07-01 06:37:12.744 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt4633694 2024-07-01 06:37:12.744 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0051201 2024-07-01 06:37:12.744 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0081505 2024-07-01 06:37:12.744 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0032553 2024-07-01 06:37:12.744 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0090605 2024-07-01 06:37:12.744 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0361748 2024-07-01 06:37:12.744 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt1345836 2024-07-01 06:37:12.744 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt2380307 2024-07-01 06:37:12.745 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0057012 2024-07-01 06:37:12.745 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0364569 2024-07-01 06:37:12.745 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0086879 2024-07-01 06:37:12.745 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0169547 2024-07-01 06:37:12.745 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0114709 2024-07-01 06:37:12.745 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt4154796 2024-07-01 06:37:12.745 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0082096 2024-07-01 06:37:12.745 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0112573 2024-07-01 06:37:12.745 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0119217 2024-07-01 06:37:12.745 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0119698 2024-07-01 06:37:12.746 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt7286456 2024-07-01 06:37:12.746 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt5311514 2024-07-01 06:37:12.746 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0057565 2024-07-01 06:37:12.747 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0087843 2024-07-01 06:37:12.747 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt1187043 2024-07-01 06:37:12.747 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0045152 2024-07-01 06:37:12.747 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt8267604 2024-07-01 06:37:12.747 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0091251 2024-07-01 06:37:12.747 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0180093 2024-07-01 06:37:12.747 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0435761 2024-07-01 06:37:12.747 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0086190 2024-07-01 06:37:12.747 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0338013 2024-07-01 06:37:12.747 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt2106476 2024-07-01 06:37:12.747 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0062622 2024-07-01 06:37:12.748 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0105236 2024-07-01 06:37:12.748 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0044741 2024-07-01 06:37:12.748 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt15398776 2024-07-01 06:37:12.748 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0056172 2024-07-01 06:37:12.748 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0053604 2024-07-01 06:37:12.748 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt1255953 2024-07-01 06:37:12.748 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0053125 2024-07-01 06:37:12.748 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0033467 2024-07-01 06:37:12.748 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0022100 2024-07-01 06:37:12.748 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0086250 2024-07-01 06:37:12.748 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0036775 2024-07-01 06:37:12.749 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0052357 2024-07-01 06:37:12.749 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0093058 2024-07-01 06:37:12.749 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0211915 2024-07-01 06:37:12.749 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0113277 2024-07-01 06:37:12.749 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt1049413 2024-07-01 06:37:12.749 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0066921 2024-07-01 06:37:12.749 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0056592 2024-07-01 06:37:12.749 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt1832382 2024-07-01 06:37:12.749 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0070735 2024-07-01 06:37:12.749 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0097576 2024-07-01 06:37:12.749 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0095016 2024-07-01 06:37:12.750 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0986264 2024-07-01 06:37:12.750 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0017136 2024-07-01 06:37:12.750 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0208092 2024-07-01 06:37:12.750 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt8579674 2024-07-01 06:37:12.750 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0119488 2024-07-01 06:37:12.750 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0040522 2024-07-01 06:37:12.750 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt8503618 2024-07-01 06:37:12.750 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0075314 2024-07-01 06:37:12.750 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0363163 2024-07-01 06:37:12.750 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt5074352 2024-07-01 06:37:12.750 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0059578 2024-07-01 06:37:12.751 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0372784 2024-07-01 06:37:12.751 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0993846 2024-07-01 06:37:12.751 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0053291 2024-07-01 06:37:12.751 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt6966692 2024-07-01 06:37:12.751 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0012349 2024-07-01 06:37:12.751 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt10272386 2024-07-01 06:37:12.751 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0055031 2024-07-01 06:37:12.751 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0120382 2024-07-01 06:37:12.751 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0042192 2024-07-01 06:37:12.751 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt1130884 2024-07-01 06:37:12.751 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt1745960 2024-07-01 06:37:12.752 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0469494 2024-07-01 06:37:12.752 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0112641 2024-07-01 06:37:12.752 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0107290 2024-07-01 06:37:12.752 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0089881 2024-07-01 06:37:12.752 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0167404 2024-07-01 06:37:12.752 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0457430 2024-07-01 06:37:12.752 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0105695 2024-07-01 06:37:12.752 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0477348 2024-07-01 06:37:12.752 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0268978 2024-07-01 06:37:12.753 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0084787 2024-07-01 06:37:12.753 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0266697 2024-07-01 06:37:12.753 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0040897 2024-07-01 06:37:12.753 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0055630 2024-07-01 06:37:12.753 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0071853 2024-07-01 06:37:12.753 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0057115 2024-07-01 06:37:12.753 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0266543 2024-07-01 06:37:12.753 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt1392214 2024-07-01 06:37:12.753 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0347149 2024-07-01 06:37:12.754 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0042876 2024-07-01 06:37:12.754 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0080678 2024-07-01 06:37:12.754 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0046912 2024-07-01 06:37:12.754 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0071315 2024-07-01 06:37:12.754 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0031381 2024-07-01 06:37:12.754 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0120735 2024-07-01 06:37:12.754 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0434409 2024-07-01 06:37:12.754 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt1305806 2024-07-01 06:37:12.755 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt2096673 2024-07-01 06:37:12.755 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0081398 2024-07-01 06:37:12.755 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt5027774 2024-07-01 06:37:12.755 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0117951 2024-07-01 06:37:12.755 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0050212 2024-07-01 06:37:12.755 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt4729430 2024-07-01 06:37:12.755 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0116282 2024-07-01 06:37:12.755 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0264464 2024-07-01 06:37:12.756 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt10872600 2024-07-01 06:37:12.756 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt1291584 2024-07-01 06:37:12.756 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt1205489 2024-07-01 06:37:12.756 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt1201607 2024-07-01 06:37:12.756 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0096283 2024-07-01 06:37:12.756 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0405159 2024-07-01 06:37:12.756 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0118849 2024-07-01 06:37:12.756 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt2024544 2024-07-01 06:37:12.756 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0052618 2024-07-01 06:37:12.756 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0083658 2024-07-01 06:37:12.756 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0112471 2024-07-01 06:37:12.757 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0072684 2024-07-01 06:37:12.757 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt2278388 2024-07-01 06:37:12.757 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt1392190 2024-07-01 06:37:12.757 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt2267998 2024-07-01 06:37:12.757 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt2119532 2024-07-01 06:37:12.757 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0097165 2024-07-01 06:37:12.757 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0015864 2024-07-01 06:37:12.757 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0107207 2024-07-01 06:37:12.758 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0353969 2024-07-01 06:37:12.758 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt3011894 2024-07-01 06:37:12.758 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0198781 2024-07-01 06:37:12.758 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0077416 2024-07-01 06:37:12.758 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0017925 2024-07-01 06:37:12.758 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0047296 2024-07-01 06:37:12.758 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0015324 2024-07-01 06:37:12.758 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0892769 2024-07-01 06:37:12.759 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0073195 2024-07-01 06:37:12.759 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0978762 2024-07-01 06:37:12.759 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0041959 2024-07-01 06:37:12.759 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0382932 2024-07-01 06:37:12.759 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0046268 2024-07-01 06:37:12.759 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0050986 2024-07-01 06:37:12.759 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0031679 2024-07-01 06:37:12.759 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt1950186 2024-07-01 06:37:12.759 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0046438 2024-07-01 06:37:12.759 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0118715 2024-07-01 06:37:12.760 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0075148 2024-07-01 06:37:12.760 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0050976 2024-07-01 06:37:12.760 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt3170832 2024-07-01 06:37:12.760 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt3315342 2024-07-01 06:37:12.760 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt1895587 2024-07-01 06:37:12.760 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0395169 2024-07-01 06:37:12.760 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0088247 2024-07-01 06:37:12.760 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0091763 2024-07-01 06:37:12.760 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0113247 2024-07-01 06:37:12.760 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0019254 2024-07-01 06:37:12.760 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0381681 2024-07-01 06:37:12.761 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0325980 2024-07-01 06:37:12.761 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0036868 2024-07-01 06:37:12.761 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt15097216 2024-07-01 06:37:12.761 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0070047 2024-07-01 06:37:12.761 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt1979320 2024-07-01 06:37:12.761 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0074958 2024-07-01 06:37:12.761 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0032138 2024-07-01 06:37:12.761 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0092005 2024-07-01 06:37:12.761 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0317705 2024-07-01 06:37:12.761 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt1028532 2024-07-01 06:37:12.762 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0059742 2024-07-01 06:37:12.762 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0476735 2024-07-01 06:37:12.762 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt4016934 2024-07-01 06:37:12.762 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0758758 2024-07-01 06:37:12.762 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0035446 2024-07-01 06:37:12.762 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0058946 2024-07-01 06:37:12.762 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0032551 2024-07-01 06:37:12.762 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0107048 2024-07-01 06:37:12.762 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0245712 2024-07-01 06:37:12.762 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0129167 2024-07-01 06:37:12.762 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0032976 2024-07-01 06:37:12.763 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0061512 2024-07-01 06:37:12.763 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt1454029 2024-07-01 06:37:12.763 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0025316 2024-07-01 06:37:12.763 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt4430212 2024-07-01 06:37:12.763 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0103639 2024-07-01 06:37:12.763 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0099348 2024-07-01 06:37:12.763 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt1954470 2024-07-01 06:37:12.764 Info TaskManager: Create Collections From Trakt Lists Completed after 0 minute(s) and 0 seconds @zerodayz@rbjtechMore luck on your side for movie libraries? Edited July 1, 2024 by shorty1483
zerodayz 8 Posted July 1, 2024 Posted July 1, 2024 (edited) I'm seeing the same as above, it get's further, but same error with not finding items, I do also have these items in the lib. Checked the first title, for example tt0458339 it exists, has valid metadata and has the IMDB tag matching the log. 2024-07-01 11:12:53.403 Info TaskManager: Executing Create Collections From Trakt Lists 2024-07-01 11:12:53.403 Info TraktListCollectionsCreateCollectionsTask: Library Movies ID: 2 Type: movies 2024-07-01 11:12:53.403 Info HttpClient: GET https://api.trakt.tv/users/donxy/lists/marvel-cinematic-universe/items/movie 2024-07-01 11:12:53.517 Info TraktListCollectionsCreateCollectionsTask: Count of Trakt list items = 49 2024-07-01 11:12:55.627 Debug SqliteItemRepository: GetItemList query time (slow 6x): 2111ms. Query: select A.type,A.Id,A.StartDate,A.EndDate,A.IsMovie,A.IsSeries,A.IsKids,A.IsSports,A.IsNews,A.IsRepeat,A.IsNew,A.IsPremiere,A.IsLive,A.CommunityRating,A.CustomRating,A.IndexNumber,A.IsLocked,A.PreferredMetadataLanguage,A.PreferredMetadataCountryCode,A.Width,A.Height,A.DateLastRefreshed,A.Name,A.Path,A.PremiereDate,A.Overview,A.ParentIndexNumber,A.ProductionYear,A.OfficialRating,A.SortName,A.RunTimeTicks,A.Size,A.Container,A.DateCreated,A.DateModified,A.guid,A.ParentId,A.IsInMixedFolder,A.DateLastSaved,A.LockedFields,A.OriginalTitle,A.CriticRating,A.SeriesName,A.Album,A.AlbumId,A.SeriesId,A.PresentationUniqueKey,A.Tagline,A.ProviderIds,A.Images,A.ProductionLocations,A.TotalBitrate,A.ExtraType,A.ExternalId,A.SeriesPresentationUniqueKey,A.Status,A.DisplayOrder,A.ThreeDFormat,A.RemoteTrailers,A.SortIndexNumber,A.SortParentIndexNumber,A.IndexNumberEnd,A.IsPublic from MediaItems A where A.ParentId in (4,121312,180984,366566,420731,500716) AND A.ExtraType is null ORDER BY A.PremiereDate DESC,COALESCE(A.SeriesName,A.SortName) collate NATURALSORT ASC 2024-07-01 11:12:55.647 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt0458339 2024-07-01 11:12:55.666 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt3067038 <<<<Snip>>>> 2024-07-01 11:12:56.435 Info TraktListCollectionsCreateCollectionsTask: NOT Found Item tt16357306 2024-07-01 11:12:56.436 Info TaskManager: Create Collections From Trakt Lists Completed after 0 minute(s) and 3 seconds I do have quite a large movies library, just in case it's overflowing an array somewhere... Thanks for working on this module btw, a great addition! Edited July 1, 2024 by zerodayz added more info
rbjtech 5284 Posted July 1, 2024 Posted July 1, 2024 (edited) Strange - mine is working fine even on the original release - Version 2024.06.27.2 I used the same Trakt list as the above example - it finds everything it should .. ? Same with MCU Collection above - zero issues... Edited July 1, 2024 by rbjtech
bakes82 167 Posted July 1, 2024 Author Posted July 1, 2024 @shorty1483@zerodayzHere is a quick debug version. It will log the number of items found, and then loop through them and output the title/path and imdb/tvdb. There is "Magic" in emby where the library id isnt referenceable on the media items itself from what I can tell, if you look at @zerodayzlog his movie id is 2 "Library Movies ID: 2". but in the slow query the parentIds are "A where A.ParentId in (4,121312,180984,366566,420731,500716)" but when I call the code it says give me the items for "2" and then behind the scenes I believe it then maps them to the collection of folders a library contains This is the code to get items in the library mediaItems = _libraryManager.GetItemList(new InternalItemsQuery { IsVirtualItem = false, ParentIds = new[] { long.Parse(collection.LibraryId) }, OrderBy = new[] { new ValueTuple<string, SortOrder>(ItemSortBy.PremiereDate, SortOrder.Descending), new ValueTuple<string, SortOrder>(ItemSortBy.SeriesSortNameOrSortName, SortOrder.Ascending) } }) .ToList(); 2024-07-02 00:53:50.487 Info TraktListCollectionsCreateCollectionsTask: Library Movies ID: 5 Type: movies 2024-07-02 00:53:50.488 Info HttpClient: GET https://api.trakt.tv/users/donxy/lists/marvel-cinematic-universe/items/movie 2024-07-02 00:53:50.642 Info TraktListCollectionsCreateCollectionsTask: Count of Trakt list items = 49 2024-07-02 00:53:50.984 Info TraktListCollectionsCreateCollectionsTask: Items found in library: 22232 2024-07-02 00:53:50.984 Info TraktListCollectionsCreateCollectionsTask: Title: Cheat /home/media/Movies/Cheat (2024) {imdb-tt28129069} {tmdb-1142414}/Cheat (2024) [WEBDL-1080p][EAC3 5.1][h264].mkv :: IMDB: tt28129069 - TVDB: I'm testing with 4.9.0.14, ~8k series and ~22k movies In the "configuration" folder is an xml file to delete that contains the config in case you didn't delete and want to try that. I don't "think" using a different language should cause issues since @shorty1483 seems to be using French. Debug version - Updated emby nugets to 4.8.5 from 4.8.2 (Made no diff in my test) Added extra logging to see what items are being selected. Emby.TraktListCollections.dll 2
sh0rty 714 Posted July 1, 2024 Posted July 1, 2024 11 minutes ago, bakes82 said: @shorty1483@zerodayzHere is a quick debug version. It will log the number of items found, and then loop through them and output the title/path and imdb/tvdb. There is "Magic" in emby where the library id isnt referenceable on the media items itself from what I can tell, if you look at @zerodayzlog his movie id is 2 "Library Movies ID: 2". but in the slow query the parentIds are "A where A.ParentId in (4,121312,180984,366566,420731,500716)" but when I call the code it says give me the items for "2" and then behind the scenes I believe it then maps them to the collection of folders a library contains This is the code to get items in the library I'm testing with 4.9.0.14, ~8k series and ~22k movies In the "configuration" folder is an xml file to delete that contains the config in case you didn't delete and want to try that. I don't "think" using a different language should cause issues since @shorty1483 seems to be using French. Almost right. shorty speaks german, but is also a foreigner Send you the log via PM. I deleted the "Trakt Lists to Collections.json" in configurations folder before updating the dll to the latest version.
bakes82 167 Posted July 1, 2024 Author Posted July 1, 2024 @LukeWould there be any reason why a NFO wouldnt write the IMDBids to the database, but a series would? Logs show no Ids for Movies, but has Ids for Series, both NFOs look correct to me? Im just calling the GetProviderId method for the two types IMDB and TVDB foreach (var item in mediaItems) { _logger.Info($"Title: {item.Name} {item.Path} :: IMDB: {item.GetProviderId(MetadataProviders.Imdb)} - TVDB: {item.GetProviderId(MetadataProviders.Tvdb)}"); }
sh0rty 714 Posted July 1, 2024 Posted July 1, 2024 (edited) @bakes82 I don't know much about sqlite, but I opened a copy of library.db and it seems the IMDB and TMDB IDs are in the database also for movies. Movie: TV Show: Edited July 1, 2024 by shorty1483
bakes82 167 Posted July 1, 2024 Author Posted July 1, 2024 Yeah dunno since the code is used for both movies/series and it works in 4.9, maybe its a 4.8.8.0 issue but for movies only, but I also dont use NFOs, but we can see in your logs that it shows no Ids for movies and series work fine. 2024-07-01 19:32:50.732 Info TraktListCollectionsCreateCollectionsTask: Title: Pulp.Fiction.1994.German.DL.DTSHD.1080p.BluRay.AVC.Remux-iNCEPTiON \MOVIES\Pulp.Fiction.1994.German.DL.DTSHD.1080p.BluRay.AVC.Remux-iNCEPTiON :: IMDB: - TVDB: 2024-07-01 20:12:06.678 Info TraktListCollectionsCreateCollectionsTask: Title: Game of Thrones \SERIES\Game of Thrones :: IMDB: tt0944947 - TVDB: 121361 1
rbjtech 5284 Posted July 2, 2024 Posted July 2, 2024 13 hours ago, bakes82 said: Yeah dunno since the code is used for both movies/series and it works in 4.9, maybe its a 4.8.8.0 issue but for movies only, but I also dont use NFOs, but we can see in your logs No I'm using 4.8.8.0 - it's all working fine for me. @shorty1483- Do you know how to query via the API ? If yes, then do an API query using the emby id and add ProviderId's to the fields - do you get the ProviderId's in the output ? Given the post above from @bakes82- I suspect you will not - which is why it is not finding anything... curl -X 'GET' \ 'http://*:8096/emby/Items?Fields=ProviderIds&Ids=3542295&api_key=*' \ -H 'accept: application/json' Request URL http://*:8096/emby/Items?Fields=ProviderIds&Ids=3542295&api_key=* Server response Code Details 200 Response body Download { "Items": [ { "Name": "Pulp Fiction", "ServerId": "5f9c466f4ecc4319b1d48f55e311d249", "Id": "3542295", "RunTimeTicks": 92707200000, "ProviderIds": { "Tmdb": "680", "Imdb": "tt0110912", "Tvdb": "228", "eidr": "10.5240/85A7-0525-4BE4-4BD0-9B70-T", "Radarr": "680", "Wikipedia": "Pulp_Fiction" }, "IsFolder": false, "Type": "Movie", "ImageTags": { "Primary": "5d7f9aae95735a55c7e696df380d6a90", "Logo": "3595737c0f01b75290acff81e611ce38", "Thumb": "e69fc21be2da52f7e16c2184db4bd0bb" }, "BackdropImageTags": [ "39ca27e87ff651366492f89f6bee2c33" ], "MediaType": "Video" } ], "TotalRecordCount": 1 }
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