Angelblue05 4130 Posted November 13, 2019 Share Posted November 13, 2019 (edited) @@Luke How do I retrieve season with recursive true using the library id as a parent id? Folders with recursive true are ignored, if the media type is requested, shouldn't that get priority? Right now, with minlastdatesaved, it's impossible to get season folder update. Same thing for boxsets, it seems like. Please advise. Edited November 13, 2019 by Angelblue05 Link to comment Share on other sites More sharing options...
Luke 37132 Posted November 14, 2019 Share Posted November 14, 2019 Hi, sorry, can you explain more what you're trying to do? Are you trying to get a list of seasons from a TV library? 1 Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted November 14, 2019 Author Share Posted November 14, 2019 Hi, sorry, can you explain more what you're trying to do? Are you trying to get a list of seasons from a TV library? Thank you for your reply. I’m trying to fix the start up update with emby for kodi. I’ve been told season and boxsets don’t get updated at startup. I can’t figure out how to get them to return alongside movies, tvshows, episodes, music videos... when I make the call to get mindatelastsaved, I set recursive true to get episodes etc, but then even if I declare Season in the mediatype I wanted returned, because of recursive=true it is ignored. I don’t want to do several calls using the tvshow as parentid just to get the updated season folders. I’m not sure how to get the season and boxset that were updated, using mindatelastsaved... Link to comment Share on other sites More sharing options...
Luke 37132 Posted November 14, 2019 Share Posted November 14, 2019 Try season with IncludeItemTypes rather than MediaTypes. 1 Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted November 14, 2019 Author Share Posted November 14, 2019 (edited) Try season with IncludeItemTypes rather than MediaTypes.IncludeItemTypes is the one I was using and that’s a no go. I’ve just retested to make sure. With recursive true, looks like it’s set to take the folder and drill down further, ignoring that the season is requested in the results. Edited November 14, 2019 by Angelblue05 Link to comment Share on other sites More sharing options...
Luke 37132 Posted November 14, 2019 Share Posted November 14, 2019 Can you give an example url? Thanks. 1 Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted November 14, 2019 Author Share Posted November 14, 2019 (edited) Can you give an example url? Thanks. { "url": "http://{emby-server}/emby/Users/deb0746b55924969b59e7f1628d63933/Items", "params": { "IncludeItemTypes": "Series,Episode,BoxSet,Movie,MusicVideo,MusicArtist,MusicAlbum,Audio", "Recursive": true, "LocationTypes": "FileSystem,Remote,Offline", "Fields": "Path,Genres,SortName,Studios,Writer,Taglines,LocalTrailerCount,Video3DFormat,OfficialRating,CumulativeRunTimeTicks,ItemCounts,PremiereDate,ProductionYear,Metascore,AirTime,DateCreated,People,Overview,CommunityRating,StartDate,CriticRating,CriticRatingSummary,Etag,ShortOverview,ProductionLocations,Tags,ProviderIds,ParentId,RemoteTrailers,SpecialEpisodeNumbers,Status,EndDate,MediaSources,VoteCount,RecursiveItemCount,PrimaryImageAspectRatio,DisplayOrder,PresentationUniqueKey,OriginalTitle", "CollapseBoxSetItems": false, "Limit": 1, "IsMissing": false, "MinDateLastSavedForUser": "2019-11-14T02:59:19z", "SortOrder": "Ascending", "ParentId": "7e64e319657a9516ec78490da03edccb", "EnableTotalRecordCount": true, "IsVirtualUnaired": false, "SortBy": "SortName" } } This returns no results even if I updated a season folder with a new image. Edited November 14, 2019 by Angelblue05 Link to comment Share on other sites More sharing options...
Luke 37132 Posted November 14, 2019 Share Posted November 14, 2019 If you remove the MinDateLastSavedForUser param, do you get a result? Link to comment Share on other sites More sharing options...
Luke 37132 Posted November 14, 2019 Share Posted November 14, 2019 Ok I see, you have Series in IncludeItemTypes, but not Season. I would add Season into there. 1 Link to comment Share on other sites More sharing options...
Solution Angelblue05 4130 Posted November 14, 2019 Author Solution Share Posted November 14, 2019 Ok I see, you have Series in IncludeItemTypes, but not Season. I would add Season into there. Thank you so much, that was it. *hides in shame* It must have dropped at some point somehow and I didn't realize it. 1 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